A collection of code to solve common problems I've encountered.