This folder is a collection of helpful tips and commands I use for work
-
Watch terraform
plan
🏗️terraform plan | wc -l
-
Check IAM
account
orrole
☁️aws sts get-caller-identity
-
List instances
aws ec2 describe-instances \ --filters Name=availability-zone,Values=us-east-2c
-
Check Github
account
git config -l
-
Check current working
branch
🌱git rev-parse --abbrev-ref HEAD
-
Copy current path to clipboard 📋
pwd | pbcopy
-
Check Spotify Status 🎵
curl -i https://open.spotify.com
-
List images before created before a specific image 🐳
docker images --filter "before=image1"