Skip to content

Instantly share code, notes, and snippets.

@itay
itay / 0_reuse_code.js
Last active August 29, 2015 14:16
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
//modinput.js
//A few prototypes namely Arg and Event are introduced to make the code more readable, toolable (syntax completion in editors/ides)
//and less error prone.
var splunk = require('splunk-sdk');
var mod = splunk.modularInput;
var logger = mod.logger;
// logger.info(..);
// logger.error(..);
@itay
itay / README.md
Last active August 29, 2015 13:56 — forked from tnightingale/README.md

This hexbin map shows the proximity of earthquakes (magnitude 3.0 or greater) in the Canterbury region of New Zealand during the month of September, 2010.

The map is created using Leaflet. The hexbin layer is a custom Leaflet layer which uses d3js to generate a svg hexbin overlay. The source for the custom leaflet layer is viewable here.

Earthquake data sourced from GeoNet.

@itay
itay / index.html
Last active December 23, 2015 23:09 — forked from kunalb/index.html
<html>
<head>
<title>Cyclic Sankeys</title>
<style type="text/css">
#chart {
height: 500px;
}
.node rect {
cursor: move;