Created
March 23, 2016 00:11
-
-
Save alexagranov/992e5aa31e4f74cabde9 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
alias ll='ls -al' | |
alias gimmeawindow="xterm -b 4 -sb -sl 5000 -geometry 110x60 -vb -fg yellow -bg black -fa \'Consolas\' -fs 16 &" | |
alias strace='dtruss' | |
alias start_postgres='pg_ctl -D /usr/local/var/postgres -l /var/log/postgres.log start' | |
alias stop_postgres='pg_ctl -D /usr/local/var/postgres stop -m fast' | |
alias ssh_to_master_db='ssh -o TCPKeepAlive=yes -o ServerAliveInterval=300 -L 5452:localhost:5432 root@master-db -p 22' | |
alias ssh_to_slave_db='ssh -o TCPKeepAlive=yes -o ServerAliveInterval=300 -L 5462:localhost:5432 root@slave-db -p 22' | |
alias docker_terminal="bash --login '/Applications/Docker/Docker Quickstart Terminal.app/Contents/Resources/Scripts/start.sh'" | |
alias strip_dos="perl -pi -e 's/\r\n?/\n/g'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment