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
| git init --bare $HOME/.config | |
| alias config='/usr/bin/git --git-dir=$HOME/.config/ --work-tree=$HOME' | |
| config config --local status.showUntrackedFiles no |
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
| if which TOOL >/dev/null; then | |
| # Do something | |
| else | |
| echo "warning: TOOL not installed." | |
| fi |
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
| KEYWORDS="TODO|FIXME|\?\?\?:|\!\!\!:" | |
| find "${SRCROOT}" \( -name "*.h" -or -name "*.m" \) -print0 | \ | |
| xargs -0 egrep --with-filename --line-number --only-matching "($KEYWORDS).*\$" | \ | |
| perl -p -e "s/($KEYWORDS)/ warning: \$1/" |
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
| security delete-certificate -c "Apple Worldwide Developer Relations Certification Authority" ~/Library/Keychains/login.keychain | |
| sudo security delete-certificate -c "Apple Worldwide Developer Relations Certification Authority" /Library/Keychains/System.keychain | |
| curl -O -L http://developer.apple.com/certificationauthority/AppleWWDRCA.cer | |
| security import AppleWWDRCA.cer -k ~/Library/Keychains/login.keychain -A |
NewerOlder