I hereby claim:
- I am itay on github.
- I am itay (https://keybase.io/itay) on keybase.
- I have a public key whose fingerprint is 5256 8905 7D8B CCDC 9243 E380 F663 D2E7 FB95 289C
To claim this, I am signing this object:
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
I hereby claim:
To claim this, I am signing this object:
//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(..); |
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.
<html> | |
<head> | |
<title>Cyclic Sankeys</title> | |
<style type="text/css"> | |
#chart { | |
height: 500px; | |
} | |
.node rect { | |
cursor: move; |
Octavian:~/work/pandabits ineeman$ jitsu deploy | |
info: Welcome to Nodejitsu nko3-pandabits | |
info: jitsu v0.11.0, node v0.8.9 | |
info: It worked if it ends with Nodejitsu ok | |
info: Executing command deploy | |
info: Analyzing application dependencies in node server.js | |
error: Error running command deploy | |
error: Unexpected token } | |
help: For help with this error contact Nodejitsu Support: | |
help: webchat: <http://webchat.nodejitsu.com/> |
location.displayName="*" location.country_code="United States" | rename location.displayName as place | rex field=place "(?<city>[^,]*), (?<state>.*)" | where state!="US" AND len(state)=2 |
#!/bin/bash | |
$SPLUNK_HOME/etc/apps/social/bin/httpstream.py --username="<your_twitter_username>" --password=<password> --https --host="stream.twitter.com" --path="/1.1/statuses/filter.json?track=election,elect,politics,political,politician,Obama,president,Romney,Republican,Democrat,Democratic,Senate,economy,vote,gov,dem,rep,teaparty,tea party,progressive,liberal,conservative,voting,student loans,jobs,Rock the Vote,Congress,economy,healthcare,obamacare,parents insurance,taxes,debt,immigration,education,convention,DNC,RNC,debate,voter ID,voter suppression,voter fraud,abortion,Civil Rights,Foreign Policy,Animal Rights,Same Sex Marriage,Energy,2nd Amendment Rights,Drug Laws,legalization" | |
PID="$!" | |
trap "kill $PID" exit INT TERM HUP | |
wait |
info it worked if it ends with ok | |
verbose cli [ 'node', '/Users/itay/.nvm/v0.6.6/bin/npm', 'install', 'jshint' ] | |
info using npm@1.1.0-beta-5 | |
info using node@v0.6.6 | |
verbose config file /Users/itay/.npmrc | |
verbose config file /Users/itay/.nvm/v0.6.6/etc/npmrc | |
verbose config file /Users/itay/.nvm/v0.6.6/lib/node_modules/npm/npmrc | |
verbose caching /Users/itay/node_modules/docco/package.json | |
verbose loadDefaults docco@0.3.0 | |
verbose caching /Users/itay/node_modules/ejs/package.json |