Archive of articles classified as' "OSS"
I struggled for an elegant way to list directories and files by date with PHP. Here is the fruit of much Google-Fu. This will list directories and files from newest to oldest.
You will need git, and all the xcode goodies. This is the easiest way to copy and paste your way to a working node.js and npm setup with OS X 10.6. Live on the bleeding edge!
This is the most elegant way I could find to create an thumbnail for an image I want to resize with PHP and Imagemagick. The function will return a filename.
Are you updating an old Django project to use Django 1.2, and getting this error message when you try to login to the Django admin page?
CSRF verification failed. Request aborted.
# is the entry saved with the command ‘savedefault’.