Skip to content

Instantly share code, notes, and snippets.

View bdimcheff's full-sized avatar

Brandon Dimcheff bdimcheff

View GitHub Profile
[color]
diff = auto
status = auto
branch = auto
interactive = auto
[core]
excludesfile = /Users/[homedir]/.gitignore
[merge]
tool = opendiff
[alias]
def each_pair(&block)
each_with_index do |word, index|
yield word + self[index + 1]
end
end
before "deploy:setup", "db:configure"
after "deploy:update_code", "db:symlink"
set(:database_username, "arubything")
# set(:database_password, "root")
set(:development_database) { application + "_development" }
set(:test_database) { application + "_test" }
set(:production_database) { application + "_production" }
namespace :db do
# http://www.websudoku.com/?level=4&set_id=470872047
..53.694.
.3.1....6
.......3.
7..9.....
.1..3..2.
.....2..7
.6.......
8....7.5.
.436.81..
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>blah</title>
<style type="text/css" media="screen">
table {
width: 50%;
# input:
#
# foo,1,1
# foo,1,2
# foo,1,3
# foo,1,5
# bar,2,1
# bar,1,7
# bar,0,5
#
class Time
class << self
alias_method :parse, :parse_without_new_stuff
def parse(str)
if(string_is_in_your_format)
#do your parsing
else
parse_without_new_stuff(str)
end
There are several parking options for Great Lakes Ruby Bash. Check out our <a href="http://maps.google.com/maps/ms?hl=en&ie=UTF8&msa=0&msid=117792983027054200737.0004589662cacf5a70bdf&ll=42.28173,-83.735304&spn=0.007049,0.011115&z=17">Google Map</a> for all of the options. We recommend you park in the Blue parking structure on Ann, which is about 1 block north of the conference site. You may also park in the other structures labelled with blue pins for free. They does not require a permit on the weekend. You may get directions from your origin by clicking on the blue pin and choosing "Directions to here".
NOTE: The parking structures labelled on this map contain Gold and Business reserved parking as well as Blue parking. DO NOT park in those spots, as you will get a nasty ticket. All spots not specifically labelled are Blue spots and are generally OK to park in, but please read and adhere to all posted signs in your parking lot, structure, and space.
If you require a closer parking spot, there
@bdimcheff
bdimcheff / joke.rb
Created October 1, 2008 15:35 — forked from trek/joke.rb
while foreigner != terrorist
waterboard(foreigner)
end
imprison(foreigner)