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
#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: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
@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.
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"
@ ruby-1.8.7 Mon Apr 11 16:52:51 rick@Yer-Moms-Computer-2
~/git (work)$ gem install git-pulls
Successfully installed addressable-2.2.5
Successfully installed hashie-1.0.0
Successfully installed multipart-post-1.1.0
Successfully installed faraday-0.5.7
Successfully installed faraday_middleware-0.3.2
Successfully installed multi_json-0.0.5
Successfully installed multi_xml-0.2.2
Successfully installed octokit-0.5.1
$('div.message').html(function(index, oldhtml) { return oldhtml.replace(/Removing/,'Fucking'); });
#!/bin/sh -x
HOSTNAME=`hostname`
wd deploy --to=dotfiles:${HOSTNAME} --path=https://github.com/rick/deploy/raw/master/dotfiles.yml