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
root@roadrunner:/# cd /tmp | |
root@roadrunner:/# wget https://download.github.com/isaacs-npm-v0.1.23-0-g1c13d07.zip | |
root@roadrunner:/# unzip isaacs-npm-v0.1.23-0-g1c13d07.zip | |
root@roadrunner:/# cd isaacs-npm-1c13d07 | |
root@roadrunner:/# node cli.js install | |
root@roadrunner:/# npm -v | |
npm it worked if it ends with ok | |
npm cli [ '-v' ] | |
0.1.23 |
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
Stoyan's Slides | |
http://www.slideshare.net/stoyan | |
Luke's Slides | |
http://slidesha.re/ayTsaR | |
Stoyan's twitter | |
http://twitter.com/stoyanstefanov | |
Luke's twitter |
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
/* | |
The winner generator for SoCal.js November meetup | |
Be sure to `npm install yql` first! | |
Written by Derek Gathright (@derek) | |
*/ | |
var sys = require("sys"), |
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
// Create a JSONP wrapper | |
function executeYQL(yql, callbackFuncName) { | |
var url = "http://query.yahooapis.com/v1/public/yql?q=" + encodeURIComponent(yql) + "&env=store://datatables.org/alltableswithkeys&format=json&callback="+callbackFuncName; | |
var head = document.getElementsByTagName('head')[0]; | |
var script = document.createElement('script'); | |
script.type = 'text/javascript'; | |
script.src = url; | |
head.appendChild(script); | |
} |
NewerOlder