Fun with Balls
January 08, 2010
As a simple for-fun ritual when I learn a new language I like to createa simple very basic application that has some 2D balls (spheres if youprefer) bouncing on the screen and then I would mess with settings andeffects, fairly...
Nicer dynamic forms in django
December 16, 2009
I used to make dynamic forms for Django in very bad way, I'm happy to admit that now as I've improved my process.Basically the solution is to use type() as I'm sure many of you know. If your doing that...
Changing default storage engine in MySQL
September 03, 2008
It took me a while to find the answer to this, so I thought I'd share it to avoid anybody else wasting time with this. I needed to change the defaultstorage engine so Django would use innoDB rather than MyISAM....
JavaScript - Detecting Caps lock
July 02, 2008
I wanted to see if you could detect caps lock in JavaScript. Why? As a small usability touch, basically alerting users that caps lock is enabled when they are entering passwords for example. I’ve wrapped up the logic in a...