Skip to content

Instantly share code, notes, and snippets.

View cfljam's full-sized avatar

John McCallum cfljam

View GitHub Profile
@cfljam
cfljam / gist:4626d0bebdaa7b9fe93e09564be6153a
Created May 2, 2016 04:31
created by github.com/tr3buchet/gister
This is a freaking test
@cfljam
cfljam / gist:0331cd0e307447737aa9
Created September 17, 2015 01:56
Toggle Code Hiding in a Jupyter Notebook
from IPython.display import HTML
HTML('''<script>
code_show=true;
function code_toggle() {
if (code_show){
$('div.input').hide();
} else {
$('div.input').show();
}
@cfljam
cfljam / Using GistR.ipynb
Last active August 29, 2015 14:26
Using GistR to Gist a Jupyter Notebook
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@cfljam
cfljam / Jupyter Notebooks with the R kernel.ipynb
Created July 30, 2015 20:51
Using R in Jupyter Notebooks
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
speed dist
1 4 2
2 4 10
3 7 4
4 7 22
5 8 16
6 9 10
7 10 18
8 10 26
9 10 34
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@cfljam
cfljam / How I Made this Slideshow about How this slideshow was Made.ipynb
Last active August 29, 2015 14:23
How to make a Jupyter Slideshow about making a Slideshow
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@cfljam
cfljam / Jupyter Notebooks with the R kernel.ipynb
Created June 23, 2015 01:58
Running R Kernel in Jupyter on Docker
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@cfljam
cfljam / Building Unevaluated Expressions with R .ipynb
Created June 19, 2015 03:53
Building Unevaluated Expressions in R
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@cfljam
cfljam / eBridaIdentifiers.md
Last active August 29, 2015 14:16 — forked from mdavy86/eBridaIdentifiers.md
R examples for Regex to Clean Vine Identifiers

Problem

Incorrectly formatting of Vine identifiers from Excel sources for eBrida. For example, the identifier

Incorrect Excel format conversion Correct eBrida format
TO8.33.06.15F => T08.33-06-15f