自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

糯米糊糊的专栏

在这里风儿横行~~

  • 博客(4)
  • 资源 (2)
  • 收藏
  • 关注

原创 Nim 语言的web框架jester感觉像坨屎

看了jester的源码和写出来的web网站源码, 真的是另外一种习惯.给我一种屎一样的感觉.也许你要说我心里只有屎了, 我会说, 按照老子的说法, 屎也是蕴含有道理的.可能是用静态语言写web就是个傻逼的选择. 也许go语言更好点.

2015-12-12 10:13:20 4754 4

原创 Nim语言太复杂了

1, 不得不承认, nim语言的速度比python快了很多.2. nim需要关注的点太多了, 比如类型的定义, 类的方法和类脱离了, 字符串处理的不同之处, 另外就是macro和templates, 估计是拥有的特点都想让你掌握了.3. net库的dispatch, 还是不好掌握, 难.4. 学习的优雅比python差, 如果学了python再学nim, 简直是一不小心就掉坑里, 而且

2015-12-09 13:32:31 13281

原创 Nim语言字符串切片

Python中对字符串切片很方便.比如a="Hello world"a[1:5] 就是从第1个到第5个字符片段, (索引从0开始), ='ello', 长度=5-1a[2:4] 就是2至4个字符, a[2:4]='ll', 长度=4-2a[1:-2] 就是从第一个到倒数第2个字符,='ello wor'a[1:] 就是从第一个字符到尾部所有字符(这个nim语言不行)

2015-12-09 10:09:11 3267

原创 终于学会了在github上创建一个release、tag了

$ git push origin v0.1.0Counting objects: 1, done.Writing objects: 100% (1/1), 160 bytes | 0 bytes/s, done.Total 1 (delta 0), reused 0 (delta 0)To https://github.com/username/projectname.git * [n

2015-12-03 23:29:34 26878

Selenium IE WebDriver

Selenium IE WebDriver

2017-08-06

DDTCMS 0.2.3.pre.20090808

a CMS based on django 1.0,supported by Django Dream Team,created by huyoo353 on 2008-NOV-10. -------------------------------------------------------------------------------- ddtcms ver0.1一些说明: 取消了registration的整合,因为它在google code不弄了,我用了userprofile,功能更强 使用的photologue加了自动修改上传的图片名,采用时间和随机码 -------------------------------------------------------------------------------- ddtcms一些说明: 模板的css参考了聚友网http://www.ogo.cc/index.php 首页index.html的框架用了一点poco网的,最顶端的参考了QQ首页的横条。 模板使用我想让每个app自带模板 views很多没有写,大多用的是generic_views blog用了分页,news,article继承blog的entry对象 评论使用了django自带的comments http://127.0.0.1/sitemap.xml 有错误,因为django自带flatpage有问题 http://127.0.0.1/sitemap_blog.xml 可以用 整合了registration,profiles,django-forum,前两者主要是解决了一些模板的问题,就可以用了。以后要完善的就是mysite 的 member模块了。 模板标记中,因为django-forum使用了markdown,所以要下载和安装markdown。 另外,国际化页面,使用了gettext,请到sf下载安装 以上内容见docs/更新历史。txt 还有很多地方要完善,首先要完善的就是的blog中不能发图片,只有photo模块可以发图片,现在比较忙,以后在搞吧,嘿嘿 截图请到我的群相册中去看 我的群号码69930365,Django 梦之队,欢迎讨论时加入,是一个公开小群,来者不拒,上限100人。 代码去除了(.pyc) rar格式压缩,共计3.6M ,包含了网站截图和一些图片,还有一些参考资料,以及一些模板碎片 忘了说了我的django是1.0版本的 -------------------------------------------------------------------------------- 管理帐户/密码 admin/admin DDTCMS Summary: DDTCMS(Django Dream Team's Content Management System),is a CMS based on django 1.0,supported by Django Dream Team,created by huyoo353 on 2008-NOV-10. http://code.google.com/p/ddtcms/ admin u/p: admin/admin Requirements: * django 1.0 Django version 1.0 or greater. * PILThe Python Imaging Library,Source: http://www.pythonware.com/products/pil/ * markdown Markdown is a text-to-HTML conversion tool for web writers. http://daringfireball.net/projects/markdown/ * django-navbar Site navigation controlled from the django admin with: Navigation bar Navigation tree Chained Navigation bars JSON sub tree requests (comming soon) Permission control on which entries are seen http://code.google.com/p/django-wikiapp/ # django-wikiapp Django WikiApp is a pluggable application for Django that aims to provide a complete Wiki (for really small values of "complete") http://code.google.com/p/django-wikiapp/ # django-photologue # django-forum # django-tagging # django-pressroom # gettext Optional(needed when you use i18n tags in code or templates) # Google Data API Optional(allows image searching) Download it from http://code.google.com/p/gdata-python-client/ # django-profile http://code.google.com/p/django-profile/ This is a Django pluggable user profile zone which can be used and customized easily in your social application web platform developed in django. App Directory Structure: appname/ --templates/ ----appname/ --templatetags/

2009-11-26

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除