Setting Currency When Using Universal Analytics and Google Tag Manager Ecommerce

After some frustrations with conflicting documentation, I figured I’d make the blog post I wished I had at the start of this all. This forum post is what finally led me in the correct direction. If you’re using Universal Analytics through Google Tag Manager and are tracking Standard Ecommerce transactions in multiple currencies, you’ll need some extra setup beyond the documentation they provide. You’ll notice there’s no mention of setting the currency when sending a standard ecommerce transaction because the Universal Analytics through Google Tag Manager doesn’t support it. [Read More]

Caching Assetic Asset Collections

Recently I was working with Assetic for combining and minifying CSS and JS files but ran into an issue with regards to caching the created asset collection. The resulting minified file was being rewritten on every page load which was no good at all. TL;DR: Get the asset collection’s “last modified” property and compare it to the written minified file to determine if it needs updating. Updated Feb 29, 2016 This post originally used String Assets to cache the collection’s content. [Read More]
PHP  Caching 

A note on archiving Gmail messages in Mutt

A while ago I switched to Mutt for all of my email needs. I have a mix of regular IMAP accounts and a few Gmail powered accounts set up. The Gmail accounts have always been a thorn in my side due to an early misconception I had about the All Mail folder and archiving. Below is my initial problem, solution and what I found to be the consistent behaviour of a Mutt + Gmail setup. [Read More]
Mutt 

Using Vim for Arduino development

Here’s a quick post on setting up Vim for Arduino development instead of using the Arduino IDE. If you’re a heavy Vim user, it can be a bit of a shock to go into a different editor. Thankfully the setup is pretty easy to get this all working with Vim. This post is assuming you are comfortable with how Vim is setup and ideally already have an environment that works for you. [Read More]