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
package com.qrhook.www; | |
/*import android.app.Activity;*/ | |
import android.os.Bundle; | |
import org.apache.cordova.*; | |
import com.strumsoft.websocket.phonegap.WebSocketFactory; | |
public class QRHookActivity extends DroidGap { |
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
npm http request PUT https://registry.npmjs.org/carpenterd-worker | |
npm http 200 https://registry.npmjs.org/carpenterd-worker | |
+ carpenterd-worker@1.5.0 | |
~/g/g/carpenterd-worker ❯❯❯ npm view carpenterd-worker | |
npm http request GET https://registry.npmjs.org/carpenterd-worker | |
npm http 200 https://registry.npmjs.org/carpenterd-worker | |
carpenterd-worker@1.4.0 | MIT | deps: 19 | versions: 10 | |
Receives and runs builds received from nsqd | |
https://github.com/godaddy/carpenterd-worker#readme |
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
const http = require('http'); | |
const fs = require('fs'); | |
const concat = require('concat-stream'); | |
var server = http.createServer(function (req, res) { | |
console.log(`Received request ${req.url}`); | |
if (req.method === 'POST') { | |
return req.pipe(concat(function (body) { |
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 whateverCsv = fs.readFileSync('whatever.csv'); | |
var otherCsv = fs.readFileSync('other.csv'); | |
var lines = content.split('\n'); | |
var columnNamesArray = lines[0].split(','); | |
var firstColumnName = columnNamesArray[0]; |
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
data: xx.x.xxx.xx npm -g update npm | |
data: xx.x.xxx.xx npm | |
data: xx.x.xxx.xx http GET https://registry.npmjs.org/npm | |
data: xx.x.xxx.xx npm | |
data: xx.x.xxx.xx http 200 https://registry.npmjs.org/npm | |
data: xx.x.xxx.xx npm | |
data: xx.x.xxx.xx http GET https://registry.npmjs.org/npm/-/npm-1.3.23.tgz | |
data: xx.x.xxx.xx npm http 200 https://registry.npmjs.org/npm/-/npm-1.3.23.tgz | |
data: xx.x.xxx.xx npm | |
data: xx.x.xxx.xx http GET https://registry.npmjs.org/npm/1.3.23 |
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
TypeError: Cannot call method 'indexOf' of undefined | |
at ServerResponse.res.location (/home/app/nko4/source/node_modules/express/lib/response.js:645:13) | |
at ServerResponse.res.redirect (/home/app/nko4/source/node_modules/express/lib/response.js:701:8) | |
at app.get.invite (/home/app/nko4/source/controllers/login.coffee:27:18) | |
at callbacks (/home/app/nko4/source/node_modules/express/lib/router/index.js:164:37) | |
at setReturnTo (/home/app/nko4/source/controllers/login.coffee:22:12) | |
at callbacks (/home/app/nko4/source/node_modules/express/lib/router/index.js:164:37) | |
at param (/home/app/nko4/source/node_modules/express/lib/router/index.js:138:11) | |
at pass (/home/app/nko4/source/node_modules/express/lib/router/index.js:145:5) | |
at Router._dispatch (/home/app/nko4/source/node_modules/express/lib/router/index.js:173:5) |
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
TypeError: Cannot read property 'admin' of undefined | |
at /home/app/nko4/source/controllers/middleware.coffee:33:22 | |
at ensureAuth (/home/app/nko4/source/controllers/middleware.coffee:23:12) | |
at module.exports.ensureAccess (/home/app/nko4/source/controllers/middleware.coffee:32:14) | |
at callbacks (/home/app/nko4/source/node_modules/express/lib/router/index.js:164:37) | |
at Promise.<anonymous> (/home/app/nko4/source/controllers/middleware.coffee:67:18) | |
at Promise.<anonymous> (/home/app/nko4/source/node_modules/mongoose/node_modules/mpromise/lib/promise.js:162:8) | |
at Promise.EventEmitter.emit (events.js:95:17) | |
at Promise.emit (/home/app/nko4/source/node_modules/mongoose/node_modules/mpromise/lib/promise.js:79:38) | |
at Promise.fulfill (/home/app/nko4/source/node_modules/mongoose/node_modules/mpromise/lib/promise.js:92:20) |
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
FROM | |
ChildProcess.spawn (child_process.js:927:11) | |
exports.spawn (child_process.js:715:9) | |
runFs (/opt/local/lib/node_modules/solenoid/lib/solenoid.js:314:5) | |
/opt/local/lib/node_modules/solenoid/node_modules/async/lib/async.js:594:23 | |
/opt/local/lib/node_modules/solenoid/node_modules/async/lib/async.js:508:21 | |
/opt/local/lib/node_modules/solenoid/node_modules/async/lib/async.js:224:13 | |
/opt/local/lib/node_modules/solenoid/node_modules/async/lib/async.js:108:13 | |
_each (/opt/local/lib/node_modules/solenoid/node_modules/async/lib/async.js:32:24) | |
async.each (/opt/local/lib/node_modules/solenoid/node_modules/async/lib/async.js:107:9) |
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
~$ | |
xcuserdata | |
build | |
Icon | |
.fseventsd | |
.VolumeIcon.icns | |
.DS_Store | |
*~.nib | |
*.xcworkspace | |
*.swp |
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 BufferedList = require('bl'); | |
var source = new BufferedList(), | |
middle = new BufferedList(); | |
// | |
// Buffer a bunch of strings. | |
// | |
for (var i = 0; i < 1000; i++) { | |
source.append('push: ' + i + '\n'); |
NewerOlder