forked from mathiasbynens/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
7 additions
and
13 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -130,6 +130,13 @@ done | |
|
||
#Dates | ||
alias woy='date +"%gW%W"' | ||
alias ymd='date +"%Y-%m-%d"' | ||
alias dmy='date +"%d-%m-%y"' | ||
alias dmyy='date +"%d-%m-%Y"' | ||
alias ymond='date +"%y-%b-%d"' | ||
alias yymond='date +"%Y-%b-%d"' | ||
alias dmony='date +"%d-%b-%y"' | ||
alias dmonyy='date +"%d-%b-%Y"' | ||
|
||
# URL-encode strings | ||
alias urlencode='python -c "import sys, urllib as ul; print ul.quote_plus(sys.argv[1]);"' | ||
|
@@ -150,19 +157,6 @@ alias fixvb='sudo /Library/StartupItems/VirtualBox/VirtualBox restart' | |
|
||
alias sqldev='/Applications/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin/sqLDeveloper' | ||
|
||
#zipid-pdor | ||
alias ssh-app1='nocorrect ssh [email protected] -t ssh -i ~/.ssh/zipid-prod-v2.pub [email protected]' | ||
alias ssh-app2='nocorrect ssh [email protected] -t ssh -i ~/.ssh/zipid-prod-v2.pub [email protected]' | ||
|
||
alias ssh-web1='nocorrect ssh [email protected] -t ssh [email protected]' | ||
alias ssh-web2='nocorrect ssh [email protected] -t ssh [email protected]' | ||
|
||
#zipid-staging | ||
alias ssh-web1.staging='nocorrect ssh [email protected] -t ssh [email protected]' | ||
alias ssh-app2.staging='nocorrect ssh [email protected] -t ssh -i .ssh/zipid-test-shared.pem [email protected]' | ||
alias ssh-app1.staging='nocorrect ssh [email protected] -t ssh -i .ssh/zipid-test-shared.pem [email protected]' | ||
alias ssh-app3.staging='nocorrect ssh [email protected] -t ssh -i .ssh/zipid-test-shared.pem [email protected]' | ||
|
||
#requires brew install coretuils | ||
if [[ $('uname') == 'Darwin' ]]; then | ||
alias readlink='greadlink' | ||
|