Skip to content

Instantly share code, notes, and snippets.

> [email protected] install /usr/local/notifier/node_modules/simple-log/node_modules/node-syslog
> node-gyp rebuild
npm verb set uid from=0 to=1505
gyp info it worked if it ends with ok
gyp verb cli [ 'node',
gyp verb cli '/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli 'rebuild' ]
gyp info using [email protected]
gyp info using [email protected] | linux | ia32
ryan@lisa ~/workspace/node-syslog$ npm install 1 ↵ master
> [email protected] install /Users/ryan/workspace/node-syslog
> node-gyp rebuild
gyp http GET http://nodejs.org/dist/v0.8.6/node-v0.8.6.tar.gz
gyp http 200 http://nodejs.org/dist/v0.8.6/node-v0.8.6.tar.gz
gyp ERR! build error
gyp ERR! stack Error: not found: make
gyp ERR! stack at F (/usr/local/lib/node_modules/npm/node_modules/which/which.js:43:28)
npm info it worked if it ends with ok
npm verb cli [ '/usr/local/bin/node',
npm verb cli '/usr/local/bin/npm',
npm verb cli 'install',
npm verb cli '--verbose' ]
npm info using [email protected]
npm info using [email protected]
npm verb config file /root/.npmrc
npm verb config file /usr/local/etc/npmrc
npm verb config file /usr/local/lib/node_modules/npm/npmrc
root@beta:/usr/local/node-syslog# rm node_modules -r
root@beta:/usr/local/node-syslog# npm install
npm WARN cannot run in wd [email protected] node-gyp rebuild (wd=/usr/local/node-syslog)
root@beta:/usr/local/node-syslog# npm install --unsafe-perm
> [email protected] install /usr/local/node-syslog
> node-gyp rebuild
python: can't open file '/root/.node-gyp/0.8.6/tools/gyp_addon': [Errno 2] No such file or directory
gyp ERR! configure error
root@beta:/usr/local/node-syslog# rm node_modules -r
root@beta:/usr/local/node-syslog# npm install
npm WARN cannot run in wd [email protected] node-gyp rebuild (wd=/usr/local/node-syslog)
root@beta:/usr/local/node-syslog# npm install --unsafe-perm
> [email protected] install /usr/local/node-syslog
> node-gyp rebuild
python: can't open file '/root/.node-gyp/0.8.6/tools/gyp_addon': [Errno 2] No such file or directory
gyp ERR! configure error
#!/bin/bash
self="$(basename "$(test -L "$0" && readlink "$0" || echo "$0")")"
if [ -r "/tmp/${self}.pid" ]; then
pid=`cat /tmp/${self}.pid`
echo "Looks like the minifier is already running with pid=$pid!";
echo "Checking to see if PID $pid is still running...";
if [ -d "/proc/$pid" ]; then
echo "Yup, it's really running according to /proc/$pid!"
alias g=git
alias ga='git add'
alias gb='git branch'
alias gba='git branch -a'
alias gc='git commit -v'
alias gca='git commit -v -a'
alias gcl='git config --list'
alias gcm='git checkout master'
alias gco='git checkout'
alias gcount='git shortlog -sn'
[alias]
br = branch
ci = commit
co = checkout
df = diff
g = grep -I
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%ci) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative --all
pb = publish-branch
sm = show-merges
st = status
{
"auto_complete_commit_on_tab": true,
"auto_complete_with_fields": true,
"auto_indent": true,
"bold_folder_labels": true,
"caret_style": "phase",
"color_scheme": "Packages/Color Scheme - Default/Solarized (Dark).tmTheme",
"default_line_ending": "unix",
"detect_indentation": true,
"drag_text": false,
"use strict";
module.exports = function(grunt) {
// Override process.stdout to log the name+args of the current task before
// every logged line.
var hooker = require('hooker');
var newline = true;
hooker.hook(process.stdout, 'write', function(str) {
var prefix = grunt.task.current.nameArgs;