Code snippets that you will certainly love

How to find your AWS Organization ARN


AWS doesn't show the ARN of an organization in the console, but you can use the CLI or just use this format
Read more ⟶

Lambda Python script to stop/start instances based on tag values


A Python (3.12+) script that you can plug into Lambda to shut down or start instances based on a specific tag
Read more ⟶

How to find your Bluesky DID PLC ID


Just go to this page
Read more ⟶

JMESPath with the AWS CLI - ELBv2 example


This is an AWS CLI statement that looks up the deregistration delay property for ALBs matching specific criteria
Read more ⟶

Terraform Checkpoint Error


An error that looks like a credentials issue at first is actually a DNS issue
Read more ⟶

JMESPath with the AWS CLI - IAM example


This is an example AWS CLI statement that uses a JMESPath query to list all the IAM roles that have a trust relationship with an AWS account
Read more ⟶

Reject extra fields in an API request body


The setting to reject extra fields in a JSON request body is additionalProperties
Read more ⟶

Regex to clean up Google Hangout transcript


This is a find/replace regex that can be used on a copy/pasted Google Hangouts transcript
Read more ⟶