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