- German
- French
- Spanish
- Japanese
- Chinese (which?)
- Korean
- Russian
- Italian
- Arabic
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
| var record = { | |
| id: idgen(20) , | |
| data: { | |
| ip: parts[0], | |
| agent: parts[1], | |
| url: parts[2], | |
| referrer: parts[3], | |
| mobile: mobile | |
| } | |
| }; |
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
| var cluster = require('cluster') | |
| var multilevel = require('multilevel') | |
| var levelup = require('levelup') | |
| var db = levelup('./data') | |
| cluster.setupMaster({ | |
| exec: 'worker.js' | |
| }) | |
| cluster.fork() |
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
| writing "1234567890abcdef" 100 times | |
| native : 4ms (25000 ops/s) | |
| multilevel direct : 17ms (5882 ops/s) | |
| stream.js:94 | |
| throw er; // Unhandled stream error in pipe. | |
| ^ | |
| stream.js:94 |
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
| { "keys": ["super+shift+r"], "command": "reindent" } |
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
| JSON.stringify(o, null, 2) | |
| .split(/(,\n\s+)/) | |
| .map(function (e, i) { | |
| return i%2 ? '\n'+e.substring(4)+', ' : e | |
| }) | |
| .join('') |
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
| // 1.0 | |
| semver.satisfies('2.1.0', '>2.x.x') // true | |
| // 2.0 | |
| semver.satisfies('2.1.0', '>2.x.x') // false |
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
| I'll let you know when it's ready. |
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
| We'll let you know when it's ready. |
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
| { remain: [ 'i', 'mlb' ], | |
| cooked: [ 'i', 'mlb', '--save' ], | |
| original: [ 'i', 'mlb', '-S' ] } |