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
/** | |
* Module dependencies. | |
*/ | |
var express = require('express'); | |
var app = module.exports = express.createServer(); | |
// Configuration |
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
Here's the results: | |
alfred@ubuntu:~/apps/test/node_modules/tar$ npm test | |
> [email protected] test /home/alfred/apps/test/node_modules/tar | |
> tap test/*.js | |
ok test/00-setup-fixtures.js ............................ 4/4 | |
not ok test/extract.js ................................ 13/44 |
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
alfred@ubuntu:~/apps/duty$ npm install request -ddd | |
npm info it worked if it ends with ok | |
npm verb cli [ 'node', | |
npm verb cli '/home/alfred/.nvm/v0.6.14/bin/npm', | |
npm verb cli 'install', | |
npm verb cli 'request', | |
npm verb cli '-ddd' ] | |
npm info using [email protected] | |
npm info using [email protected] | |
npm verb config file /home/alfred/.npmrc |
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 client = new xmpp.Client({ | |
jid: '[email protected]', // where 123456 is the users facebook id | |
api_key: apiKey, // api key of your facebook app | |
secret_key: secretKey, // secret key of your facebook app | |
session_key: sessionKey, // users current session key | |
host: 'chat.facebook.com' | |
}); | |
// you can find more details here http://developers.facebook.com/docs/chat/ |
NewerOlder