ipython/ipython — pull request #1670 by takluyver (2012-04-28 21:05:11+00:00)
Title: Point %pastebin to gist

Unfortunately http://paste.pocoo.org/ has closed down. This updates the %pastebin magic to use gists instead. The results look like this: https://gist.github.com/2521969

We don't try to use any of the advanced features of gist, such as authenticating to make gists associated with your account. That could be added if there's demand for it, but for now we just send some content and return a URL.