http://juicereceiver.sourceforge.net/
可以设置为中文
静雅思听·文化频道 http://feed.feedsky.com/JustingCulture
静雅思听·历史频道 http://feed.feedsky.com/JustingHistory
静雅思听·军事频道 http://feed.feedsky.com/JustingMilitary
博客思听书摘,http://www.bookast.com/mp3/bookast_rss.xml
黑米公主,http://princessremy.podspot.de/rss
锵锵三人行,http ...
添加了12个库,其中有ASIO网络库,啊啊啊啊啊啊啊啊啊啊啊啊
不过hashmap还是没有加进来,该死的版权问题
The TR adds 23 special functions (plus float and long double overloads) to header <cmath>. However, at present there is no Boost License compatible implementation of these functions, so these are unsupported by this implementation unless yo ...
原来pylons是有分页类的
是放在webhelpers下面
paginate(collection, page=None, per_page=10, item_count=None, query_args=None, **options) ...
Example:
# Using an SQLAlchemy object with assign_mapper under Pylons
# with an order_by passed in
c.paginator, c.people = paginate(model.Person,
...
pylons mako笔记
1.
在pylons中设置为utf-8编码
在pylons工程config/environment.py文件最后,添加
tmpl_options['mako.default_filters'] = ['decode.utf8']
2.
${}中间直接是python代码,显示其返回值
this is x: ${x}
pythagorean theorem: ${pow(x,2) + pow(y,2)}
3.
${"this is some text" | u}
u : url编码this+is+some+text
h : html编码
x : ...
firefox插件:scrapbook--完整保存网页
very very useful,
copy 网页之必备利器
如何在window用utf-8的命令行.
1.下载安装cygwin,注意选中Net->openssh
2.用Utf-8 cygwin的dll和exe进行替换
http://www.okisoft.co.jp/esc/utf8-cygwin/
3.进入cygwin
ssh-host-config
会提示输入密码
然后进入windows命令行输入net start sshd
可以到控制面板->管理工具->服务中把CYGWIN sshd设置为自动
4.下载安装Xshell(我用的2.0)
新建一个登录,用户名为当前windows的用户名,密码为刚才输入的
以后可以直接用这个登录,无需启动cy ...
电影上男主角总是年少多金,美女总是一见钟情,全然不似这悲惨的人间.
当然"太子党"之流向来不是我所向往,"美国梦"才是前进的方向.
学生时代多的是憧憬,从爱迪生到Bill Gates,总是只见成功者的丰碑而无视皑皑的白骨.
"不想到元帅的兵不是好兵",从这种意义上说最近流行的"士兵突击"的主人公也算不得优秀,虽然我从来没看过那部电视.
当然志存高远并不一定是好事,"心比天高,命比纸薄",让人无奈的总是命运.
奋斗过后的倒下是否更加壮烈?
一无所有,所以什么都敢于尝试.然而,时间是最可怕的磨刀石,再顽固的石头也敌不过滴水的温柔.
当历史的沉淀变为前进的包袱时,是否还能当年一样,挥一 ...
2008/3/9 Bruce Wang <number5@gmail.com>:
> 假设你要安装 TurboGears, 在有网络的地方
> easy_install -zmaxd . TurboGears
> 然后将整个目录下的内容copy到目标机器,执行
>
> easy_install -f . TurboGears
> 详细参考 http://docs.turbogears.org/1.0/OfflineInstall
import atexit
@atexit.register
def exit_handle():print "close something"







评论排行榜