Use grep, awk and xargs to kill running processes in bash
Tips and code to solve specific problems. No fluff. Easy to copy and paste.
Usage of NotResource field in S3 bucket policies to exclude matching directories from the policy permissions
Steps to authenticate and verify that docker image exists in GitHub Container Registry (ghcr.io)
How to support deploying the same resource to Kubernetes clusters with different apiVersions
Using the coalesce function to write a one-line template
How to rename a kubernetes context using the kubectl cli
Solve wp-admin redirect without trailing slash using a Cloudflare page rule in terraform
Workarounds to handle multiline strings when passing them as outputs between jobs.
Workarounds to allow environment variables to override settings from config file using viper
Using jq
to parse GitHub releases to install the latest linux binary for the docker compose plugin
Using formatlist
and join
functions to accept variable number of domains in Terraform module
Workaround using environments to establish precedence between values
Different options to prune docker resources from your local machine
Leverage awslogs command line to get RDS logs stored in CloudWatch
Step-by-step using Powershell to automate the process