- Twitter: @hone02
- Website or Blog: http://hone.heroku.com
- Company: Example Ltd. http://www.heroku.com
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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. | |
# |
- Email: [email protected]
- Twitter: @hone02
- Website or Blog: http://hone.heroku.com
- Company: Heroku
- Email: [email protected]
- Twitter: @hone02
- Website or Blog: http://hone.heroku.com
- Company: Heroku
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class NewCard | |
attr_reader :cardname | |
def initialize(name, life, damage) | |
@cardname = name | |
@life = life | |
@damage = damage | |
end | |
def card |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.gems | |
rails --version 2.3.4 | |
aws-s3 | |
warden --ignore-depedencies | |
bcrypt-ruby | |
devise --ignore-dependencies | |
validatable | |
RedCloth | |
json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'optparse' | |
require 'scanner/scanner' | |
module SC | |
class SimpleCompilerError < RuntimeError | |
end | |
class CommandOptionError < RuntimeError | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'optparse' | |
require 'scanner/scanner' | |
module SC | |
class SimpleCompilerError < RuntimeError | |
end | |
class CommandOptionError < RuntimeError | |
end |
NewerOlder