Random code fragments I don't want to lose.