Skip to content

Instantly share code, notes, and snippets.

View kingnebby's full-sized avatar

King Nebby kingnebby

View GitHub Profile
env-az-setup() {
echo "Setting Subscription: dev"
az account set --subscription umbrellaCorp-crankshaft-dev;
echo "Getting Kubectl Creds: dev"
az aks get-credentials --resource-group crankshaft-aks-dev-rg --name crankshaft-aks-dev;
# Just a helper to make sure everything got setup correctly
helm list;
}
@kingnebby
kingnebby / zshrc.sh
Last active May 19, 2020 15:27
add-proxies-to-your-env
# Pick a location to save your environment details
PROXY_FILE=$HOME/.my-env/proxies
# Source it so that new bash instances will pick up
# the current environment settings.
touch $PROXY_FILE
source <(cat $PROXY_FILE)
# Over-write the env file and soure it to ensure this window
# picks up the changes.