Google scribe created run on sentence by typing in the word autocomplete then hitting enter till it stopped and this is the sentence I got. autocomplete in their own right and do not want to be related to their particular field or industry in which they are attached to their respective owners and are strictly for viewing and printing of these books are nothing but another form of therapy for these patients is not known whether these are the only ones.http://scribe.googlelabs.com/
Here are two example from the article below Slaying dragons with git, bash, and ruby a on pre-commit hook for git.
First setup your hook that will run before you commit.
chmod +x .git/hooks/pre-commit Second test out a test for ruby debugger code left, when it should be removed
if `grep -rls "require 'ruby-debug'; debugger" *` != ""
puts "You twit, you've left a debugger in!"
endNow whenever I try to commit code, it will first run a recursive grep over the codebase to ensure I’ve not left my debug statement in (I can be sure it always looks like “require ‘ruby-debug’; debugger” as I have it bound to a shortcut).Another example included Stopping an incomplete mergeThere’s been occasions where a particularly large rebase or merge creates a lot of conflicts in a file, and one of those has snuck through and rather than being fixed the inline diff has actually been committed. Time to add another check to pre-commit, usin…