Your browser (Internet Explorer 6) is out of date. It has known security flaws and may not display all features of this and other websites. Learn how to update your browser.
X

Archive for December, 2011

Links

Interesting Comment on Islamic Banking

I previously considered Islamic banking a fraud, more or less at the same level as “halal pork”.  This comment has forced me to reconsider.

Images

Sony Vaio ad cracks me up

Sony Vaio ad cracks me up

Should I get the 13.3 or the 13.6?

Links

Django Deployment Guide

Found this while watching a class on Safaribooksonline.

Deploying Django is always a bit of a hassle; hopefully this will help someone.
Links

Get rid of unnecessary /chrootjail/lib files

I am not sure if I should actually publish this because it seems like hitting a fly with a nuke.

This is a python script that goes through a chroot jail’s directory (in my case, /chroot/lib) and removes one file at a time.  It then tries sftping into the server using a restricted user; if the user is able to connect and transfer the file, the file is removed.  Otherwise, it is kept.
This requires Paramiko to execute the sftp connection.  I am sure there are better ways to do it, but this works.  (For some reason, just calculating the requirements /didn’t/ work for me.)