Author Archives: hzmangel

Deploy RoR application with Nginx

This article will talk something about deploying RoR application to local and remote nginx server.

Posted in Happy coding | Tagged , , | Leave a comment

RoR learning log (2)

This article will finish the ToDo web application, and the prime area in this article is adding validator and updating templates. Here is to RoR learning log (1)

Posted in Happy coding | Tagged , , | Leave a comment

RoR learning log (1)

Just back from vacation, so the study log for this week is simple.

Posted in Happy coding | Tagged , , | 1 Comment

Ruby learning log

Just studied Ruby with the tutorial on website rubylearning.com in the past week, and here are some knowledge gained those days.

Posted in Happy coding | Tagged , | 3 Comments

2012,魔都开年

本来还在想今年开年行的地点,某人的婚礼邀请就发了过来,于是魔都就成了本年度开年行的目的地了~

Posted in 那山那水 | Tagged | 3 Comments

List all CVS tags

最近在折腾一个CVS的库,需要把它里面所有的tags给列出来,在网上找了一个Perl脚本,以前一直是直接用的,那天看了看发现原来不是很难,于是写了一个Python的,为的是可以当成函数嵌到我的脚本中。

Posted in Happy coding | Tagged , , | 2 Comments

Simple Life Game in HTML5

想着好久没写blog了,刚好在看计算中的上帝时,里面有提到生命游戏,所以就顺手写了一个,顺便凑篇文章。

Posted in Happy coding | Tagged , | Leave a comment

Blocking/Non-Blocking IO and SYN/ASYN IO

这是我上个月linuxfb版聚上讲的话题,因为后续还有一些讨论的东西,所以就一并在这记一下。估计下个月听完Bergwolf的AIO还会有些更新。

Posted in Happy coding | Tagged , | Leave a comment

木兰围场塞罕坝

嗯,公司组织的TeamBuilding,找了个所谓的旅行社跟着走的?不多说啥了,先放照片,最后吐槽。

Posted in 那山那水 | Tagged , | 26 Comments

Remove packages installed by setup.py install

从源码装了个Python程序的包结果发现系统的仓库中有,于是想先把源码装的包删除了再去装仓库中的,可惜setup.py没有uninstall参数,于是改问G神,在stackoverflow上找到了折衷的办法:先用install把包重新装一遍,装的时候记录下文件的改动,然后去把它们统统删除,唔,好囧的办法。 $ python setup.py install –record foo.txt $ cat foo.txt | xargs rm -f 没找到怎么让它输出到stdout,只好用临时文件弄了。

Posted in 小企鹅Linux | Tagged , , | 2 Comments