Just a series of random pieces of code that I use for different things