Miscellaneous code that I've created and found useful