This file contains hidden or 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
| find . -name ".git" -type d | sed 's/\/.git//' | xargs -P10 -I{} git -C {} pull |
This file contains hidden or 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
| import sys | |
| from concurrent.futures import ThreadPoolExecutor, wait | |
| from time import sleep | |
| from typing import List | |
| import boto3 | |
| S3_BUCKET = sys.argv[1] | |
| S3_PREFIX = sys.argv[2] | |
| TAG_KEY = sys.argv[3] |
This file contains hidden or 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
| # .tbls.yml | |
| # Prefix path to generate document | |
| docPath: doc/schema | |
| er: | |
| # Skip generation of ER diagram | |
| skip: false | |
| # ER diagram image format | |
| format: png |
This file contains hidden or 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
| #!/usr/bin/bash | |
| for stack_name in $(aws cloudformation describe-stacks | jq -r '.Stacks| .[] |.StackName'); do | |
| aws cloudformation update-termination-protection --stack-name $stack_name --no-enable-termination-protection; | |
| aws cloudformation delete-stack --stack-name $stack_name; | |
| done |