Random pieces of code that people might find useful, but I never cared to fully finish