I hereby claim:
- I am CobyR on github.
- I am cobyr (https://keybase.io/cobyr) on keybase.
- I have a public key whose fingerprint is 2FB5 6443 C21F 8342 74DC 2D06 9066 FAD5 1CE1 82CD
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
supports partial dating, ie:
supports easy tagging
supports location
require 'rubygems' | |
require 'geek_painter' | |
master_piece = GeekPainter.paint do | |
label "# \\t ".in(:white) | |
#label "[".in(:brown) | |
#label "\\u".in :light_gray | |
#label "@".in :yellow | |
#label "\\h".in :light_gray | |
#label "]".in(:brown) |
require 'test_helper' | |
class DevelopmentManagerTest < Test::Unit::TestCase | |
fixtures :development_managers | |
fixtures :teams | |
def setup | |
@candidate = development_managers(:ideal) | |
@team = teams(:web_tier) |
When we agreed that the marriage | |
was over and that it would be okay | |
by each of us to pursue happiness | |
with someone else, I really had no | |
idea how much it would hurt when | |
she did. |
require 'nokogiri' | |
namespace :import do | |
desc "Import XML file" | |
task :xml => :environment do | |
xml_file = File.dirname(__FILE__) + "/../../db/one.xml" | |
rtf_directory = File.dirname(__FILE__) + "/../../db/txt/" | |
puts "DESTROYING! " |
def self.search what, where | |
x = Vendetta::Business.find(:all, | |
:conditions => { | |
:search_terms => what, | |
:geo_location_terms => where, | |
} | |
) | |
x.map { |y| with y } | |
end |
require 'date' | |
class Time | |
# Returns a new Time, +years+ later than this time. Feb 29 of a | |
# leap year will be rounded up to Mar 1 if the target date is not a leap | |
# year. | |
def plus_year(years) | |
Time.local(year + years, month, day, hour, min, sec, usec) | |
end | |
# Returns a new Time, +months+ later than this time. The day will be | |
# rounded down if it is not valid for that month. |
require 'rubygems' | |
require 'geek_painter' | |
master_piece = GeekPainter.paint do | |
label "\\# \\t ".in(:white) | |
#label "[".in(:brown) | |
#label "\\u".in :light_gray | |
#label "@".in :yellow | |
#label "\\h".in :light_gray | |
#label "]".in(:brown) |
# set prompt | |
export PS1=`ruby ~/bin/master-prompt.rb` |