Skip to content

Instantly share code, notes, and snippets.

View rick's full-sized avatar
🎧
Quietly doing

Rick Bradley rick

🎧
Quietly doing
View GitHub Profile
I was part of the small group (wearing suits even, when in Brentwood, dress like the Brentwoodians, I suppose) who went to Wilson and Associates' attorneys offices to deliver a letter asking them to reconsider supporting Chase's efforts to foreclose on a 78-year-old civil rights activist. Chase's chosen alternative to working with Miss Bailey is to lose $20K-$30K by taking the property to a foreclosure auction.
We made no secret that we were coming to deliver a letter. They refused to open the door to their reception office when we knocked, repeatedly. Then the UPS delivery man wheeled his cart out and we let him through, only to find there had been people hiding (literally hiding) behind the door to shove it closed immediately behind him.
After that they refused to open, to answer their phones, and ultimately called security and police to have us leave the premises (we were as peaceful and quiet as it comes, for the record -- film forthcoming). We tried to slide our letter under the door and it was block
~/git/santorum (import_export_etc)$ irb
ruby-1.8.7-p334 :001 > def self() self end
nil
ruby-1.8.7-p334 :002 > alias yermom self
nil
ruby-1.8.7-p334 :003 > class << yermom
ruby-1.8.7-p334 :004?> end
nil
ruby-1.8.7-p334 :005 >
@rick
rick / 001-Isolate
Created November 15, 2011 00:17
the reality of using a "microframework"
# what I put in an Isolate gem list, ok, so "gem install isolate" first...
gem "sinatra", "1.3.1"
gem "haml", "3.1.3"
gem "sass", "3.1.10"
gem "activerecord", "3.1.1"
gem "sqlite3", "1.3.4"
gem "sinatra-activerecord", "0.1.3"
gem "rack", "1.3.5"
gem "bacon", "1.1.0"
#OccupyNashville has been given 24hrs to disband or be evicted by the Police. Let the following people know that you support the occupation. We are the 99%!
Mayor of Nashville (Karl Dean) (615) 862-6000 mayor@nashville.gov
TN Govenor (Bill Haslam) 615-741-2001 bill.haslam@tn.gov
Chief of Police (Steve Anderson) 615-862-7301 chief@police.nashville.org
Director of Metro Council (John Cooper) 615-862-6780
Also, we need headcount AND numbers. Just because you are here does not mean you will be arrested. Peacefully comply, be mature..and aid where you can..but we need you on the Plaza as much as possible.
@ ruby-1.8.7 Tue Oct 04 22:50:04 rick@Yer-Moms-Computer-2
~/git/whiskey_disk (develop)$ irb
'aruby-1.8.7-p302 :001 > 'foo'.collect {|x| x }
[
[0] "foo"
]
ruby-1.9.2-p180 :002 > 'foo'.collect {|x| x }
@rick
rick / gist:1159081
Created August 20, 2011 13:05
cqrs stuffs
Must-watch video with Greg Young:
http://vimeo.com/13852695
Other links:
http://cqrsinfo.com/
http://elegantcode.com/2009/11/11/cqrs-la-greg-young/
@rick
rick / gist:1025667
Created June 14, 2011 19:33
extra patterns that emerged in our book club discussion of Domain Driven Design
Some new relationships between Bounded Contexts:
The Double Agent:
Starts out as a Conformist or Customer/Supplier. You fail. So you start replacing / wrapping parts of the upstream. You ultimately leave your job and go work for them.
The Subversive:
You are in a Conformist or Customer/Supplier situation. You eventually cannot get the data you need. You reverse-engineer or hack the stream/library where the data exists to get what you need. You realize this gives you a competitive advantage and decide not to push for upstream changes.
@rick
rick / gist:1025754
Created June 14, 2011 20:07
Shit I hate more than terrorism
* Nickelback (thanks, Woody)
* Almost every single state senator, state house representative, and federal senator for the state of Tennessee
* social media wankers
* ... especially who think they're "geeks"
* ColdFusion
* Java
* back-rooming real estate "developers"
* spammers
* Microsoft Windows
* XML
Choosing the Right Platform for Your Business: Security, Scalability, and Interoperability (Cumberland) 9:45 - 10:30
Kate O’Neill, Founder & CEO, [meta] marketer (Moderator)
Michael Rhoden, Franklin American Mortgage Company (Panelist) - JAVA
Brian Dailey, Founder, Realm 3 (Panelist) - LAMP Stack
Chris McPherson, Firefly Logic (Panelist) - .net
Rick Bradley, OG Consulting (Panelist) - Ruby on Rails
Bobby Stokes, HCA (Panelist) - Multiple, mostly .net
@rick
rick / Isolate
Created April 26, 2011 18:50
isolate is not full of shit (unlike bundler, which is)
gem "sinatra", "1.2.3"
gem "haml", "3.1.0"
gem "activerecord", "3.0.5"
gem "sqlite3", "1.3.3"
gem "sinatra-activerecord", "0.1.3"
gem "padrino-helpers", "0.9.23"