Skip to content

Instantly share code, notes, and snippets.

View smadep's full-sized avatar

Stefan Rauchegger smadep

  • Vienna
View GitHub Profile
@smadep
smadep / index.js
Created March 31, 2016 16:25
requirebin sketch
// Welcome! require() some modules from npm (like you were using browserify)
// and then hit Run Code to run your code on the right side.
// Modules get downloaded from browserify-cdn and bundled in your browser.
/*
var tree = require("segment-tree").zeros(10)
tree.set(1, 10)
tree.set(2, 5)
tree.set(6, 8)
tree.set(11, 14)