Little bits I've thrown together to make my life easier.