Skip to content

Instantly share code, notes, and snippets.

View jdfreder's full-sized avatar

Jonathan Frederic jdfreder

View GitHub Profile
@jdfreder
jdfreder / nbconvert_refactor
Last active December 18, 2015 17:08
My senior project paper.
{
"metadata": {
"name": "NbconvertRefactor"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@jdfreder
jdfreder / gist:5929023
Created July 4, 2013 16:41
TODO For Writers
  • All transformer methods should know about the notebook_name. This should be passed down to the methods as the first argument. This include __call__, call and cell_transform

  • Rename cell_transform to transform_cell

  • Replace FIGURES_KEY by the literal "figures"

  • Convert unix line endings to \r\n if on windows for SVG. This will

@jdfreder
jdfreder / Tests.md
Last active December 19, 2015 17:08
Writer tests

nbconvert tests

Overview

Suite of automated nose tests for nbconvert

Tasks

App tests

@jdfreder
jdfreder / ipy_build_test.sh
Last active December 19, 2015 23:08
Test for the 1.0 nbconvert nose suite
TRAVIS_PYTHON_VERSION="3.3"
sudo apt-add-repository ppa:fkrull/deadsnakes
sudo apt-get update
sudo apt-get install -y python$TRAVIS_PYTHON_VERSION
sudo rm /usr/bin/python
sudo ln -s /usr/bin/python$TRAVIS_PYTHON_VERSION /usr/bin/python
echo Testing install for...
python --version
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jdfreder
jdfreder / todo.md
Created August 21, 2013 17:29
JonTodo
@jdfreder
jdfreder / .bashrc
Last active January 5, 2016 00:46
*nix and win aliases
alias push="git push"
alias pull="git pull"
alias reb="git rebase"
alias com="git commit"
alias co="git checkout"
alias merge="git mergetool"
alias st="git status"
alias br="git branch"
alias add="git add"
alias grm="git rm"
@jdfreder
jdfreder / digraphs.ipynb
Last active December 21, 2015 21:49
Digraph possibilities
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jdfreder
jdfreder / IPython Markdown Pandoc Limitations.ipynb
Last active December 24, 2015 02:59
Notebook that compares the Markdown output of Pandoc to the IPython Notebook.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jdfreder
jdfreder / BackboneWidgets.ipynb
Last active December 25, 2015 04:59
Minimalist example for backbone.js widget PR.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.