This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
error_handler = Proc.new { |status, msg| print status, msg } | |
Analytics.init(secret: "mysecret", on_error: error_handler) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"sublimelinter": "load-save", | |
"jshint_options": | |
{ | |
"browser": true, | |
"eqeqeq": true, | |
"evil": true, | |
"expr": true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"alignment_chars": | |
[ | |
"=", | |
":" | |
], | |
"alignment_prefix_chars": | |
[ | |
"+", | |
"-", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var _ = require('underscore'), | |
rabbit = require('rabbit-pool'), | |
logging = require('logging')(module); | |
var exchange, | |
handlers = {}, | |
messages = []; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var helenus = require('helenus'); | |
pool = new helenus.ConnectionPool({ | |
hosts : ['localhost:9160'], | |
keyspace : 'segmentio', | |
timeout : 3000 | |
}); | |
pool.on('error', function(err){ | |
console.error(err.name, err.message); |
NewerOlder