Skip to content

Instantly share code, notes, and snippets.

View richstoner's full-sized avatar
💭
🚀

Rich Stoner richstoner

💭
🚀
View GitHub Profile
@richstoner
richstoner / poster.ipynb
Last active December 27, 2015 19:29
SFN 2013 poster footage
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@richstoner
richstoner / fabfile.py
Created October 13, 2013 16:52
Files needed for an ipython notebook install remotely.
from __future__ import with_statement
from fabric.api import *
from fabric.contrib.console import confirm
from fabric.contrib.files import exists
from datetime import datetime
import sys, pprint, time, ConfigParser
from ConfigParser import SafeConfigParser
parser = SafeConfigParser()
@richstoner
richstoner / gist:6894968
Created October 9, 2013 01:59
cmake command to build opencv on osx
cmake -G "Unix Makefiles" -D CMAKE_CXX_COMPILER=/usr/bin/g++ -D CMAKE_C_COMPILER=/usr/bin/gcc -D WITH_CUDA=ON ..
@richstoner
richstoner / aperiotilesource.js
Last active December 21, 2015 15:58
This shows the code snippets of the difference between openseadragon annotations and leaflet. Original code: preleaf.js, aperiotilesource.js, load_openseadragon.js New leaflet code: postleaf.js, connectivity_layer.js, load_leaflet.js
// hacked together aperio support
(function( $ ){
/**
* A client implementation of the Aperio ImageServer Format
*
* @class
* @extends OpenSeadragon.TileSource
* @param {Number|Object} width - the pixel width of the image or the idiomatic
This file has been truncated, but you can view the full file.
'use strict';
var COMPILED = !0, goog = goog || {};
goog.global = this;
goog.DEBUG = !1;
goog.LOCALE = "en";
goog.provide = function (a) {
if (!COMPILED) {
if (goog.isProvided_(a))
throw Error('Namespace "' + a + '" already declared.');
delete goog.implicitNamespaces_[a];
@richstoner
richstoner / full_parse_nb.ipynb
Created March 6, 2013 07:13
Guidelines parsing example
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@richstoner
richstoner / parcoords.ipnb
Created February 16, 2013 19:32
Example notebook to demonstrate javascript functionality
{
"metadata": {
"name": "parcoords"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@richstoner
richstoner / gist:4954666
Created February 14, 2013 17:52
callbacks
{
"metadata": {
"name": "Z Callbacks"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@richstoner
richstoner / test.py
Created February 14, 2013 00:16
Test notebook gist
{
"metadata": {
"name": "Collecting tissues"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{