This file contains 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
http://kukulinski.com/the-hazards-of-proclaiming-fanatical-support/ | |
Please feel free to leave comments here. |
This file contains 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 fs = require('fs'); | |
var JSONStream = require('JSONStream') | |
var file = fs.createReadStream('yakkity.log', {encoding: 'utf8'}); | |
file.pipe(JSONStream.parse()) | |
.on('data', function(data) { | |
console.log(data); | |
}); |
This file contains 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, currently does nothing. TODO: emit non "error" | |
Worker.prototype.error = function(err, job) | |
{ | |
console.error(err.stack || err.message); | |
return this; | |
}; |
This file contains 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 readCurrencies = function(callback) { | |
var filepath = __dirname + '/../models/currencies.txt'; | |
var handleFileData = function handleFileData(err, data) { | |
if (err) { | |
return callback(err); | |
} | |
callback(null, convertToJson(data)); | |
}; | |
This file contains 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
[~]$ cat ~/npm-debug.log | |
0 info it worked if it ends with ok | |
1 verbose cli [ '/Users/rossk/.nvm/v0.10.25/bin/node', | |
1 verbose cli '/Users/rossk/.nvm/v0.10.25/bin/npm', | |
1 verbose cli 'install', | |
1 verbose cli '-g', | |
1 verbose cli 'bunyan' ] | |
2 info using [email protected] | |
3 info using [email protected] | |
4 verbose cache add [ 'bunyan', null ] |
This file contains 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 with inline authentication", | |
{ | |
"message": "Unable to identify target endpoint for Service: cloudBigData", | |
"stack": "Error: Unable to identify target endpoint for Service: cloudBigData\n at Object.exports.validateRegionForService (/usr/lib/nodejs/vocality/node_modules/node-cloud/node_modules/pkgcloud/lib/pkgcloud/openstack/identity/service.js:153:26)\n at /usr/lib/nodejs/vocality/node_modules/node-cloud/node_modules/pkgcloud/lib/pkgcloud/openstack/identity/serviceCatalog.js:72:13\n at iterate (/usr/lib/nodejs/vocality/node_modules/node-cloud/node_modules/pkgcloud/node_modules/async/lib/async.js:108:13)\n at /usr/lib/nodejs/vocality/node_modules/node-cloud/node_modules/pkgcloud/node_modules/async/lib/async.js:119:25\n at Object.exports.validateRegionForService (/usr/lib/nodejs/vocality/node_modules/node-cloud/node_modules/pkgcloud/lib/pkgcloud/openstack/identity/service.js:159:17)\n at /usr/lib/nodejs/vocality/node_modules/node-cloud/node_modules/pkgcloud/lib/pkgcl |
This file contains 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
[lib/instance.js] Error: error=Error: Unable to identify endpoint url | |
at Service.getEndpointUrl (/Users/rossk/dev/asti/vocality/node_modules/pkgcloud/lib/pkgcloud/openstack/context/service.js:106:11) | |
at /Users/rossk/dev/asti/vocality/node_modules/pkgcloud/lib/pkgcloud/openstack/context/serviceCatalog.js:47:25 | |
at Function._.each._.forEach (/Users/rossk/dev/asti/vocality/node_modules/pkgcloud/node_modules/underscore/underscore.js:86:24) | |
at ServiceCatalog.getServiceEndpointUrl (/Users/rossk/dev/asti/vocality/node_modules/pkgcloud/lib/pkgcloud/openstack/context/serviceCatalog.js:42:5) | |
at Identity.getServiceEndpointUrl (/Users/rossk/dev/asti/vocality/node_modules/pkgcloud/lib/pkgcloud/openstack/context/identity.js:247:32) | |
at /Users/rossk/dev/asti/vocality/node_modules/pkgcloud/lib/pkgcloud/openstack/client.js:141:41 | |
at Request._callback (/Users/rossk/dev/asti/vocality/node_modules/pkgcloud/lib/pkgcloud/openstack/context/identity.js:137:9) | |
at Request.self.callback (/Users/rossk/dev/a |
This file contains 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
<html> | |
<head> | |
<script src="https://speakit.io/static/js/SpeakItClient.js"></script> | |
<script> | |
// JavaScript | |
var SpeakIt = require('SpeakItClient'); | |
var sClient = new SpeakIt(); | |
sClient.on('ready', function() { | |
sClient.connect(); |
This file contains 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
#chat-box.ubuntu.hidden-xs | |
.closed | |
.pull-right | |
= link_to_function content_tag(:i, nil, class: 'glyphicon glyphicon-chevron-up').html_safe, 'chat.show()' | |
.m-l-small | |
= link_to_function 'Chat with us', 'chat.show()' | |
.opened{style: 'display: none'} | |
.header | |
.pull-right | |
= link_to_function content_tag(:i, nil, class: 'glyphicon glyphicon-plus-sign').html_safe, 'chat.maximize()', class: 'maximize', style: 'display: none' |
This file contains 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
bash-4.2# coreos-install -d /dev/mapper/rack--top-root -C stable -c cloud1.yml | |
Downloading and verifying coreos_production_image.bin.bz2... | |
--2014-09-30 23:39:50-- http://stable.release.core-os.net/amd64-usr/410.1.0/coreos_production_image.bin.bz2 | |
Resolving stable.release.core-os.net... 74.125.20.128, 2001:4860:400b:c01::80 | |
Connecting to stable.release.core-os.net|74.125.20.128|:80... connected. | |
HTTP request sent, awaiting response... 200 OK | |
Length: 188608448 (180M) [application/octet-stream] | |
Saving to: '/tmp/coreos-install.ab8Q0mg0lk/coreos_production_image.bin.bz2' | |
100%[================================================================================================================================================>] 188,608,448 2.92MB/s in 61s |
OlderNewer