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 config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)$ | |
git config --global color.ui auto | |
parse_git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' | |
} | |
export PS1="\[\033[32m\]\w\[\033[33m\]\$(parse_git_branch)\[\033[00m\] $ " | |
export CLICOLOR=1 | |
export LSCOLORS=ExFxBxDxCxegedabagacad |
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
# supress php errors | |
php_flag display_startup_errors off | |
php_flag display_errors off | |
php_flag html_errors off | |
php_value docref_root 0 | |
php_value docref_ext 0 | |
# enable PHP error logging | |
php_flag log_errors on | |
php_value error_log /home/path/public_html/domain/PHP_errors.log | |
# prevent access to PHP error log |
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
sudo apt-get --force-yes install build-essential openssl libreadline6 libreadline6-dev curl git-core \ | |
zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev \ | |
libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison | |
&& | |
\curl -L https://get.rvm.io | bash -s stable --rails --autolibs=enabled | |
&& | |
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
mkdir -p ~/.vim/autoload ~/.vim/bundle | |
curl https://gist.githubusercontent.com/adykto/5544806/raw/22fb8ef9fece48d656fa9a03d3186dcd8deb7f70/.vimrc > ~/.vimrc | |
curl https://raw.githubusercontent.com/tpope/vim-pathogen/master/autoload/pathogen.vim > ~/.vim/autoload/pathogen.vim | |
cd ~/.vim/bundle | |
git clone git://github.com/tpope/vim-fugitive.git | |
git clone git://github.com/scrooloose/nerdtree.git | |
git clone git://github.com/airblade/vim-gitgutter.git | |
git clone git://github.com/majutsushi/tagbar.git | |
git clone git://github.com/Raimondi/delimitMate.git | |
git clone git://github.com/tpope/vim-sensible.git |
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
Show hidden characters
[ | |
{ | |
"keys": ["shift+f11"], | |
"command": "toggle_menu" | |
}, | |
{ | |
"keys": ["ctrl+f11"], | |
"command": "toggle_side_bar" | |
}, | |
] |
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
:start | |
filetype off | |
call pathogen#infect('bundle/{}') | |
call pathogen#helptags() | |
filetype plugin indent on | |
set t_Co=256 | |
colorscheme distinguished |