Get rid of the efficient cache policy warning on Google Search Console by adding a Cache-Control header to CloudFront.
Adding a custom header to AWS CloudFront Distribution responses.
How to generate dates and times with Hugo shortcodes.
Render HTML and apply CSS styles if JavaScript is disabled.
Apply CSS styles when a user enables reduced motion on their device.
Use “dependent: :nullify” to prevent child objects from getting deleted.
How to remove annoying shadows on MacOS screenshots.
If you’re willing to use AI-generated images, how do I know the text isn’t AI-generated?
Reconsider uploading your resume on the open web.
Something new I learned about Go today.
Most people want to work for your company for money, and there’s nothing wrong with that.
Leetcode-style interviews do not reflect real-world software engineering problems.
Showing how Calendly can be easily spammed because I’m bored and unemployed.
Python list basics and methods to learn fast or refresh your memory.
How to get unique elements in a Python list using set()
Ruby array basics and methods to learn fast or refresh your memory.
The differences of get vs list RBAC verbs in Kubernetes
Using Python to flood scammers with fake information.
How to enable file downloads using the link_to helper.
Using brew leaves to find potentially unnecessary Hombrew packages.
How to run a shell command against multiple EC2 instances using AWS Systems Manager
Using a Python script to send fake data to a Ledger phishing site.
How to get EC2 Instance metadata using IMDSv2
Every company’s real mission is to make money.
Using docker inspect to determine the entrypoint for a given docker image.
Using canarytokens.org to generate fake AWS API keys and then publishing them on my site.
How to automatically delete development logs in Ruby on Rails.
How to delete all node_modules directories recursively in macOS and Linux systems.
Companies are willing to lay off employees despite being profitable.
My donation earnings on buymeacoffee.com over the past year.
How to install a specific version of Homebrew packages.
How to redirect a domain to another one using AWS S3, ACM, and CloudFront
Key types in Ruby hashes depend on hash syntax.
How to host a static website on Amazon Web Services using S3 and CloudFront
How to enable manual runs of GitHub Actions workflows.
How to restrict Ruby on Rails routes with :only and :except.
Several methods of iterating through Ruby hashes.
How to fix Devise errors in Ruby on Rails 7.
How to recursively ignore files when building Docker images.
How to recursively ignore files when building Docker images.
How to add environment variables to Serverless functions
Scraping contributor emails from git repositories using git shortlog.
Creating a python script to flood scammers with fake credentials.
Updating Amazon Certificate Manager SSL certificates with no downtime
Find AWS Resources by private or public IP addresses.
Comparing the differences between ~ and ~* tildes in NGINX configuration.
Invoking Amazon API Gateway with an API Key
Using Python to send fake seed phrases to a MetaMask scam site.
How to get EC2 Instance metadata using IMDSv1
Scraping GitHub contributor emails, and how you can protect yourself.
Resolving Access Denied Errors in a CloudFront Distribution that uses a Private S3 Bucket, Origin Access Identity, and Contains Multiple index.html Templates.
How to allow an IAM Role to assume another Role.
Add a uniqueness constraint between two columns in Ruby on Rails.
Set precision and scale to decimal type database columns.
Clean up residual files and directories after deleting macOS apps.
Iterating through Go maps in insertion order.
My favorite privacy-respecting tools, apps, and services.
Diving into useful constants in Ruby’s Date class
Prevent Rails from throwing errors when including two redirects in an action
Comparing Ruby on Rails URL Helpers and Paths
Learn Kubernetes concepts and get hands-on experience with Minikube
A guide to using aircrack-ng to bruteforce a router’s password
You can support me and this blog via the following methods: Buy Me a Coffee GitHub Sponsors Anything is appreciated!
I’m Nelson. I’m a Software Engineer with professional experience using technologies like Ruby on Rails, Kubernetes, and Amazon Web Services. I started this blog to share my knowledge and occasionally rant. Experience Cloud Support Engineer II @ Pulumi (Aug 2024 - Present) Software Engineer @ Robinhood (Jan - Nov 2023) Software Engineer IV @ ...