replace code snippet with gh gist