Last active
January 22, 2021 23:42
-
-
Save KrystianKolad/71a61faa9a66f3fec428741f1e168cf2 to your computer and use it in GitHub Desktop.
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 db="docker run -d -p 1433:1433 -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=Asd123!.' --name localdb --rm mcr.microsoft.com/mssql/server:2017-CU12-ubuntu && echo 'Password fo SA is Asd123!.'" | |
alias killdb="docker kill localdb" | |
alias clearimg='docker rmi $(docker image ls -q)' | |
alias clearcontainers='docker rm $(docker ps -aq)' | |
alias updatebrew='brew update && brew upgrade $(brew outdated --quiet) && brew upgrade --cask $(brew outdated --cask --quiet) && brew cleanup -s && find Library/Caches/Homebrew \( -name "*.tar.gz" -o -name "*.dmg" -o -name "*.zip" \) -delete' | |
alias reloadkeys='(cd ~/.ssh/keys; ssh-add devops github)' | |
alias startstorage='docker run -d -t -p 10002:10002 --name tablestorage myazurite/azurite && docker run -d -p 10000:10000 -p 10001:10001 --name blobstorage mcr.microsoft.com/azure-storage/azurite' | |
alias stopstorage='docker kill tablestorage blobstorage && docker rm tablestorage blobstorage' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment