Skip to content

Instantly share code, notes, and snippets.

Avatar

Terence Lee hone

View GitHub Profile
View speaker.md
View disconnect.rb
#!/usr/bin/env ruby
## disconnect
# ./disconnect.rb -u yourusername
#
# This is a command-line utility for the bulk-downloading of run data from
# the connect.garmin.com web application, which has lackluster export
# capabilities.
#
@hone
hone / speaker.md
Created Jul 1, 2012 — forked from matiaskorhonen/speaker.md
Frozen Rails Talk Proposal Template (http://2012.frozenrails.eu/)
View speaker.md
@hone
hone / speaker.md
Created Jul 1, 2012 — forked from matiaskorhonen/speaker.md
Frozen Rails Talk Proposal Template (http://2012.frozenrails.eu/)
View speaker.md
View gist:2295728
class NewCard
attr_reader :cardname
def initialize(name, life, damage)
@cardname = name
@life = life
@damage = damage
end
def card
View things.rb
things = Thing.order("id DESC").limit(100)
while things.any?
things.each do |thing|
# stuff
end
things = Thing.order("id DESC").limit(100).where(["id < ?", things.last.id])
end
View .gems
mislav-will_paginate -s http://gems.github.com
libxml-ruby
rest-client -s http://gems.github.com
plist
aws-s3
htmlentities
paperclip
wireframe-apn_on_rails
configatron
geokit
View gist:572925
.gems
rails --version 2.3.4
aws-s3
warden --ignore-depedencies
bcrypt-ruby
devise --ignore-dependencies
validatable
RedCloth
json
View gist:242352
require 'optparse'
require 'scanner/scanner'
module SC
class SimpleCompilerError < RuntimeError
end
class CommandOptionError < RuntimeError
end
View gist:242351
require 'optparse'
require 'scanner/scanner'
module SC
class SimpleCompilerError < RuntimeError
end
class CommandOptionError < RuntimeError
end
You can’t perform that action at this time.