Last active
January 9, 2019 15:23
-
-
Save RFreij/fdae6281a836aba411fedce7d9fa5d27 to your computer and use it in GitHub Desktop.
My bash aliases
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
alias refresh='grunt serve-refresh' | |
alias nobarrier='sudo mount -o remount,nobarrier /' | |
alias barrier='sudo mount -o remount,barrier /' | |
alias redisguimonitor='REDSMIN_KEY=5b3629c125fb138c061c2ab3 REDIS_AUTH=foobared redsmin' | |
alias redismonitor='redis-cli -a foobared -n 1 monitor' | |
alias node8='nvm use --lts' | |
alias node7='nvm use 7.*' | |
alias api='ssh webdev@87.233.225.226' | |
alias db='ssh webdev@87.233.225.227' | |
alias acc='ssh webdev@87.233.225.228' | |
goto() { | |
if [ ! -z $1 ] | |
then | |
cd /var/www/bettingfans-$1 | |
else | |
cd /var/www/bettingfans | |
fi | |
} | |
getbranch() { | |
git fetch && git checkout $1 | |
git pull | |
} | |
getmaster() { | |
git fetch && git checkout master | |
git pull | |
} | |
seed() { | |
if [ ! -z $1 ] | |
then | |
php artisan db:seed --class=$1 | |
else | |
php artisan db:seed --class=MockSiteDataSeeder | |
fi | |
} | |
alias allperms='sudo chmod 777 -R .' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment