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
root@ip-10-143-152-37 cassandra]# /usr/local/cassandra/bin/nodetool -h localhost netstatsMode: Bootstrapping | |
Not sending any streams. | |
Nothing streaming from /10.143.152.214 | |
Pool Name Active Pending Completed | |
Commands n/a 0 913 | |
Responses n/a 0 40414 |
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
adf |
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
exports.github = function (req, res) { | |
res.redirect(config.Github.API_ROOT + config.Github.PATH_AUTHENTICATE + '?client_id=' + config.Github.CLIENT_ID); | |
}; | |
exports.githubCallback = function (req, res) { | |
var code = req.query.code; | |
var post_data = querystring.stringify({ | |
code: code | |
, client_id: config.Github.CLIENT_ID |
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 get_info = function(list_id, callback) { | |
// do something and callback with list_info for list_id; | |
callback(null, list_info); | |
}; | |
var list = [1,2,3,4,5]; | |
for(var i = 0; i < list.length; i++) { | |
var list_id = list[i]; | |
get_info(list_id, function (error, list_info) { | |
// do work on list info and save new data based on list_id; |
NewerOlder