This file contains hidden or 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
# A sample Guardfile | |
# More info at https://github.com/guard/guard#readme | |
guard 'rspec', :version => 2, | |
:cli => '--colour --drb --format documentation --fail-fast', | |
:all_after_pass => false, | |
:all_on_start => false, | |
:keep_failed => false, | |
:notify => true do | |
watch(%r{^spec/.+_spec\.rb$}) |
This file contains hidden or 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
#undo last commit | |
git reset HEAD^ | |
#show files in a given commit | |
git show --pretty="format:" --name-only rev_number | |
#remove untracked files and directories | |
git clean -f -d | |
#track remote branch |
This file contains hidden or 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
// | |
// MiniToggle.h | |
// MiniToggle | |
// | |
// Created by jtrim on 2/12/10. | |
/* | |
MiniToggle.h & MiniToggle.m: | |
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR | |
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY | |
AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR |
NewerOlder