Skip to content

Instantly share code, notes, and snippets.

@FZambia
Created September 9, 2014 20:27
Show Gist options
  • Save FZambia/46bd8d5ec516bec50a9c to your computer and use it in GitHub Desktop.
Save FZambia/46bd8d5ec516bec50a9c to your computer and use it in GitHub Desktop.
run_other_languages.ipynb
Display the source blob
Display the rendered blob
Raw
{
"metadata": {
"name": "",
"signature": "sha256:47f943130f9d1cce11c824b0ed221f699cda21adda2170395bb830370be862df"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "code",
"collapsed": false,
"input": [
"%%ruby\n",
"puts \"hello\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"hello\n"
]
}
],
"prompt_number": 2
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"%%bash\n",
"cat ~/.vimrc | grep \"filetype\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"filetype plugin on \n",
"\" Set filetype stuff to on\n",
"filetype on\n",
"filetype plugin on\n",
"filetype indent on\n",
" setl filetype=\n",
" au BufReadPost *.bin set filetype=xxd | endif\n"
]
}
],
"prompt_number": 15
},
{
"cell_type": "code",
"collapsed": false,
"input": [],
"language": "python",
"metadata": {},
"outputs": []
}
],
"metadata": {}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment