Skip to content

Instantly share code, notes, and snippets.

@sixmanguru
sixmanguru / myFirstGist.html
Created July 30, 2015 21:30
trying to copy a Bosyock classic example
<!DOCTYPE html>
<meta charset="utf-8">
<style>
body {
background: #fcfcfa;
}
.stroke {
fill: none;
@sixmanguru
sixmanguru / JSON2Excel.py
Last active August 29, 2015 14:07
JSON to Excel converter
##Tool to turn all of the values of a JSON object into
##an easy-to-read list
##with Path(key),Value
##some of the subject matter discussed pertains with my company and may not seem relevant
import itertools
import csv, xlrd, codecs, xlwt
import json
@sixmanguru
sixmanguru / generic_seriesProbs.py
Created September 16, 2014 16:00
Generic Series Probabilities
## calculate the probability of winning a series,
## given p(winning single game) and current score
## Granger Huntress
## based on Jeff Sackmann's gameProb code
## (https://gist.github.com/JeffSackmann/768862)
def fact(x):
if x in [0, 1]: return 1