Skip to content

Instantly share code, notes, and snippets.

View jdfreder's full-sized avatar

Jonathan Frederic jdfreder

View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jdfreder
jdfreder / alignments.ipynb
Created February 8, 2014 19:04
New flex model alignment tests
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jdfreder
jdfreder / D3.ipynb
Last active August 29, 2015 13:56
Updated D3 example, Twitter live example not working?
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jdfreder
jdfreder / PathDependent.ipynb
Created February 21, 2014 20:11
PathDependent
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jdfreder
jdfreder / README.md
Last active August 29, 2015 13:56
DifferenceNotebooksAndNbconvert

#IPython notebook htmldiff

##What is this? This gist contains a notebook and fabric file that aids in comparison of notebook native html and nbconvert generated notebook html.

##Requirements An external diff tool which can perform a two file diff. i.e. diff a b Python fabric - pip install fabric

##How can I use this?

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jdfreder
jdfreder / PaulScroll
Last active August 29, 2015 14:00
Space and shift-space H1 scrolling in the notebook.
%%javascript
window.hcell = 0;
var delta_header_scroll = function(delta) {
window.hcell += delta;
var $h1cells = $('h1 a');
window.hcell = Math.max(0, Math.min($h1cells.length-1, window.hcell));
setTimeout(function(){$h1cells[window.hcell].scrollIntoView(true);}, 0);
};
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.