I hereby claim:
- I am codenirvana on github.
 - I am codenirvana (https://keybase.io/codenirvana) on keybase.
 - I have a public key ASBP2UHdme1PtmOoDChk0QZvSfTQz65VKT_aSMmkgR0Ojwo
 
To claim this, I am signing this object:
| # list of IPs from https://docs.travis-ci.com/user/ip-addresses/ | |
| ## Linux and Windows | |
| npm token create --cidr=$(echo $(dig +short {nat.gce-us-central1.travisci.net,nat.gce-us-east1.travisci.net}) | sed 's_ _/32,_g')/32 | |
| ## OSX | |
| npm token create --cidr=$(echo $(dig +short nat.macstadium-us-se-1.travisci.net) | sed 's_ _/32,_g')/32 | |
| ## ALL | |
| npm token create --cidr=$(echo $(dig +short nat.travisci.net) | sed 's_ _/32,_g')/32 | 
| Promise.prototype.safe = function () { | |
| return this.then(data => { | |
| if (data instanceof Error) return [data]; | |
| return [null, data]; | |
| }).catch(err => [err]); | |
| } | |
| // const [err, result] = await promise.safe(); | 
| const proxy = new Proxy(() => proxy, { get: () => proxy }); | |
| // proxy.do().whatever.you.want().to.do() | 
| this.value = 0; // global, window, or globalThis ¯\_(ツ)_/¯ | |
| Object.defineProperty(this, 'a', { | |
| get: () => ++this.value | |
| }); | 
| const a = { | |
| value : 0, | |
| valueOf: () => ++a.value | |
| }; | 
I hereby claim:
To claim this, I am signing this object:
| const net = require('net'); | |
| net.createServer(function (socket) { | |
| socket.on('data', function (chunk) { | |
| socket.write('HTTP/1.1 200 Ok\r\n'); | |
| socket.write('\r\n'); | |
| socket.write(chunk.toString()); | |
| socket.end(); | |
| }); | |
| }).listen(3000); | 
| const http = require('http'); | |
| const server = http.createServer(); | |
| server.on('connection', (socket) => { | |
| socket.end(`HTTP/1.1 204 No Content | |
| Content-Length: 12 | |
| Content-Type: text/plain | |
| Hello World!`); | |
| }); | 
| require('http') | |
| .createServer((req, res) => req.pipe(res)) | |
| .listen(8080); |