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 [ '/Users/me/.nvm/versions/node/v6.5.0/bin/node', | |
1 verbose cli '/Users/me/.nvm/versions/node/v6.5.0/bin/npm', | |
1 verbose cli 'dedupe' ] | |
2 info using [email protected] | |
3 info using [email protected] | |
4 silly loadCurrentTree Starting | |
5 silly install loadCurrentTree | |
6 silly install readLocalPackageData | |
7 silly dedupe normalizeTree |
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
// this function assumes the CSV has no fields with commas, | |
// and strips out all the double quotes | |
function parseCsvResponse(csvString) { | |
var retArray = []; | |
var strLines = csvString.split(/\n/g); | |
var strLineLen = strLines.length; | |
for (var i = 0; i < strLineLen; i++) { | |
var line = strLines[i]; | |
if (line != '') { |
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
RewriteEngine on | |
RewriteCond %{REQUEST_URI} ^/[.]git.* | |
RewriteRule ^ - [L,R=404] |
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
for (var k in widget) { | |
// connect to functions that start with 'on'. Seems pretty close to what we want... | |
if (k.substring(0,2) === 'on' && typeof this.editor[k] == 'function') { | |
(dojo.hitch(this, function (func) { | |
this.connect(widget, func, function () { | |
console.log("editor." + func); | |
}); | |
}))(k); | |
} | |
} |
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 | |
# kill (with extreme prejudice) | |
# ps -C skype,skype-wrapper -o pid= ==> displays only the PIDs of processes matching skype,skype-wrapper | |
# run it through sed, which removes the leading spaces, then does a multiline match, removing the newlines | |
kill -9 `ps -C skype,skype-wrapper -o pid= | sed -e 's/ //g' -e '/$/ { N; s/\n/ /; }'` |