Random crap I've written. Some code is decent, some isn't, but maybe you'll find it useful.