Skip to content

Instantly share code, notes, and snippets.

@kilfu0701
Created September 24, 2013 03:47
Show Gist options
  • Save kilfu0701/6680153 to your computer and use it in GitHub Desktop.
Save kilfu0701/6680153 to your computer and use it in GitHub Desktop.
# ~/.bashrc
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
alias rm='rm -i'
alias ccc="sudo chmod 775 -R"
alias ddd="sudo chown apache:nobody -R"
alias eee="sudo chmod 777 -R"
alias mydiff='diff -ENwbur'
alias ntt='netstat -nt'
alias all_cron='for user in $(cut -f1 -d: /etc/passwd); do echo "crontab for $user:";crontab -u $user -l; done'
alias sort-last='find . -printf "%T@ %Tc %p\n" | sort -n'
# ~/.vimrc
syntax on
"filetype plugin on
"colorscheme wombat
"nnoremap <S-F4> :set nonumber!:set foldcolumn=0
"map <F5> :w<cr>:!python %<cr>
au BufRead,BufNewFile *.html set ft=php.html
au BufRead,BufNewFile *.ctp set ft=php.html
"set smartindent
set tabstop=4
set shiftwidth=4
set expandtab
set hlsearch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment