Skip to content

Instantly share code, notes, and snippets.

View zzo's full-sized avatar

Mark Trostler zzo

View GitHub Profile
[
{
"method": "Network.requestWillBeSent",
"params": {
"requestId": "F64EEE5F8CA7C3C531714B9410C214AB",
"loaderId": "F64EEE5F8CA7C3C531714B9410C214AB",
"documentURL": "http://google.com/",
"request": {
"url": "http://google.com/",
"method": "GET",
@zzo
zzo / gist:1624635
Created January 17, 2012 04:21
am i krazy?
[ps48174]$ cp /tmp/f.js .
[ps48174]$ node f.js
[ '/home/trostler/.node_modules',
'/home/trostler/.node_libraries',
'/usr/local/lib/node' ]
[ps48174]$ node /tmp/f.js
[ '/home/trostler/.node_modules',
'/home/trostler/.node_libraries',
'/usr/local/lib/node' ]
@zzo
zzo / gist:1115063
Created July 30, 2011 01:09
on other box with different arch...
node.js:134
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: Cannot find module '../build/default/glob'
at Function._resolveFilename (module.js:317:11)
at Function._load (module.js:262:25)
at require (module.js:346:19)
at Object.<anonymous> (/Users/trostler/node_modules/jute/node_modules/.npm/glob/2.0.7/package/lib/glob.js:3:15)
at Module._compile (module.js:402:26)
at Object..js (module.js:408:10)
@zzo
zzo / gist:1115057
Created July 30, 2011 01:06
npm install
[ps48174]$ sudo npm install
[sudo] password for trostler:
> glob@2.0.7 preinstall /home/trostler/JUTE/backend/nodejute/node_modules/glob
> node-waf clean || true; node-waf configure build
Nothing to clean (project not configured)
Checking for program g++ or c++ : /usr/bin/g++
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar