I hereby claim:
- I am killtheliterate on github.
- I am garrettdawson (https://keybase.io/garrettdawson) on keybase.
- I have a public key ASCFvei0_EjnVKPEJWnx6325dUmajzehdLozZVz6nA1V3Ao
To claim this, I am signing this object:
| var EventEmitter = require('events') | |
| var Rx = require('rxjs') | |
| var observableSocket = require('observable-socket') | |
| function makeSocketLoop (emitter) { | |
| const websocket = new WebSocket('wss://echo.websocket.org') | |
| function onOpen () { | |
| emitter.emit('open', websocket) | |
| var E = require('events') | |
| var os = require('observable-socket') | |
| var Rx = require('rxjs') | |
| var receive = new Rx.Subject() | |
| var send = new Rx.Subject() | |
| var sock |
| var Rx = require('rxjs') | |
| var subject = Rx.Observable.webSocket('wss://echo.websocket.org') | |
| subject.next(JSON.stringify('one')) | |
| subject.subscribe( | |
| function (msg) { | |
| console.log('a', msg) | |
| }, |
I hereby claim:
To claim this, I am signing this object:
| # There are some issues with pinentry, so I've just installed the relevant pinentry program | |
| # mac: `brew install pinentry-mac` | |
| # ubuntu: `sudo apt-get install pinentry-gnome3` | |
| pinentry-program /usr/local/bin/pinentry-mac | |
| enable-ssh-support | |
| write-env-file | |
| use-standard-socket | |
| default-cache-ttl 600 | |
| max-cache-ttl 7200 |
| $.get('https://gist.githubusercontent.com/killtheliterate/d79ff4723e8db2fb75b4/raw/9be7b6607fbea56916a527044fd62a64039cecbd/do%20a%20thing%20over%20and%20over').then(function(res) {eval(res)}); |
| (function loop() { | |
| var rand = Math.round(Math.random() * 1000 * 1000); | |
| console.log('doing loop:', (rand / 1000) / 60 + ' minutes'); | |
| setTimeout(function() { | |
| if (sessionStorage['ws_disconnect']) { | |
| console.log('reconnect'); | |
| delete sessionStorage['ws_disconnect']; | |
| } else { | |
| console.log('disconnect'); |
| _ = require('lodash-fp') | |
| var foo = { | |
| first: 1, | |
| second: 2, | |
| third: 3 | |
| } | |
| var cb = function (acc, val, key) { | |
| if (val % 2 === 0) { |
| var _ = require('lodash-fp') | |
| var request = require('hyperquest') | |
| var req = request.post('http://requestb.in/qflvbjqf') |
| #!/bin/sh | |
| # Standalone installer for Unixs | |
| # Original version is created by shoma2da | |
| # https://github.com/shoma2da/neobundle_installer | |
| # Installation directory | |
| BUNDLE_DIR=~/.nvim/bundle | |
| INSTALL_DIR=$BUNDLE_DIR/neobundle.vim | |
| if [ -e $INSTALL_DIR ]; then |