I hereby claim:
- I am magnusstahre on github.
- I am magnusstahre (https://keybase.io/magnusstahre) on keybase.
- I have a public key whose fingerprint is 486D AC07 1F73 37C5 62C6 4A05 5EA4 F290 0F6B 53AB
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
// stuff |
I am glad that you found your way here. You deserve better than another routine day of drudgery aboard the Stellar Patrol Ship Feinstein. I think we want to work with you.
Detroit Labs is in the business of creating mobile apps. We do this by inviting the best and most interesting people to join our team, and asking them to solve the hard problems that go along with building and shipping software. Since you are reading this, you may be one of those people. I hope so!
http://gitimmersion.com/ | |
http://try.github.com/ | |
http://www.codeschool.com/courses/try-git | |
http://git-scm.com/book |
#!/bin/sh | |
if ! git diff-tree --quiet $1 $2 -- Gemfile | |
then | |
echo "\nGemfile modified: run \`bundle install\`\n" | |
fi | |
if ! git diff-tree --quiet $1 $2 -- db/migrate db/schema.rb db/structure.sql | |
then | |
echo "\nSchema modified: run \'rake db:migrate\'\n" | |
fi |
def good_or_bad lines, patterns | |
lines.zip(patterns).all? { |(line, pattern)| | |
line.match pattern | |
} | |
end | |
lines = [ "line1", "line2", "line3" ] | |
patterns = [ "pattern1", "pattern2", "pattern3" ] | |
puts lines.zip patterns #=> [["line1", "pattern1"], ["line2", "pattern2"], ["line3", "pattern3"]] | |
good_or_bad lines, patterns #=> false |
escape ^Z^Z | |
bind z suspend | |
bind ^a other |
class String | |
def rot13 | |
tr 'abcdefghijklmnopqrstuvwxyz', 'nopqrstuvwxyzabcdefghijklm' | |
end | |
end | |
describe 'String#rot13' do | |
let (:message) { "the quick brown fox jumps over the lazy dog" } | |
let (:encoded) { "gur dhvpx oebja sbk whzcf bire gur ynml qbt" } |
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer