A collection of code ideas that I picked up here and there