An assortment of code I need for various projects