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
TAP version 13 | |
# Subtest: pmctl | |
working dir for /home/sam/w/sn/strong-pm/test/test-pmctl-local.js is /home/sam/w/sn/strong-pm | |
exec `git clean -f -d -x .` | |
exec `git init` | |
exec `git add .` | |
exec `git commit --author="sl-pm-test <[email protected]>" -m initial` | |
exec `node "/home/sam/w/sn/strong-pm/node_modules/strong-build/bin/sl-build.js" --install --commit` | |
test/app built succesfully | |
pmcli: /home/sam/w/sn/strong-pm/bin/sl-pm.js [ '--base=.strong-pm', '--listen=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
#!/bin/sh | |
WHAT="/home/sam/w rsync.net:" | |
LOG="--itemize-changes" | |
# --log-file=../backup-w.log | |
rsync -az -h --progress --delete --partial -F $LOG $WHAT |
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
/* | |
* Sample command line parser. | |
* | |
* Implements sub-commands with their own option handlers. | |
* | |
*/ | |
#include <assert.h> | |
#include <stdarg.h> | |
#include <stdio.h> |
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_modules |
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
sam@samtu:~/w/sn/strong-build (feature/git-cleanup u=) % rm -rf node_modules | |
sam@samtu:~/w/sn/strong-build (feature/git-cleanup u=) % npm install | |
npm WARN deprecated [email protected]: Please upgrade to v1.0.2 or higher | |
[email protected] node_modules/debug | |
[email protected] node_modules/posix-getopt | |
[email protected] node_modules/async | |
[email protected] node_modules/shelljs |
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
1. sync chat: slack, irc, etc. | |
2. async: email | |
3. video: hangouts... | |
asana... | |
perch? | |
mozilla: do they have resources on sucessful patterns of remote work? |
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
0 info it worked if it ends with ok | |
1 verbose cli [ '/usr/local/bin/node', | |
1 verbose cli '/usr/local/bin/npm', | |
1 verbose cli 'install', | |
1 verbose cli '-g', | |
1 verbose cli 'strong-cli' ] | |
2 info using [email protected] | |
3 info using [email protected] | |
4 verbose node symlink /usr/local/bin/node | |
5 verbose cache add [ 'strong-cli', 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
var assert = require('assert'); | |
var spawn = require('child_process').spawn; | |
module.exports = function Command(command, npmModule) { | |
return function(argv, options, loader) { | |
var options = { | |
env: process.env, | |
stdio: 'inherit', | |
windowsVerbatimArguments: true |
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
{ | |
"main": "zoning.js" | |
} |
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
> try{require('/etc/passwd')}catch(e){console.log('e<', e, '>')} | |
/etc/passwd:1 | |
unction (exports, require, module, __filename, __dirname) { root:x:0:0:root:/r | |
^ | |
e< [SyntaxError: Unexpected token :] > | |
undefined | |
> ^[[A^[[A^[[A |