Skip to content

Instantly share code, notes, and snippets.

@fraga
fraga / gist:991175
Created May 25, 2011 15:29
bash_profile
export TERM="xterm-color"
alias ls="ls -G"
export PATH=$PATH:/usr/local/mysql/bin:$HOME/bin:~/Desktop/eclipse/workspace/android/android-sdk-mac_86/tools
export EDITOR="$HOME/bin/mate -w"
export glol="git log --pretty=oneline --abbrev-commit --graph --decorate"
PS1="\[\033[01;32m\]\h\[\033[01;34m\] \w \$\[\033[00m\] "
@fraga
fraga / .gitconfig
Created May 10, 2011 19:03
.gitconfig windows machine
#usage git difftool HEAD^ HEAD or HEAD~1 HEAD~1 <filename>
[apply]
whitespace = fix
[gui]
recentrepo = C:/repo
[user]
name = Rodrigo
email = email
[diff]
tool = bc
@fraga
fraga / gist:963930
Created May 10, 2011 05:20
Bashrc example glol and mate alias (git)
export EDITOR="$HOME/bin/mate -w"
export glol="git log --pretty=oneline --abbrev-commit --graph --decorate"
@fraga
fraga / gist:963928
Created May 10, 2011 05:17
Vimrc file
" An example for a vimrc file.
"
" Maintainer: Bram Moolenaar <Bram@vim.org>
" Last change: 2008 Dec 17
"
" To use it, copy it to
" for Unix and OS/2: ~/.vimrc
" for Amiga: s:.vimrc
" for MS-DOS and Win32: $VIM\_vimrc
" for OpenVMS: sys$login:.vimrc