Skip to content

Instantly share code, notes, and snippets.

View ewollesen's full-sized avatar

Eric Wollesen ewollesen

  • Salt Lake City, UT
View GitHub Profile
@ewollesen
ewollesen / iterator_and_visitor.md
Created March 27, 2013 23:40
Talking points for an informal talk given at work.

Iterator

What is it?

What's good about it?

What's bad about it?

@ewollesen
ewollesen / EAC_Setup.txt
Created March 25, 2013 19:46
My recommended setup for ripping music for insertion into [Mildred](http://mildred.xmtp.net).
EAC setup 2008-04-14
Notes:
Entries beginning with a * represent prompts answered on the
screen. Entries beginning with a ! represent actions taken
outside of the software world.
Wizard:
@ewollesen
ewollesen / decorator_and_strategy.md
Created March 20, 2013 22:35
Talking points for an informal talk given at work.

Decorator

What is it?

Decorator allows you to alter the behavior of a specific object instance. Behavior can be added, changed, or removed.

What's good about it?

  • Doesn't require inheritance (a bonus when working with ActiveRecord).
# OLD run_test
def run_test
if @headless
headless = Headless.new
headless.start
end
if @browser == :safari
b = Watir::Safari.new