This file contains hidden or 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
| IP_ADDRESS=10.0.1.16 npm start | |
| > [email protected] start /home/ozten/Projects/browserid | |
| > ./scripts/run_locally.js | |
| The "sys" module is now called "util". It should have a similar interface. | |
| node.js:201 | |
| throw e; // process.nextTick error, or 'error' event on first tick | |
| ^ |
This file contains hidden or 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
| t$ npm install jwcrypto | |
| npm WARN [email protected] package.json: bugs['web'] should probably be bugs['url'] | |
| npm http GET https://registry.npmjs.org/jwcrypto/0.1.1 | |
| npm http 304 https://registry.npmjs.org/jwcrypto/0.1.1 | |
| npm http GET https://registry.npmjs.org/browserify/1.8.1 | |
| npm http GET https://registry.npmjs.org/optimist/0.2.6 | |
| npm http GET https://github.com/benadida/node-bigint/tarball/2ac68 | |
| npm http 304 https://registry.npmjs.org/optimist/0.2.6 | |
| npm http 304 https://registry.npmjs.org/browserify/1.8.1 | |
| npm http 200 https://github.com/benadida/node-bigint/tarball/2ac68 |
This file contains hidden or 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
| IP_ADDRESS=10.0.1.16 npm start | |
| > [email protected] start /home/ozten/Projects/browserid | |
| > ./scripts/run_locally.js | |
| node.js:201 | |
| throw e; // process.nextTick error, or 'error' event on first tick | |
| ^ | |
| Error: Cannot find module './libs/all' |
This file contains hidden or 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
| clortho$ npm install ldapjs | |
| npm http GET https://registry.npmjs.org/ldapjs/0.4.8 | |
| npm http 304 https://registry.npmjs.org/ldapjs/0.4.8 | |
| npm http GET https://registry.npmjs.org/asn1/0.1.11 | |
| npm http GET https://registry.npmjs.org/nopt/1.0.10 | |
| npm http GET https://registry.npmjs.org/buffertools/1.0.6 | |
| npm http GET https://registry.npmjs.org/dtrace-provider/0.0.3 | |
| npm http GET https://registry.npmjs.org/sprintf/0.1.1 | |
| npm http 304 https://registry.npmjs.org/asn1/0.1.11 | |
| npm http 200 https://registry.npmjs.org/nopt/1.0.10 |
This file contains hidden or 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
| } | |
| resp.on('header', function (a, b, c) { | |
| console.log('boo ya', a, b, c); | |
| resp.removeHeader('ETag'); | |
| resp.removeHeader('Last-Modified'); | |
| }); | |
| next(); | |
| }; |
This file contains hidden or 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
| $ npm test | |
| > [email protected] test /home/ozten/Projects/browserid | |
| > ./scripts/run_all_tests.sh | |
| The "sys" module is now called "util". It should have a similar interface. | |
| CANNOT TEST 'test_mysql' ENVIRONMENT: can't connect to the database | |
| The "sys" module is now called "util". It should have a similar interface. | |
| Testing with NODE_ENV=test_json | |
| tests/add-email-with-assertion-test.js |
This file contains hidden or 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
| export.assets = { | |
| js: { | |
| "/production/en_US/dialog.min.js": | |
| [ | |
| "/lib/jquery.js", | |
| "/shared/foo.js" | |
| ] | |
| }, | |
| css: { | |
| "/production/main.min.css": |
This file contains hidden or 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
| /* Copy any mo file to /tmp/any.mo | |
| Comment and uncomment _p to repro. */ | |
| var fs = require('fs'), | |
| path=require('path'), | |
| //_p = require('postprocess'), | |
| Gettext = require('node-gettext'); | |
| var locale = "eo", |
This file contains hidden or 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
| const fs = require('fs'); | |
| var s = fs.ReadStream("./dialog.orig.js"); | |
| s.setEncoding('utf8'); | |
| var buf; | |
| s.on('data', function(chunk) { | |
| if (buf) buf += chunk; | |
| else buf = chunk; |
This file contains hidden or 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
| #!/usr/bin/env node | |
| /* | |
| Deploy above resources directory. | |
| */ | |
| const path = require('path'), | |
| express = require('express'); | |
| app = express.createServer(); | |
| app.use(express.static(path.join(__dirname, "resources", "static"))); |