Skip to content

Instantly share code, notes, and snippets.

View andypike's full-sized avatar

Andy Pike andypike

View GitHub Profile

https://www.reddit.com/r/HermitCraft/comments/6mn4cx/hermitcraft_advancements_spreadsheet/

Hermit name Advancement title Requirement(s)
BDoubleO Sneaky Real Estate killed a villager in a village
BDoubleO Taxman picked up a stack of/64 emeralds
BDoubleO The Old School Way fish in a boat
Biffa Advanced Brewing drink a healing potion named "English Breakfast Tea"
Biffa Biffa's Bowl throw a bowl in to a (deep) ocean named "Biffa's Bowl"
Biffa The Agency make a potion called "tea" or "Tea"
# Multiple inheritance with Modules as an alternative to injected composition
# from Sandi Metz's talk [Nothing is Something](http://confreaks.tv/videos/bathruby2015-nothing-is-something)
# Like Sandi's 'direct' DI method this has behavior outside of the base class
# that gets composed together. However in this gist I compose modules in class
# definitions instead of injecting collaborators.
# Tradeoffs between this and Sandi's version are that in this case the API consumer doesn't
# have to know how to make a RandomEchoHouse (no `house = House.new(formatter: Whatever.new)`),
# but also the API consumer can't make anything not already accounted for either.
@coreyhaines
coreyhaines / .rspec
Last active August 15, 2024 15:13
Active Record Spec Helper - Loading just active record
--colour
-I app