Skip to content

Instantly share code, notes, and snippets.

View pkoch's full-sized avatar

Paulo Koch pkoch

View GitHub Profile
@pkoch
pkoch / enumerable_collate.gemspec
Created June 3, 2012 19:10 — forked from hugopeixoto/enumerable_collate.gemspec
Allows for iteration of multiple enumerables
Gem::Specification.new do |s|
s.name = 'enumerable_collate'
s.version = '0.1.0'
s.platform = Gem::Platform::RUBY
s.author = 'Hugo Peixoto'
s.email = 'hugo.peixoto@gmail.com'
s.summary = 'Enumerable Collate'
s.description = 'Allows for iteration of multiple enumerables'
s.files = ['enumerable_collate.rb']
@pkoch
pkoch / gist:1903728
Created February 24, 2012 21:03 — forked from dx7/gist:1333785
Installing ruby-debug with ruby-1.9.3
# Install with:
# bash < <(curl -L https://raw.github.com/gist/1903728)
#
# Reference: http://blog.wyeworks.com/2011/11/1/ruby-1-9-3-and-ruby-debug
# Stop on errors
set -e
echo "Downloading linecache19-0.5.13"
curl -sS -OL http://rubyforge.org/frs/download.php/75414/linecache19-0.5.13.gem