I hereby claim:
- I am spro on github.
- I am spro (https://keybase.io/spro) on keybase.
- I have a public key whose fingerprint is C66D 0B30 C6AD 364F 48D5 F21F 087C 2F86 D07C 4554
To claim this, I am signing this object:
| knex = require('knex')(client: 'pg', connection: 'postgres:///test1') | |
| bookshelf = require('bookshelf')(knex) | |
| util = require 'util' | |
| inspect = (o) -> console.log util.inspect o.toJSON(), colors: true | |
| # Schema | |
| # ------ | |
| User = bookshelf.Model.extend |
| D = React.DOM | |
| Button = ({text, action}) -> | |
| D.button(onClick: action, text) | |
| # Views | |
| # ------------------------------------------------------------------------------ | |
| # <App> | |
| # - <Counter Collection> |
| 2014/08/21 08:52:13 [INFO] consul.fsm: snapshot created in 23.435us | |
| 2014/08/21 08:52:13 [INFO] raft: Starting snapshot up to 8232 | |
| 2014/08/21 08:52:13 [INFO] snapshot: Creating new snapshot at /tmp/consul/raft/snapshots/2-8232-2014-08-21T08:52:13.72566997-07:00.tmp | |
| 2014/08/21 08:52:13 [INFO] raft: Compacting logs from 1 to 8232 | |
| panic: runtime error: index out of range | |
| goroutine 30 [running]: | |
| runtime.panic(0x9bdc40, 0xf763fc) | |
| /opt/go/src/pkg/runtime/panic.c:279 +0xf5 | |
| encoding/binary.bigEndian.Uint64(0xf8f230, 0x0, 0x0, 0xc208201300) |
| fs = require 'fs' | |
| util = require 'util' | |
| exec = require('child_process').exec | |
| jsdom = require 'jsdom' | |
| jquery = require 'jquery' | |
| _ = require 'underscore' | |
| # Github APIs require a user agent to be set, so set one by default | |
| request = require('request') |
I hereby claim:
To claim this, I am signing this object:
| http = require 'http' | |
| url = require 'url' | |
| sharp = require 'sharp' | |
| request = require('request').defaults({ encoding: null }) | |
| config = | |
| PORT: 2455 | |
| server = http.createServer (req, res) -> |
| -- these occur frequently: | |
| ==20106== Conditional jump or move depends on uninitialised value(s) | |
| ==20106== at 0x810B6B6: ??? (in /usr/lib/libjpeg.so.8.0.2) | |
| ==20106== by 0x8107CA3: ??? (in /usr/lib/libjpeg.so.8.0.2) | |
| ==20106== by 0x810C682: ??? (in /usr/lib/libjpeg.so.8.0.2) | |
| ==20106== by 0x8106DC9: jpeg_read_scanlines (in /usr/lib/libjpeg.so.8.0 | |
| ==20106== by 0x77CB53F: read_jpeg_generate (jpeg2vips.c:932) | |
| ==20106== by 0x77F3A38: vips_region_generate (region.c:1074) | |
| ==20106== by 0x77F4B0F: vips_region_prepare_to_generate (region.c:1196) |
| *** Error in `node': corrupted double-linked list: 0x000000000a61c4b0 *** | |
| ======= Backtrace: ========= | |
| /usr/lib/libc.so.6(+0x72d7f)[0x7fb7d3285d7f] | |
| /usr/lib/libc.so.6(+0x7854e)[0x7fb7d328b54e] | |
| /usr/lib/libc.so.6(+0x795c9)[0x7fb7d328c5c9] | |
| /usr/lib/libjpeg.so.8(+0x2ce1d)[0x7fb7d218fe1d] | |
| /usr/lib/libjpeg.so.8(jpeg_abort+0x15)[0x7fb7d2175bf5] | |
| /usr/lib/libjpeg.so.8(jpeg_finish_decompress+0x54)[0x7fb7d2179ad4] | |
| /usr/lib/libvips.so.37(+0x11b318)[0x7fb7d297c318] | |
| /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x138)[0x7fb7d19b66a8] |
| insert_comment = ($comments, comment_data) -> | |
| # add this comment into the given $comments div somehow | |
| $ -> | |
| # create $comments | |
| $comments = $('<div id="comments">') | |
| $.get '/posts/123/comments.json', (comments_data) -> | |
| for comment_data in comments_data | |
| insert_comment $comments, comment_data |
| http = require 'http' | |
| fs = require 'fs' | |
| util = require 'util' | |
| qs = require 'querystring' | |
| get_score_data = -> | |
| http.get 'http://sports.espn.go.com/nfl/bottomline/scores', (res) -> | |
| data = '' | |
| res.on 'data', (chunk) -> | |
| data += chunk |