-
Recent Posts
Recent Comments
Archives
- December 2013
- November 2013
- March 2012
- February 2012
- December 2011
- November 2011
- October 2011
- August 2011
- July 2011
- June 2011
- May 2011
- March 2011
- February 2011
- January 2011
- October 2010
- August 2010
- July 2010
- May 2010
- April 2010
- March 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
Categories
Meta
友站連結
Category Archives: English Articles
A little play with HTML5 – 2.5D RPG Map Engine
Recently, I want to play those cutting edge HTML5 technologies for fun, especially on game developing. I think it would be really interesting to write some cool games with HTML5. Therefore, I took one night to wrote a simple prototype … Continue reading
Plurk.com is hiring
Are you good at Python programming? Are you a Javascript master? As a developer of Plurk.com, here I want to say it loudly – We’re hiring! For more details, please reference to: Help Spark a Social Revolution – Plurk Opens … Continue reading
Zero-downtime service migration
When I am running my website, now.in, I did encounter a trouble. That is, when there is a bug in the production server, then I need to restart them. Sounds fine, right? Just to restart a server. Yes, for most … Continue reading
Posted in English Articles, Python, Unix-Like, 分享
Tagged 0-down-time, hot code swap, migration, Python, service
1 Comment
Logy – a central logging system for Python
I’m glad to announce my new open source project:Logy. Logy is a simple lightweight central logging system for Python. When do you need a central logging system? Well, when you have many servers online, and they are running different python … Continue reading
Po translate – automatic translation tool for .PO files
It is kinda hateful to translate .PO files from Traditional-Chinese to Simplified-Chinese, most of the meanings are identical but different in simplified word or traditional word. It is not a very difficult to translate. But however, it is still an … Continue reading
Posted in English Articles, Python, 分享
Tagged gettext, i18n, po, simplified chinese, tool, traditional chinese, translate
1 Comment
A tool for applying iptables safely: apply_firewall.
Have you ever done something stupid with iptables command which like blocking you self from accessing the SSH? Yes, I have. Most of administrator knows that is dangerous to change iptable rules remotely, with a little typo, you might have … Continue reading
Posted in English Articles, Linux, Python
Tagged administration, iptables, Linux, Python, tool
1 Comment
Open the browser, and here comes the computing power
This is really an awesome idea. Open the browser, and here comes the computing power. Imagine that you can open the browser and rent 10 machines, get everything done on them. Deployment? Software installing? No, the only thing you need … Continue reading
Posted in English Articles, 分享
Tagged Awsome, Cloud computing, Future, Virtual Machine
Comments Off on Open the browser, and here comes the computing power
Simple tool for rotating nginx log file
#!/bin/env python “””Simple tool for rotating nginx log file @author: Victor Lin ([email protected]) blog: “”” import os import shutil import optparse import datetime import logging import subprocess log = logging.getLogger(__name__) def main(): parser = optparse.OptionParser() parser.add_option(‘-p’, ‘–pid’, dest=’pidFile’, metavar=”FILE”, … Continue reading
How hateful it is to develop a web application which runs correctly with different browsers?
Like this: You have to run different browsers for testing the web-page. What’s more? You have to run those stupid IE browsers under VirtualBox or some virtual system. Moreover, different detail behaviors of JavaScript/CSS engine drives you crazy, especially IE. … Continue reading
A simple workaround for installation problem of PIL under virtualenv
I encountered a problem when I am installing PIL under a virtualenv. I installed it with easy_install, the output said it was installed, but however, I can’t import it under the virtual environment. I got an ImportError when I tried … Continue reading
Posted in English Articles, Python
Tagged easy_install, ImportError, installation, PIL, Python, virtual-environment, virtualenv, workaround
Comments Off on A simple workaround for installation problem of PIL under virtualenv