A set of function routinely seen in my samples and apps.