Skip to content

Instantly share code, notes, and snippets.

View slickplaid's full-sized avatar

Evan slickplaid

View GitHub Profile
@slickplaid
slickplaid / .block
Created October 24, 2016 18:26 — forked from mbostock/.block
Collapsible Tree
license: gpl-3.0
@slickplaid
slickplaid / round-robin-proxy.js
Created June 9, 2011 23:38 — forked from indexzero/round-robin-proxy.js
A simple example of how to do round-robin proxying for a single domain
var httpProxy = require('http-proxy');
//
// Addresses to use in the round robin proxy
//
var addresses = [
{
host: 'ws1.0.0.0',
port: 80
},
@slickplaid
slickplaid / html5video.html
Created May 12, 2011 22:28 — forked from beastaugh/html5video.html
HTML5 video, falling back to Flowplayer
<div id="video-1-container" class="video">
<video id="video-1" src="video/html5.mp4" width="480" height="204" controls>
<!-- HTML5 video, for compatible browsers -->
</video>
</div>
<script type="text/javascript">
Ojay.onDOMReady(function() {
// The video and the container need separate IDs to work around IE6's
// unwillingness to locate video elements.