Various pieces of code that I use nearly in all of my projects.