These are a collection of snippets that I use everyday working at Miva Merchant