Random snippets of code I want to keep around.