This file contains hidden or 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
| export EDITOR=vim | |
| source ~/git-completion.bash | |
| function parse_git_branch { | |
| git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' | |
| } | |
| function proml { | |
| local BLUE="\[\033[0;34m\]" |
This file contains hidden or 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
| set incsearch | |
| set wildmenu | |
| set ruler | |
| set ignorecase | |
| set smartcase | |
| set noerrorbells | |
| set modeline | |
| set ls=2 | |
| set cursorline | |
| imap ii <Esc> |
This file contains hidden or 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
| /** | |
| * A class to parse color values | |
| * @author Stoyan Stefanov <[email protected]> | |
| * @link http://www.phpied.com/rgb-color-parser-in-javascript/ | |
| * @license Use it if you like it | |
| * MODIFICATIONS by Peter Cottle :D | |
| */ | |
| function Color(color_string) | |
| { | |
| // if it's an object, just clone and return |
This file contains hidden or 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 sh | |
| ## | |
| # This is script with usefull tips taken from: | |
| # https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
| # | |
| # install it: | |
| # curl -sL https://raw.github.com/gist/2266714/hack.sh | sh | |
| # |
NewerOlder