Skip to content

Instantly share code, notes, and snippets.

@reidmix
reidmix / gist:b6905fd81d9256b98bce
Last active August 29, 2015 14:03
Tenants without Openstack IDs
CODE PK TENANT NAME
dfw2 281 production_eds-production-dfw2
dfw2 282 production_eds
dfw2 283 production_eds_2-production-dfw2
dfw2 284 SLP-prod-creation-non-production-dfw2
dfw2 403 T1
iad1 427 Marks IAD Playground-prod-iad1
dfw2 429 Marks DFW2 Test Tenant-non-prod-dfw2
iad1 440 t2platform02
iad1 447 blowmage
@reidmix
reidmix / xine.plan
Created August 11, 2012 19:06
.xine's .plan .from .'93
"Wow... I never imagined all the things I could do with you and rice in a
shopping cart... " --Matt Willis, on the way down Boynton Hill
"Behind every great man is a great woman;
behind every great woman is a preening fag." --Kids in the Hall
{by which theory, i should be a *really* great woman...}
"If you do not wish death, then how about a rubber chicken?" --The Muppet Show
ActionMailer::Base.class_eval do
adv_attr_accessor :layout
private
def render_with_layout_option opts
# test for nil allows for layout => false
opts[:layout] = self.layout unless self.layout.nil?
render_without_layout_option opts
end
alias_method_chain :render, :layout_option
# This is for your entertainment only. Use at your own risk.
#
# allour ApplicationController do
# ohai(:each) do
# @lol = 'spek'
# end
#
# canhaz "should work" do
# @lol.should == 'spek'
# end