A collection of sample code from my blog posts @ chaosmonkies.wordpress.com