Some old code that used to power my blog.