Skip to content

Commit

Permalink
Backup #4
Browse files Browse the repository at this point in the history
Signed-off-by: dhilipsiva <dhilipsiva@gmail.com>
  • Loading branch information
dhilipsiva committed Mar 4, 2013
1 parent bcd8869 commit cabc5aa
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .bash_profile
Expand Up @@ -31,7 +31,7 @@ function gh {
} }


# A python test environment to play expriment something. # A python test environment to play expriment something.
function _test { function @test {
deactivate deactivate
. ~/ENV/test/bin/activate . ~/ENV/test/bin/activate
pip freeze > ~/test-env-requirements.txt pip freeze > ~/test-env-requirements.txt
Expand All @@ -41,7 +41,7 @@ function _test {
alias syn="pull && push && gh" alias syn="pull && push && gh"


# Set of essential libraries to install in a new virtualenv # Set of essential libraries to install in a new virtualenv
function _install_py_musthaves { function @install_py_musthaves {
curl https://gist.github.com/gists/4176838/download | pip install curl https://gist.github.com/gists/4176838/download | pip install
} }


Expand All @@ -51,11 +51,11 @@ export PATH="/usr/local/heroku/bin:$PATH"
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*


# Shortcut to google search from commandline. Handy, huh? # Shortcut to google search from commandline. Handy, huh?
function _google { function @google {
open "https://google.com/search?q=$*" open "https://google.com/search?q=$*"
} }


function _hello { function @hello {
echo hello echo hello
} }


Expand All @@ -64,13 +64,13 @@ export PATH="/usr/local/sbin:$PATH"


alias q="exit" alias q="exit"


function _misc_code_snippets { function @misc_code_snippets {
cd ~/Desktop/WIP/misc-code-snippets cd ~/Desktop/WIP/misc-code-snippets
./backup.sh ./backup.sh
exit exit
} }


function _commit { function @commit {
git commit --signoff -m "$*" git commit --signoff -m "$*"
} }


Expand Down
2 changes: 1 addition & 1 deletion .gitconfig
@@ -1,5 +1,5 @@
[user] [user]
name = DhilipSiva Bijju name = dhilipsiva
email = dhilipsiva@gmail.com email = dhilipsiva@gmail.com
[credential] [credential]
helper = osxkeychain helper = osxkeychain
Expand Down
2 changes: 1 addition & 1 deletion backup.sh
Expand Up @@ -19,7 +19,7 @@ echo 'adding files to git...'
git add . git add .


echo 'commiting changes if any...' echo 'commiting changes if any...'
_commit "Backup #4" @commit "Backup #4"


echo 'pushing to origin...' echo 'pushing to origin...'
git push origin master git push origin master

0 comments on commit cabc5aa

Please sign in to comment.