Skip to content

Instantly share code, notes, and snippets.

@jssuttles
jssuttles / Instructions
Created July 19, 2016 06:02
murmurhash arguments
To run this:
sudo npm i -g nw@0.15.4-sdk
Navigate to folder where this is saved:
nw .
This should pop up the chrome devtools and display the error in the console.
I attempted this on a Mac.
@jssuttles
jssuttles / csv-to-json.js
Last active April 30, 2021 11:54 — forked from iwek/csv-to-json.js
CSV to JSON Conversion in JavaScript
//var csv is the CSV contents with headers
function csvJSON(csv){
var lines=csv.split('\n');
var result = [];
var headers=lines[0].split(',');
lines.splice(0, 1);
lines.forEach(function(line) {