Updated the post to replace the gist with code so it's consistent