I hereby claim:
- I am jimbocoder on github.
- I am jimbocoder (https://keybase.io/jimbocoder) on keybase.
- I have a public key ASCyJFEtzqrlgtzH-m89rV5HJNUnfXtBEW6_H-xMrJdbEgo
To claim this, I am signing this object:
| # Count total EBS based storage in AWS | |
| aws ec2 describe-volumes | jq "[.Volumes[].Size] | add" | |
| # Count total EBS storage with a tag filter | |
| aws ec2 describe-volumes --filters "Name=tag:Name,Values=CloudEndure Volume qjenc" | jq "[.Volumes[].Size] | add" | |
| # Describe instances concisely | |
| aws ec2 describe-instances | jq '[.Reservations | .[] | .Instances | .[] | {InstanceId: .InstanceId, State: .State, SubnetId: .SubnetId, VpcId: .VpcId, Name: (.Tags[]|select(.Key=="Name")|.Value)}]' | |
| # Wait until $instance_id is running and then immediately stop it again | |
| aws ec2 wait instance-running --instance-id $instance_id && aws ec2 stop-instances --instance-id $instance_id | |
| # Get 10th instance in the account |
| apiVersion: v1 | |
| entries: | |
| acs-engine-autoscaler: | |
| - apiVersion: v1 | |
| appVersion: 2.1.1 | |
| created: 2020-01-28T00:28:56.73043857Z | |
| deprecated: true | |
| description: DEPRECATED Scales worker nodes within agent pools | |
| digest: 93f924d4498d588bcdda88c7401e27c6fa0f50ff0601e78885eca13eb683c1e2 | |
| home: https://github.com/wbuchwalter/Kubernetes-acs-engine-autoscaler |
I hereby claim:
To claim this, I am signing this object:
| ( | |
| set -x; cd "$(mktemp -d)" && | |
| OS="$(uname | tr '[:upper:]' '[:lower:]')" && | |
| ARCH="$(uname -m | sed -e 's/x86_64/amd64/' -e 's/\(arm\)\(64\)\?.*/\1\2/' -e 's/aarch64$/arm64/')" && | |
| KREW="krew-${OS}_${ARCH}" && | |
| curl -fsSLO "https://github.com/kubernetes-sigs/krew/releases/latest/download/${KREW}.tar.gz" && | |
| tar zxvf "${KREW}.tar.gz" && | |
| ./"${KREW}" install krew | |
| ) |
| # Disclaimer: yes, this is kind of silly and the implementation is definitely | |
| # not optimal. | |
| # Problem: | |
| # Lately I do a lot of work in the terminal across a lot of | |
| # directories that have similar names, and similar contents. Configuring the | |
| # terminal window title, or tab title, with things like the current directory, | |
| # or current foreground process, doesn't really help me keep track of what's | |
| # where. All the tabs look the same, and even a quick `ls` usually just yields | |
| # very similar contents. I find myself doing `pwd` often just to get |