Skip to content

Instantly share code, notes, and snippets.

View benlovell's full-sized avatar
🕺
Dancing

Ben Lovell benlovell

🕺
Dancing
  • Ben Lovell Ltd
  • London, United Kingdom
View GitHub Profile
@benlovell
benlovell / Contract Killer 3.md
Last active August 29, 2015 14:27 — forked from malarkey/Contract Killer 3.md
The latest version of my ‘killer contract’ for web designers and developers

Contract Killer

The popular open-source contract for web designers and developers by Stuff & Nonsense

  • Originally published: 23/12/2008
  • Revised date: 15/12/2013
  • Original post

@benlovell
benlovell / benlovell.md
Last active August 29, 2015 13:57 — forked from matiaskorhonen/speaker.md
Frozen Rails 2014 proposal
*FFF*F
Pending:
Item can be completed
# Not yet implemented
# ./spec/models/item_spec.rb:11
Item starts as incomplete
# Not yet implemented
# ./spec/models/item_spec.rb:9
@benlovell
benlovell / rspec_stub_chain_if_spec.rb
Created September 27, 2012 10:54 — forked from deepak/rspec_stub_chain_if_spec.rb
mocking stub chains with an assertion if the final call is made
# mocking stub chains with an assertion if the final call is made
# check https://github.com/rspec/rspec-mocks/issues/133 and
# https://groups.google.com/d/topic/rspec/Dc98rP-3IFM/discussion
require 'rspec'
class DevOps
attr_reader :monitor
def initialize(monitor = Monitor.new)
@benlovell
benlovell / url_dsl.rb
Created December 27, 2009 16:17 — forked from defunkt/url_dsl.rb
require 'open-uri'
# url dsl -- the ultimate url dsl!
#
# You just can't beat this:
#
# $ irb -r url_dsl
# >> include URLDSL
# => Object
# >> http://github.com/defunkt.json