Skip to content

Instantly share code, notes, and snippets.

View yubik9's full-sized avatar
🏠
Working from home

Yubik9 yubik9

🏠
Working from home
View GitHub Profile
## 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] == "==="
@yubik9
yubik9 / gist:4143295
Created November 25, 2012 12:18
test code.
def show
@engagement = Engagement.find_by_acceptance_token params[:id]
respond_to do |format|
format.html do
render
end
format.body do
@template = Liquid::Template.parse(@engagement.practice.default_engagement_letter)