Tridge's junk code

This has moved to http://github.com/tridge/junkcode/