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
*.xmind diff=xmind |
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
// 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!
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
http://gitimmersion.com/ | |
http://try.github.com/ | |
http://www.codeschool.com/courses/try-git | |
http://git-scm.com/book |
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
#!/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 |
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
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 |
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
escape ^Z^Z | |
bind z suspend | |
bind ^a other |
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 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
NewerOlder