Assorted useful things written in C++11/14