Removed gist. Wasn't meant to be published.