Miscellaneous code snippets. Not a project; more like a backup of code worth keeping.