a list of slides from nodeconf
you may want to take a look at the jsconf-gist too!
var User = resourcer.define('User', function () { | |
}); | |
User.get('some-user', function (err, obj) { | |
obj.dont_update_me = 'foo'; | |
User.update('some-user', { update_this_instead: true }, function () { | |
// |
[api]: New apis / changes to apis | |
[test]: Update test/* files | |
[dist]: Changes to submodules, version bumps, updates to package.json | |
[minor]: Small changes | |
[doc]: Updates to documentation | |
[ux]: Updates to UX | |
[fix]: Bug fixes | |
[bin]: Update binary scripts associated with the project | |
[merge]: Resolved git merge from upstream or otherwise | |
[refactor]: Refactor of existing code with no external API changes |
$ require-analyzer --update | |
info: require-analyzer starting in /Users/Charlie/GitHub/forever | |
warn: No dependencies found | |
info: Analyzing dependencies... | |
info: Done analyzing raw dependencies | |
info: Retrieved packages from npm | |
info: Additional dependencies found | |
data: { | |
data: daemon: '>= 0.3.0', | |
data: nconf: '>= 0.1.7', |
var http = require('http'), | |
httpProxy = require('http-proxy'); | |
// | |
// Create a new instance of HttProxy to use in your server | |
// | |
var proxy = new httpProxy.HttpProxy(); | |
var apacheUrls = [ | |
/some\/url\/as\/a\/regexp/, |
Track A | |
Bytes and Blobs – David Flanagan @__DavidFlanagan | |
Slides: http://davidflanagan.com/Talks/jsconf11/BytesAndBlobs.html | |
Conference Wifi Redux - Malte Ubi @cramforce | |
Sashimi: https://github.com/cramforce/Sashimi | |
Slides: http://social-traffic.streamie.org/preso/static/#slide1 | |
Run Your JS everywhere with Jellyfish – Adam Christian @admc |
a list of slides from nodeconf
you may want to take a look at the jsconf-gist too!
$ sudo npm install require-analyzer -g | |
npm info it worked if it ends with ok | |
npm info using [email protected] | |
npm info using [email protected] | |
npm info addNamed [ 'require-analyzer', '' ] | |
npm info fetch http://registry.npmjs.org/require-analyzer/-/require-analyzer-0.1.4.tgz | |
npm info shasum eba958f548db6a3bc5e06351bdca308c0da9653a | |
npm info shasum /tmp/npm-1305347953854/1305347953854-0.9087109575048089/tmp.tgz | |
npm info shasum a5b9f6713415722b052a7b833d3364bced300f7d | |
npm info shasum /Users/Charlie/.npm/require-analyzer/0.1.4/package.tgz |
$ sudo npm link . | |
npm info it worked if it ends with ok | |
npm info using [email protected] | |
npm info using [email protected] | |
npm info unbuild /Users/Charlie/GitHub/docco/node_modules | |
npm info build /Users/Charlie/GitHub/docco/node_modules | |
npm ERR! Error: ENOENT, No such file or directory '/Users/Charlie/GitHub/docco/node_modules/package.json' | |
npm ERR! Report this *entire* log at: | |
npm ERR! <http://github.com/isaacs/npm/issues> | |
npm ERR! or email it to: |
usage: forever [action] [options] SCRIPT [script-options] | |
Monitors the script specified in the current process or as a daemon | |
actions: | |
start Start SCRIPT as a daemon | |
stop Stop the daemon SCRIPT | |
stopall Stop all running forever scripts | |
restart Restart the daemon SCRIPT | |
list List all running forever scripts |
var winston = require('winston'), | |
loggly = require('loggly'); | |
var client = loggly.createClient({ | |
subdomain: "your-subdomain", | |
auth: { | |
username: "your-username", | |
password: "your-password" | |
} | |
}); |