View sops-clean
#!/bin/bash | |
FILES=$(find . -ipath '*/secrets/*.yml' | grep -v .enc.yml) | |
for i in $FILES; do | |
rm $i | |
done | |
View watch-go-test.sh
#!/bin/bash | |
while :; do ag -l --go | entr -cd go test ./...; sleep 1 || break; done |
View deletes-all-placement-groups.sh
aws ec2 describe-placement-groups | jq -r '.PlacementGroups[] | .GroupName' | xargs -I {} aws ec2 delete-placement-group --group-name {} |
View find-hdd-serials.ps1
Get-WMIObject win32_physicalmedia | Format-List Tag,SerialNumber |
View capitals.json
{ | |
"AL": "Montgomery", | |
"AK": "Juneau", | |
"AS": "Pago Pago", | |
"AZ": "Phoenix", | |
"AR": "Little Rock", | |
"CA": "Sacramento", | |
"CO": "Denver", | |
"CT": "Hartford", | |
"DE": "Dover", |