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
# basic bash completion for yiic command | |
# | |
# simply add the following to your ~/.bash_profile | |
# | |
# . ~/path/to/this/file/yiic_bash_completion.bash | |
# | |
# note: the . is relevant and you probably have to adjust the path ;-) | |
# | |
_yiic() |
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
#!/usr/bin/env php | |
<?php | |
require_once(dirname(__FILE__).'/../src/runner.php'); | |
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
# subversion | |
.subversion | |
# mirror dirs | |
/mirror/* | |
/tmp/* |
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
# git bash completion | |
. /usr/local/git/contrib/completion/git-completion.bash | |
alias g="git status" |
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
# If not running interactively, don't do anything | |
[ -z "$PS1" ] && return | |
# simple history browsing | |
export HISTCONTROL=erasedups | |
export HISTSIZE=10000 | |
shopt -s histappend | |
bind '"\e[A"':history-search-backward | |
bind '"\e[B"':history-search-forward |
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
mount -t tmpfs -o size=100M,mode=0755 tmpfs /var/www/cache |
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
# create authors.txt with authors.php (https://gist.github.com/1156937#file_authors.php) | |
mkdir mirror | |
cd mirror | |
git svn --authors-file=../authors.txt clone -s http://yiidoc.googlecode.com/svn/ . |
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
ssh-keygen -lf id_rsa.pub |
OlderNewer