Was playing around with nginx on Centos 5 (EPEL package). Most of the time I ran: I would get this message in the /var/log/nginx/error.log file: After some hunting around, it appears to be a known bug in nginx (perhaps perl in nginx?)… Anyway, a simple workaround is to do this: Or, simply edit /etc/init.d/nginx, and [...]
Archive for February, 2010
nginx restart error
Posted in Linux, System Administration, Technique, tagged nginx, nginx configuration, nginx error on February 24, 2010 | Leave a Comment »
Great article on Python super, __mro__, and attributes
Posted in Engineering, Open Source, Perspective, Technique, tagged Python, Python attributes, Python super(), Python __mro__ on February 20, 2010 | Leave a Comment »
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
git scm tip
Posted in Engineering, Perspective, Technique, tagged git, scm, tip, version control on February 20, 2010 | Leave a Comment »
You may be aware of git add . But did you know this: adds all the files. Use with care (only after git status, for example). adds and deletes all KNOWN files. This is great if you added and removed or renamed files.