Skip to content

Instantly share code, notes, and snippets.

View jpemberthy's full-sized avatar

Juan Pemberthy jpemberthy

View GitHub Profile
@jpemberthy
jpemberthy / gist:1058616
Created July 1, 2011 14:11 — forked from leemcalilly/gist:1019409
Milestones | 3.1 App

Milestones

  • Includes All Features Critical to Launching 3.1 App

Milestone Estimations

July 1 - Completed Items

  • User profiles and sign up (includes welcome page)
  • Events
  • Blog
  • Partners
def sidebar_link(text, image, url)
img = image_tag(image, :class => "icon")
link = link_to(url) { img + text }
content_tag("li", link)
end
@jpemberthy
jpemberthy / gist:1093744
Created July 19, 2011 21:18 — forked from leemcalilly/gist:1019409
Milestones | 3.1 App

Milestones

  • Includes All Features Critical to Launching 3.1 App

Milestone Estimations

July 1 - Completed Items

  • User profiles and sign up (includes welcome page)
  • Events
  • Blog
  • Partners
@jpemberthy
jpemberthy / foo.rb
Created January 16, 2012 22:23 — forked from febuiles/foo.rb
class Foo
foo = %w(a b c)
BAR = %w(a b c)
foo.each do |method|
define_method(method) { p method.upcase! }
end
BAR.each do |method|
define_method(method.upcase!) { p method }