Skip to content

Instantly share code, notes, and snippets.

View hnaoto's full-sized avatar
💭
"What I cannot create, I do not understand." -- Richard Feynman

Trinity Xia hnaoto

💭
"What I cannot create, I do not understand." -- Richard Feynman
View GitHub Profile
@mattness
mattness / functions.js
Created January 29, 2016 04:26
Anonymous vs Named functions in backtraces
var EventEmitter = require('events').EventEmitter;
var e = new EventEmitter();
e.on('something', function() {
throw new Error('anonymous function crash');
});
e.on('something_else', function foo() {
throw new Error('named function crash');
});
@hkhamm
hkhamm / installing_cassandra.md
Last active June 27, 2024 21:46
Installing Cassandra on Mac OS X

Installing Cassandra on Mac OS X

Install Homebrew

Homebrew is a great little package manager for OS X. If you haven't already, installing it is pretty easy:

ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"