Feeds:
Posts
Comments

Archive for February, 2010

Was playing around with nginx on Centos 5 (EPEL package). Most of the time I ran: service nginx restart I would get this message in the /var/log/nginx/error.log file: panic: MUTEX_LOCK (22) [op.c:352]. After some hunting around, it appears to be a known bug in nginx (perhaps perl in nginx?)… Anyway, a simple workaround is to [...]

Read Full Post »

I highly recommend reading this excellent writeup on Python super(), python __mro__, python attributes, and more. It is Copyright © 2005-2009 Shalabh Chaturvedi http://www.cafepy.com/article/python_attributes_and_methods/python_attributes_and_methods.html#method-resolution-order

Read Full Post »

You may be aware of git add . But did you know this: git add . adds all the files. Use with care (only after git status, for example). git add -u . adds and deletes all KNOWN files. This is great if you added and removed or renamed files.

Read Full Post »