A collection of miscellaneous pieces of code. Mostly D.