Skip to content

Instantly share code, notes, and snippets.


This document was originally posted on 8/1/2013.

Rocket is a technique for building real-time functionality on top of REST web services that leverages web standards like [Server-Sent Events][SSE] and [JSON Patch][RFC6902]. Most importantly, it fits comfortably with how you're already building applications.

A Tale of Two Paradigms

Just as light can act as both a particle and a wave, so information can be thought as both a document and a stream.

Each approach has its particular strengths and weaknesses:

markpundsack / heroku-CVE-2013-0156.rb
Last active Mar 16, 2019 — forked from elliottkember/heroku-CVE-2013-0156.rb
Forked from by elliottkember. CVE-2013-0156 is a nasty vulnerability in many versions of Rails. This script checks all your Heroku apps for this vulnerability in one quick (slow) move. More info:!topic/rubyonrails-security/61bkgvnSGTQ/discussion
View heroku-CVE-2013-0156.rb
## The quick-and-nasty CVE-2013-0156 Heroku inspector!
## Originally brought to you by @elliottkember with changes by @markpundsack @ Heroku
## Download and run using:
## ruby heroku-CVE-2013-0156.rb
`heroku list`.split("\n").each do |app|
app = app.strip
# Some "heroku apps" lines have === formatting for grouping. They're not apps.
next if app[0..2] == "==="
markpundsack / gist:2492606
Created Apr 25, 2012
Heroku Status API v3
View gist:2492606

Heroku Status API v3 (second draft)

Get current status

$ curl ""

Get list of issues (optionally limited by date or count)