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 UnitConversion = {}; | |
UnitConversion.convert = function(from, to, callback) { | |
jQuery.get('http://www.sabberworm.com/get_file/units/', {from: from, to: to}, callback); | |
}; | |
UnitConversion.conversionFinished = function(data, textStatus) { | |
if(data.indexOf('invalid') !== -1) { | |
displayMessage(data); | |
return; |
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
justin@justinbeeper:/var/projects/chat/server/tests/Socket.io-node-client$ ls | |
README.md example io-client.js socket.io-node | |
justin@justinbeeper:/var/projects/chat/server/tests/Socket.io-node-client$ pwd | |
/var/projects/chat/server/tests/Socket.io-node-client | |
justin@justinbeeper:/var/projects/chat/server/tests/Socket.io-node-client$ | |
justin@justinbeeper:/var/projects/chat/server/tests/Socket.io-node-client$ | |
justin@justinbeeper:/var/projects/chat/server/tests/Socket.io-node-client$ pwd | |
/var/projects/chat/server/tests/Socket.io-node-client | |
justin@justinbeeper:/var/projects/chat/server/tests/Socket.io-node-client$ ls | |
README.md example io-client.js socket.io-node |
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
$ node lockerd.js | |
[19:30:04][Locker] lservicemanager lockerPortNext = 18042 | |
[19:30:05][Locker][ERROR] mongod err: execvp(): No such file or directory | |
[19:30:05][Locker][ERROR] mongod did not start successfully. | |
node.js:134 | |
throw e; // process.nextTick error, or 'error' event on first tick | |
^ |
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
back | |
Installed: Error: EBADF, Bad file descriptor '/Users/tomlong/code/l/Locker/Me/apikeys.json' at Object.openSync (fs.js:221:18) at Object.readFileSync (fs.js:112:15) at Object.install (/Users/tomlong/code/l/Locker/Common/node/lservicemanager.js:162:37) at Object. (/Users/tomlong/code/l/Locker/Ops/webservice.js:160:35) at param (/Users/tomlong/code/l/Locker/node_modules/connect/lib/middleware/router.js:147:21) at param (/Users/tomlong/code/l/Locker/node_modules/connect/lib/middleware/router.js:158:15) at pass (/Users/tomlong/code/l/Locker/node_modules/connect/lib/middleware/router.js:163:10) at Object.router [as handle] (/Users/tomlong/code/l/Locker/node_modules/connect/lib/middleware/router.js:169:6) at next (/Users/tomlong/code/l/Locker/node_modules/connect/lib/http.js:204:15) at IncomingMessage. (/Users/tomlong/code/l/Locker/node_modules/connect/lib/middleware/bodyParser.js:73: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
[ | |
{"place_id":"12737120", | |
"licence":"Data Copyright OpenStreetMap Contributors, Some Rights Reserved. CC-BY-SA 2.0.", | |
"osm_type":"way", | |
"osm_id":"4575088", | |
"boundingbox":["52.5484962463379","52.5541725158691","-1.82789421081543","-1.81536257266998"], | |
"lat":"52.551287631174", | |
"lon":"-1.8216638436186", | |
"display_name":"Pilkington Avenue, Castle Vale, City of Birmingham, West Midlands, England, B72, United Kingdom", | |
"class":"highway", |
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
Tom-Longsons-MacBook-Pro:site tomlong$ git pull | |
Already up-to-date. | |
Tom-Longsons-MacBook-Pro:site tomlong$ npm install | |
Tom-Longsons-MacBook-Pro:site tomlong$ node server.js | |
node.js:134 | |
throw e; // process.nextTick error, or 'error' event on first tick | |
^ | |
TypeError: Cannot read property 'slaveOk' of undefined |
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
Tom-Longsons-MacBook-Pro:Locker tomlong$ curl http://npmjs.org/install.sh | sh | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 3927 100 3927 0 0 11563 0 --:--:-- --:--:-- --:--:-- 24543 | |
Installing without make. This may fail. | |
fetching: http://registry.npmjs.org/npm/-/npm-1.0.23.tgz | |
0.4.8 | |
1.0.23 | |
cleanup prefix=/usr/local |
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
nym> i'm by no means a security expert, but i do have some basic security concerns about npm with respect to The Locker Project | |
[1:30 PM] <isaacs> nym: yeah, i'm working on that :) | |
[1:31 PM] <nym> cool, just mentioning it because our use case is protecting personal data | |
[1:31 PM] → liquidproof ([email protected]) joined | |
[1:31 PM] <isaacs> nym: the short answer for now is to set up a registry internally, configure couch to always require auth and only be accessible via https, and set npm to always-auth as well. | |
[1:32 PM] → cafesofie and tristanseifert joined | |
[1:33 PM] <isaacs> nym: fairly soon, the registry will send out a cert for "registry.npmjs.org" (instead of one for *.iriscouch.com) and the client will validate that. | |
[1:33 PM] ⇐ dherman ([email protected]) quit: Quit: dherman | |
[1:33 PM] <isaacs> nym: you're not using npm to send and fetch your actual personal data you store, are you...? | |
[1:33 PM] → Gus and Cleer joined |
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
/* | |
SublimeLinter default settings | |
*/ | |
{ | |
/* | |
Sets the mode in which SublimeLinter runs: | |
true - Linting occurs in the background as you type (the default). | |
false - Linting only occurs when you initiate it. | |
"load-save" - Linting occurs only when a file is loaded and saved. |
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
/* | |
SublimeLinter default settings | |
*/ | |
{ | |
/* | |
Sets the mode in which SublimeLinter runs: | |
true - Linting occurs in the background as you type (the default). | |
false - Linting only occurs when you initiate it. | |
"load-save" - Linting occurs only when a file is loaded and saved. |
OlderNewer