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
"Ressource | |
"http://ensiwiki.ensimag.fr/index.php/Vimrc_minimal | |
"http://www.jeoffrey54.com/article126/mon-vimrc-explications#.Uiha4GSsi2x | |
"http://amix.dk/vim/vimrc.html | |
"http://stackoverflow.com/questions/164847/what-is-in-your-vimrc | |
execute pathogen#infect() | |
"Activer la coloration et l'indentation | |
syn on | |
set syntax=on |
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
for FILE in "$@" | |
do | |
NAME=$FILE:r | |
ibtool --generate-strings-file $NAME.strings $NAME.xib | |
done |
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
######################### | |
# .gitignore file for Xcode4 / OS X Source projects | |
# | |
# NB: if you are storing "built" products, this WILL NOT WORK, | |
# and you should use a different .gitignore (or none at all) | |
# This file is for SOURCE projects, where there are many extra | |
# files that we want to exclude | |
# | |
# For updates, see: http://stackoverflow.com/questions/49478/git-ignore-file-for-xcode-projects | |
######################### |
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
Search | |
(NSLocalizedString\(@"([^"]*)",)(@"([^"]*)") | |
Replace | |
\1nil |
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://stackoverflow.com/questions/12032583/what-is-the-definitive-way-to-install-upgrade-set-the-default-version-of-zsh | |
#Install Homebrew | |
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go/install)" | |
brew doctor | |
#Install Zsh | |
brew install zsh | |
#Zshrc | |
curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh |
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
#Install RVM | |
\curl -L https://get.rvm.io | bash -s stable --ruby | |
#Intall Ruby | |
rvm list known | |
rvm install 2.0.0 | |
rvm --default use 2.0.0 | |
#Other way | |
rvm get stable --auto-dotfiles |
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
find . -type d -exec chmod 755 {} \; | |
find . -type f -exec chmod 644 {} \; |
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
tail -f -n 10 /var/log/system.log | grep --line-buffered tcpblock |
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
cat path/to/file | pbcopy | |
pbpaste > path/to/file |
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
- (void)registerForKeyboardNotifications | |
{ | |
[[NSNotificationCenter defaultCenter] addObserver:self | |
selector:@selector(keyboardWasShown:) | |
name:UIKeyboardWillShowNotification | |
object:nil]; | |
[[NSNotificationCenter defaultCenter] addObserver:self | |
selector:@selector(keyboardWillBeHidden:) | |
name:UIKeyboardWillHideNotification |
OlderNewer