code
words
blog
photos

bookmarks

hosting by:
f2o

Hacks

Pyblosxom Meta Plugins

This is a plugin for Pyblosxom which implements a meta-data system. Includes plugins for del.icio.us-style keyword tagging system, in place of a category system, and a plugin allowing you to embed blog times within blog entries. You can see it in use at my blog.

PyPoki

This is a simple and extensible class which allows you to easily write a poker bot to run on Poki servers via the Online Poker Protocol. The focus is on simplicity; a minimal bot is only about 6 lines long.

extract.py

Every time I download an archive, I make a new directory, move the archive into that directory, then unzip it. This script automates this process for may kinds of archive files, protecting you from poorly made archives.

diary_ext.py

A script to download and archive diaries from kuro5hin.org. Useful as an example of a simple, but useful, demonstration of screen scraping using urllib and regular expressions.

login_tut.tar.gz

Code to go with a tutorial I wrote on creating a login script with PHP.