title: Decode content from Github API
body: <p>I'm trying to make a request to the Github api and get the content (code) from a file that is in an open repo. I did a simple <code>curl -i</code> on the terminal and it returned some content that is encoded (according to the docs). How can I decode that content? And possible put the code in the correct format (indentations, etc.) when I'm outputting it on an html textarea?</p>