#LaTeX in IPython Notebook
With this extension you can use LaTeX-style references within IPython (Notebook) while still using markdown for formatting.
Required:
- ipython-dev
- biblio-py
- markdown
| *.acn | |
| *.acr | |
| *.alg | |
| *.aux | |
| *.bak | |
| *.bbl | |
| *.bcf | |
| *.blg | |
| *.brf | |
| *.bst |
| <?xml version="1.0"?> | |
| <root> | |
| <deviceproductdef> | |
| <productname>APPLE_INTERNAL_KEYBOARD_TRACKPAD_0x024c</productname> | |
| <productid>0x024c</productid> | |
| </deviceproductdef> | |
| <deviceproductdef> | |
| <productname>APPLE_WIRELESS_KEYBOARD_0x22c</productname> | |
| <productid>0x22c</productid> | |
| </deviceproductdef> |
| def render_split(time, color, offset = -4*pd.datetools.Minute(15)): | |
| if(color is not None): | |
| pl.gca().axvspan( | |
| time + offset, | |
| time + pd.datetools.Minute(15) + offset, | |
| facecolor = pl.cm.Paired( float(color % 12)/12 ), | |
| linewidth = 0, | |
| alpha = 1.0, | |
| ) |
| #!/bin/sh | |
| # make sure requirements.txt is up to date with every commit | |
| # by comparing the output of pip freeze | |
| pip freeze | diff requirements.txt - > /dev/null | |
| if [ $? != 0 ] | |
| then | |
| echo "Missing python module dependencies in requirements.txt. Run 'pip freeze > requirements.txt' to update." | |
| exit 1 | |
| fi |
| # This script was created to convert a directory full | |
| # of markdown files into rst equivalents. It uses | |
| # pandoc to do the conversion. | |
| # | |
| # 1. Install pandoc from http://johnmacfarlane.net/pandoc/ | |
| # 2. Copy this script into the directory containing the .md files | |
| # 3. Ensure that the script has execute permissions | |
| # 4. Run the script | |
| # | |
| # By default this will keep the original .md file |
#LaTeX in IPython Notebook
With this extension you can use LaTeX-style references within IPython (Notebook) while still using markdown for formatting.
Required:
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| w = 400 | |
| h = 300 | |
| from numba import autojit | |
| @autojit | |
| def normalize(x): |
| ## | |
| ## Copy & Paste Tool for images to PowerPoint(.pptx) | |
| ## | |
| import pptx | |
| import pptx.util | |
| import glob | |
| import scipy.misc | |
| OUTPUT_TAG = "MY_TAG" |
| from __future__ import print_function, division | |
| from timeit import default_timer as timer | |
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| from numba import njit | |
| w = 400 | |
| h = 300 |