Small pieces of code I've written over the past year or so