Skip to content

Instantly share code, notes, and snippets.

View BBischof's full-sized avatar

Bryan Bischof BBischof

  • current: Theory Ventures | prev: Hex, Weights and Biases, Stitch Fix, Blue Bottle, QuasiCoherent Labs, IBM
  • Berkeley, California
  • X @bebischof
View GitHub Profile
@BBischof
BBischof / .block
Last active August 17, 2016 23:34
Recidivist Sequences Icicle (Reverse)
license: gpl-3.0
@BBischof
BBischof / .block
Created August 17, 2016 23:41
Sankey Particles II
license: gpl-3.0
@BBischof
BBischof / .block
Last active August 17, 2016 23:54
d3.layout.timeline categorized timelines
license: gpl-3.0
@BBischof
BBischof / .block
Last active August 18, 2016 00:13
Swimlane Chart using d3.js
license: gpl-3.0
@BBischof
BBischof / pathlike_dict_access.py
Last active August 26, 2016 01:17
A convenient path-lookup script for python dictionaries
import sys, csv, itertools, json
#inspired by http://stackoverflow.com/questions/14692690/access-python-nested-dictionary-items-via-a-list-of-keys
# Testing dictionary
D = {
"a": {
"aa": {
"aaa": 1,
"aab": 2
},
@BBischof
BBischof / op_controller.py
Created August 29, 2016 02:19
A simple model of how to make a op controller in Python; convenient for data processing scripts with multiple functions.
'''
A simple example of how to use an operation controller
(note, this doesn't run, all the functions are missing)
'''
'''
operation controller
'''
def controller(op_code, data, data2):
ops = {
@BBischof
BBischof / pathlike_dict_access_class.py
Created August 29, 2016 02:27
another iteration on the path-like dictionary access. This makes it into a class and uses getters and setters, a much more elegant solution
import sys, json
#inspired by http://stackoverflow.com/questions/14692690/access-python-nested-dictionary-items-via-a-list-of-keys
# Testing dictionary
D = {
"a": {
"aa": {
"aaa": 1,
"aab": 2
},
@BBischof
BBischof / .block
Last active September 17, 2016 07:36
Beeswarm (With Flying Bees)
license: gpl-3.0
height: 200
@BBischof
BBischof / .block
Last active October 19, 2022 19:51
Beeswarm (Most Broken)
license: gpl-3.0
height: 200
@BBischof
BBischof / .block
Last active September 28, 2016 23:04
sentiment time-series mouseover
license: mit