title: How can I add code from Github into my Codepen project?
body: <p>I've got a repository with some code that I'd like to incorporate into my Codepen project, however I have no idea how. </p>
  
  <p>What I'm trying to do is get 10 million digits of pi as a variable to use in my project.</p>
  
  <p>Right now my project takes the variable pieIsGood from another Codepen using Ajax using this code: </p>
  
  <pre><code> $.getJSON('http://codepen.io/creativekinetix/pen/PpOOrE.js',jsonLoaded);
  var pieIsGood;
  function jsonLoaded(data) {
    pieIsGood = data.pi;
    pieIsGood = pieIsGood.toString()
  }
  </code></pre>
  
  <p>Although this code works, Codepen only allows pens of a certain length (I think it tops out around a million characters). I'd like to find a way to either use the code from <a href="https://gist.github.com/Rusty25/85de21b0626bb057beadf0f6009867bd" rel="nofollow noreferrer">this Github gist</a> or <a href="http://www.angio.net/pi/" rel="nofollow noreferrer">this website</a> and turn it into variable pieIsGood to use in my project. I can't use Ajax because anything I do there has to be in the same domain, and Codepen doesn't allow 10 million digits of pi.</p>
  
  <p>Since codepen doesn't allow me to post three links with my current reputation level, here's the broken link. It just needs a : after the http. </p>
  
  <p><a href="http://codepen.io/Random_Pseudonym/pen/EWvdge" rel="nofollow noreferrer">http://codepen.io/Random_Pseudonym/pen/EWvdge</a></p>
  
  <p>Any help is greatly appreciated (I've spent something like ten hours trying to find a solution, I'd be ridiculously grateful to have it solved!)</p>