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
| tar cvfz app.tar.gz --exclude ".git/*" --exclude ".git" app/ | |
| tar cvf ~/app.tar --exclude .git --exclude "*.log" . | |
| http://stackoverflow.com/questions/3069522/tarballing-without-git-metadata |
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
| #console colors | |
| export CLICOLOR=1 | |
| export LSCOLORS=GaFxCxDxBxegedabagacad | |
| # Custom bash prompt via kirsle.net/wizards/ps1.html | |
| export PS1="\[$(tput bold)\]\[$(tput setaf 3)\][\[$(tput setaf 2)\]\u\[$(tput setaf 1)\]@\[$(tput setaf 6)\]\h \[$(tput setaf 5)\]\W\[$(tput setaf 3)\]\$(__git_ps1)]$ \[$(tput sgr0)\]" | |
| # git completion | |
| if [ -f `brew --prefix`/etc/bash_completion ]; then | |
| . `brew --prefix`/etc/bash_completion |
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
| --- /opt/vertica/oss/python/lib/python2.7/site-packages/vertica/network/SystemProfileFactory.py.orig 2012-10-09 20:43:30.154357382 -0400 | |
| +++ /opt/vertica/oss/python/lib/python2.7/site-packages/vertica/network/SystemProfileFactory.py 2012-10-09 20:39:10.490355807 -0400 | |
| @@ -149,7 +149,12 @@ class SystemProfileFactory: | |
| opsys = DBinclude.OS_DEBIAN | |
| return opsys, host | |
| - raise UnsupportedOSException("(%s) This version of Debian is unsupported." % host) | |
| + (status, res) = ssh.execute("grep \"wheezy\" /etc/debian_version", hide=True) | |
| + if (res[0] == '0'): | |
| + opsys = DBinclude.OS_DEBIAN |
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/2108403/hack.sh | sh | |
| # |
NewerOlder