This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"metadata": { | |
"name": "breakpoint-demo" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<title>CodeMirror: Code Folding Demo</title> | |
<meta charset="utf-8"/> | |
<link rel=stylesheet href="../doc/docs.css"> | |
<link rel="stylesheet" href="../lib/codemirror.css"> | |
<link rel="stylesheet" href="../addon/fold/foldgutter.css" /> | |
<script src="../lib/codemirror.js"></script> | |
<script src="../addon/fold/foldcode.js"></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"metadata": { | |
"name": "" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// leave at least 2 line with only a star on it below, or doc generation fails | |
/** | |
* | |
* | |
*/ | |
/* | |
* Wait for app_initialized.NotebookApp trigger | |
*/ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from IPython.nbconvert.preprocessors import * | |
import re | |
class StripDollarSpacesPreprocessor(Preprocessor): | |
"""Remove spaces after leading '$' in math equations. | |
Make sure '$ a=10 $' is converted to '$a=10 $' and not '\$ a=10 \$' | |
when running nbconvert and pandoc | |
""" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var add_edit_shortcuts = { | |
'shift-enter' : { | |
help : 'run cell, select next codecell', | |
help_index : 'bb', | |
handler : function (event) { | |
IPython.notebook.execute_cell_and_select_below(); | |
// find next CodeCell and go into edit mode if possible, else stay in next cell | |
var i; | |
for (i = IPython.notebook.get_selected_index(); i < IPython.notebook.ncells() ;i++) { | |
var cell = IPython.notebook.get_cell(i); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"metadata": { | |
"name": "", | |
"signature": "sha256:3f216d8ac560f66c1a009e0f03595c7c2fc7d117803419f82d21cecb330525eb" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ |