Reusable chunks of code I've found useful.