Samples of code I have written for various reasons