Skip to content

Instantly share code, notes, and snippets.

@cjihrig
cjihrig / mdb.md
Last active August 29, 2015 14:06 — forked from tjfontaine/mdb.md

MDB is unlike most debuggers you've experienced.

It is not a source level debugger like gdb or lldb or even Node's builtin debugger

Generally used for postmortem analysis.

Postmortem is for Production and Development

We operate mostly on core files, though you can attach to running processes as well.

@cjihrig
cjihrig / install.md
Created August 20, 2014 23:16 — forked from geek/install.md
@cjihrig
cjihrig / Proxying Server Sent Events Using Hapi.md
Last active June 24, 2017 03:56
Proxying Server Sent Events Using Hapi
  1. Place server.js and sse.html in the same directory
  2. npm install hapi nipple
  3. node server.js
  4. In browser that supports Server Sent Events, navigate to http://localhost:3000/sse.html
  • Navigating to this page triggers a connection to /stream.
  • /stream connects to /events and proxies the data back to the client.
  • /events provides the actual Server Sent Events stream.