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
| $ make | |
| cancer_wm.c: In function ‘main’: | |
| cancer_wm.c:29:5: warning: ISO C90 forbids mixed declarations and code [-pedantic] | |
| cancer_wm.c:33:18: warning: assignment makes integer from pointer without a cast [enabled by default] | |
| cancer_wm.c:213:17: warning: enumeration value ‘_’ not handled in switch [-Wswitch] | |
| cancer_wm.c:259:30: warning: assignment makes integer from pointer without a cast [enabled by default] | |
| cancer_wm.c:285:55: warning: ‘start.button’ may be used uninitialized in this function [-Wmaybe-uninitialized] | |
| cancer_wm.c:283:19: warning: ‘start.y_root’ may be used uninitialized in this function [-Wmaybe-uninitialized] | |
| cancer_wm.c:282:19: warning: ‘start.x_root’ may be used uninitialized in this function [-Wmaybe-uninitialized] | |
| cancer_wm.c:153:29: warning: ‘*((void *)&order+4)’ may be used uninitialized in this function [-Wmaybe-uninitialized] |
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 zlib = require('zlib'); | |
| var util = require('util'); | |
| var fs = require('fs'); | |
| var stream = require('stream'); | |
| var async = require('async'); | |
| function FileStream (transform, encoding) { | |
| stream.Stream.apply(this); |
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
| function Queue () { | |
| if(!(this instanceof Queue)) return new Queue(); | |
| } | |
| Queue.prototype.push = function push(e) { | |
| return this._q.unshift(e); | |
| }; | |
| Queue.prototype.shift = function shift() { | |
| return this._q.pop(); |
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
| > tap test/*.js | |
| not ok test/sh.js ....................................... 1/3 | |
| Command: "node" "sh.js" | |
| TAP version 13 | |
| not ok 1 TypeError: Unsupported fd type: TTY | |
| --- | |
| type: TypeError | |
| message: Unsupported fd type: TTY | |
| code: ~ |
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
| 0 info it worked if it ends with ok | |
| 1 verbose cli [ '/usr/local/bin/node', | |
| 1 verbose cli '/usr/local/bin/npm', | |
| 1 verbose cli 'install', | |
| 1 verbose cli 'grunt' ] | |
| 2 info using npm@1.2.32 | |
| 3 info using node@v0.10.12 | |
| 4 verbose read json /home/floby/octo/mission/corsair/visual/Visual/package.json | |
| 5 warn package.json visual@0.0.0 No repository field. | |
| 6 verbose from cache /home/floby/octo/mission/corsair/visual/Visual/package.json |
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
| [user] | |
| name = Florent Jaby | |
| email = fjaby@octo.com | |
| [color] | |
| ui = auto | |
| [core] | |
| whitespace = trailing-space,space-before-tab | |
| [diff] | |
| renames = copies | |
| mnemonicsprefix = true |
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 util = require('util'); | |
| var ws = require('ws'); | |
| var DuplexStream = require('stream').Duplex; | |
| var Stream = module.exports = function Stream(uri) { | |
| if(!(this instanceof Stream)) return new Stream(uri); | |
| DuplexStream.apply(this); | |
| this.setEncoding('utf8'); | |
| this._connected = false; | |
| this._writeQueue = []; |
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
| App.Router.map(function() { | |
| this.resource('post', { path: '/post/:post_id' }, function() { | |
| this.route('edit'); | |
| this.resource('comments', function() { | |
| this.route('new'); | |
| }); | |
| }); | |
| }); |
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
| ### Keybase proof | |
| I hereby claim: | |
| * I am floby on github. | |
| * I am floby (https://keybase.io/floby) on keybase. | |
| * I have a public key whose fingerprint is FDD2 33DF BC30 CED5 471A F992 41C2 B498 488A 51CF | |
| To claim this, I am signing this object: |
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 | |
| var fs = require('fs'); | |
| var async = require('async'); | |
| async.parallel([ | |
| copyFile.bind(null, 'resources/file1.txt', 'resources/file1_copy.txt'), | |
| copyFile.bind(null, 'resources/file2.txt', 'resources/file2_copy.txt'), | |
| copyFile.bind(null, 'resources/file3.txt', 'resources/file3_copy.txt') | |
| ], function (err, results) { |