Skip to content

Instantly share code, notes, and snippets.

@danielballan
Created April 17, 2015 22:27
Show Gist options
  • Select an option

  • Save danielballan/526b8b87f21a1b98b19f to your computer and use it in GitHub Desktop.

Select an option

Save danielballan/526b8b87f21a1b98b19f to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
{
"cells": [
{
"metadata": {
"trusted": true,
"collapsed": false
},
"cell_type": "code",
"source": "%%javascript\nrequire([\"nbextensions/gist\"], function (gist_extension) {\n console.log('gist extension loaded');\n gist_extension.load_ipython_extension();\n});",
"execution_count": 1,
"outputs": [
{
"output_type": "display_data",
"data": {
"application/javascript": "require([\"nbextensions/gist\"], function (gist_extension) {\n console.log('gist extension loaded');\n gist_extension.load_ipython_extension();\n});",
"text/plain": "<IPython.core.display.Javascript object>"
},
"metadata": {}
}
]
},
{
"metadata": {
"trusted": true,
"collapsed": true
},
"cell_type": "code",
"source": "",
"execution_count": null,
"outputs": []
}
],
"metadata": {
"kernelspec": {
"name": "python2",
"display_name": "Python 2",
"language": "python"
},
"language_info": {
"mimetype": "text/x-python",
"nbconvert_exporter": "python",
"name": "python",
"pygments_lexer": "ipython2",
"version": "2.7.9",
"file_extension": ".py",
"codemirror_mode": {
"version": 2,
"name": "ipython"
}
},
"gist_id": "526b8b87f21a1b98b19f"
},
"nbformat": 3,
"nbformat_minor": 0
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment