Skip to content

Instantly share code, notes, and snippets.

View blewa's full-sized avatar

Aaron Blew blewa

  • CaptivateIQ
  • Portland, OR
View GitHub Profile

Keybase proof

I hereby claim:

  • I am blewa on github.
  • I am aaronblew (https://keybase.io/aaronblew) on keybase.
  • I have a public key ASD6R0y4TxkHlrOSfAA7ifQDxmUB32E4QL1G73_p9mMzHAo

To claim this, I am signing this object:

@blewa
blewa / ws-test.html
Created October 5, 2015 16:18
EventMachine WS Crash
<!DOCTYPE html>
<html lang="en">
<body>
<script>
// websocket setup
var websocket = new WebSocket('ws://localhost:8123');
// var websocket = new WebSocket('ws://' + window.location.hostname + ':8080');
websocket.onmessage = function(msg) {
console.log('got a moo');
};