A set of useful code bits and pieces and references