I hereby claim:
- I am chjj on github.
- I am chjj (https://keybase.io/chjj) on keybase.
- I have a public key whose fingerprint is B4B1 F62D BAC0 84E3 33F3 A04A 8962 AB9D E666 6BBD
To claim this, I am signing this object:
exports.normalize = function normalize(signature) { | |
var data, p, len, rlen, slen; | |
if (Buffer.isBuffer(signature)) | |
signature = Array.prototype.slice.call(signature); | |
else if (typeof signature === 'string') | |
signature = utils.toArray(signature, 'hex'); | |
data = signature.slice(); | |
p = { place: 0 }; |
┌─ chjj@slickrick ~/work/node_modules/bcoin [wallet-bip45$] | |
└ $ git push origin wallet-bip45 | |
Counting objects: 7, done. | |
Delta compression using up to 4 threads. | |
Compressing objects: 100% (7/7), done. | |
Writing objects: 100% (7/7), 1.38 KiB | 0 bytes/s, done. | |
Total 7 (delta 5), reused 0 (delta 0) | |
remote: /data/github/current/config/basic.rb:67:in `require': cannot load such file -- /data/github/current//data/github/current/vendor/ruby/b3255a8b572160bf249b5019c1ec93e667d547ee/lib/ruby/2.1.0/x86_64-linux/rbconfig.rb (LoadError) | |
remote: from /data/github/current/config/basic.rb:67:in `require' | |
remote: from /data/github/current/config/basic.rb:210:in `<top (required)>' |
I hereby claim:
To claim this, I am signing this object:
var fs = require('fs'); | |
var assert = require('assert'); | |
var bcoin = require('bcoin'); | |
var bn = require('bn.js'); | |
var parser = new bcoin.protocol.parser; | |
var wallet = new bcoin.wallet({ | |
pub: bcoin.utils.fromBase58('hY29VUa4xfrs4vDUd4aF3cjkMoH5xegU6VzGNBqjTtCm') | |
}); |
/home/cjj/work/node_modules/square/lib/square.js:1517 | |
return fn(err); | |
^ | |
TypeError: undefined is not a function | |
at done (/home/cjj/work/node_modules/square/lib/square.js:1517:14) | |
at reduced (/home/cjj/work/node_modules/square/lib/square.js:1430:21) | |
at /home/cjj/work/node_modules/square/node_modules/async/lib/async.js:251:13 | |
at /home/cjj/work/node_modules/square/node_modules/async/lib/async.js:133:21 | |
at /home/cjj/work/node_modules/square/node_modules/async/lib/async.js:248:17 | |
at preprocessing (/home/cjj/work/node_modules/square/lib/square.js:708:27) |
var blessed = require('../') | |
, screen; | |
screen = blessed.screen({ | |
dump: __dirname + '/logs/focus-bug.log', | |
smartCSR: true | |
}); | |
var lorem = require('fs').readFileSync(__dirname + '/git.diff', 'utf8'); |
#!/bin/sh | |
pandoc -t html -o - -f pdf "$1" | w3m -T text/html |
Without code block: | |
* item | |
one | |
* item | |
two | |
* * * | |
paragraph | |
*** |
function toUnderscore(obj) { | |
if (typeof obj !== 'object' || obj === null) { | |
return obj; | |
} | |
if (Array.isArray(obj)) { | |
return obj.forEach(toUnderscore); | |
} | |
Object.keys(obj).forEach(function (key) { | |
if (/[a-z][A-Z]/.test(key)) { | |
var k = key.replace(/([a-z])([A-Z])/g, '$1_$2').toLowerCase(); |
var http = require('http'); | |
var pty = require('pty.js'); | |
var server = http.createServer(function(req, res) { | |
var ua = req.headers['user-agent'] || ''; | |
if (!~ua.indexOf('curl/')) { | |
res.setHeader('Content-Type', 'text/plain'); | |
return res.end('curl -sSNT. localhost:8000'); | |
} |