Last active
March 27, 2020 07:43
-
-
Save RafikFarhad/5a4c08717050820bdffe12bfc44eb680 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
function dbash() { | |
( docker exec -it $* bash ) | |
} | |
function dsh() { | |
( docker exec -it $* sh ) | |
} | |
alias gss='git status' | |
alias ga='git add --all' | |
alias gc='git commit -S -m' | |
alias gcl='git clone' | |
alias gp='git push' | |
alias gpl='git pull' | |
alias gct='git checkout' | |
alias pp='cd ~/playground' | |
alias hh='cd ~/playground' | |
alias de='cd ~/Desktop' | |
alias cu='composer update' | |
alias cdu='composer dump-autoload' | |
alias pa='php artisan' | |
alias pacc='php artisan config:cache' | |
alias pakg='php artisan key:generate' | |
alias dcu='docker-compose up -d' | |
alias dcs='docker-compose stop' | |
alias dcd='docker-compose down' | |
alias dcl='docker-compose logs -f' | |
alias dps='docker ps' | |
alias dim='docker image' | |
alias dst='docker stop' | |
alias drm='docker rm' | |
alias start='sudo bash ~/helper/service_manager.sh start' | |
alias stop='sudo bash ~/helper/service_manager.sh stop' | |
alias reload='sudo bash ~/helper/service_manager.sh reload' | |
alias restart='sudo bash ~/helper/service_manager.sh restart' | |
alias sv='sudo vim' | |
alias docker_clean_images='docker rmi $(docker images -a --filter=dangling=true -q)' | |
alias docker_clean_ps='docker rm $(docker ps --filter=status=exited --filter=status=created -q)' | |
alias ss='cd /home/farhad/playground/sust-oj-compose' | |
alias kk=kubectl | |
alias kkaf='kubectl apply -f' | |
alias kkdf='kubectl delete -f' | |
evalssh='eval `ssh-agent -s` & ssh-add' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment