nelson.cloud ☁️

Recent content on nelson.cloud ☁️
https://nelson.cloud/ (RSS)
visit blog
Fix "Efficient Cache Policy" Warning on PageSpeed Insights When Using Amazon CloudFront
2 Jan 2025 | original ↗

Get rid of the efficient cache policy warning on Google Search Console by adding a Cache-Control header to CloudFront.

How to Add a Custom Response Header to an Amazon Cloudfront Distribution
1 Jan 2025 | original ↗

Adding a custom header to AWS CloudFront Distribution responses.

How to Generate the Current Date and Time in Hugo
22 Dec 2024 | original ↗

How to generate dates and times with Hugo shortcodes.

Render HTML and CSS if JavaScript Is Disabled Using the `` Tag` Tag
30 Nov 2024 | original ↗

Render HTML and apply CSS styles if JavaScript is disabled.

The prefers-reduced-motion CSS Media Query
27 Nov 2024 | original ↗

Apply CSS styles when a user enables reduced motion on their device.

Leaving Proton Mail
26 Nov 2024 | original ↗

Reasons why I won’t renew my Proton subscription.

Preserve Child Objects When Parent Objects Are Deleted in Ruby on Rails
18 Nov 2024 | original ↗

Use “dependent: :nullify” to prevent child objects from getting deleted.

Remove Shadows From Screenshots in macOS
5 Oct 2024 | original ↗

How to remove annoying shadows on MacOS screenshots.

AI-Generated Images Discourage Me From Reading Your Blog
1 Oct 2024 | original ↗

If you’re willing to use AI-generated images, how do I know the text isn’t AI-generated?

Finding Private Information Through Resumes on Google Search
16 Sept 2024 | original ↗

Reconsider uploading your resume on the open web.

Iterate Through Strings in Go with a for-range Loop
27 Aug 2024 | original ↗

Something new I learned about Go today.

Let's Stop Asking "Why Do You Want To Work for Us?" in Interviews
28 Jun 2024 | original ↗

Most people want to work for your company for money, and there’s nothing wrong with that.

I Am So Sick of Leetcode-Style Interviews
3 Jun 2024 | original ↗

Leetcode-style interviews do not reflect real-world software engineering problems.

Calendly Denial of Service via Mass-Scheduling
16 May 2024 | original ↗

Showing how Calendly can be easily spammed because I’m bored and unemployed.

Python Lists Cheatsheet
29 Apr 2024 | original ↗

Python list basics and methods to learn fast or refresh your memory.

Get Unique Elements in a Python List
22 Apr 2024 | original ↗

How to get unique elements in a Python list using set()

Ruby Arrays Cheatsheet
10 Apr 2024 | original ↗

Ruby array basics and methods to learn fast or refresh your memory.

How I Discover New Blogs
4 Apr 2024 | original ↗

A list of resources I use to discover new blogs.

My Favorite Blogs
3 Apr 2024 | original ↗

A list of my favorite blogs from around the web.

Being Poor
1 Apr 2024 | original ↗

Personal experiences of growing up poor

Kubernetes RBAC: Get vs List
23 Mar 2024 | original ↗

The differences of get vs list RBAC verbs in Kubernetes

Making Life More Difficult for Bank Scammers
22 Feb 2024 | original ↗

Using Python to flood scammers with fake information.

Ruby on Rails: Enable File Downloads Using link_to
3 Feb 2024 | original ↗

How to enable file downloads using the link_to helper.

Keep Homebrew Tidy With `brew leaves`
22 Jan 2024 | original ↗

Using brew leaves to find potentially unnecessary Hombrew packages.

AWS SSM: Run a Shell Command Against Multiple EC2 Instances
18 Jan 2024 | original ↗

How to run a shell command against multiple EC2 instances using AWS Systems Manager

Optional Type Hints in Python
16 Jan 2024 | original ↗

How to use optional type hints in Python

Hitting Back at Ledger Scammers With Python
27 Dec 2023 | original ↗

Using a Python script to send fake data to a Ledger phishing site.

Getting EC2 Instance Metadata Using IMDSv2
1 Dec 2023 | original ↗

How to get EC2 Instance metadata using IMDSv2

Company Missions are Bullshit
24 Nov 2023 | original ↗

Every company’s real mission is to make money.

How to Determine the Entrypoint for a Docker Image
27 Sept 2023 | original ↗

Using docker inspect to determine the entrypoint for a given docker image.

Publishing Fake AWS API Keys on My Site
16 Jun 2023 | original ↗

Using canarytokens.org to generate fake AWS API keys and then publishing them on my site.

Automatically Delete Development Logs in Ruby on Rails
21 May 2023 | original ↗

How to automatically delete development logs in Ruby on Rails.

Delete All node_modules Directories Recursively in macOS and Linux
14 May 2023 | original ↗

How to delete all node_modules directories recursively in macOS and Linux systems.

As an Employee, You Are Disposable
6 May 2023 | original ↗

Companies are willing to lay off employees despite being profitable.

My Donation Earnings Over the Past Year
4 May 2023 | original ↗

My donation earnings on buymeacoffee.com over the past year.

How To Install Older Versions of Homebrew Packages
18 Apr 2023 | original ↗

How to install a specific version of Homebrew packages.

Redirect One Domain to Another Using AWS S3 and CloudFront
16 Feb 2023 | original ↗

How to redirect a domain to another one using AWS S3, ACM, and CloudFront

Ruby Hash Key Types Vary Depending on Hash Syntax
6 Jan 2023 | original ↗

Key types in Ruby hashes depend on hash syntax.

Hosting a Static Website on AWS Using S3 and CloudFront
30 Dec 2022 | original ↗

How to host a static website on Amazon Web Services using S3 and CloudFront

How to Enable Manual Runs of GitHub Actions Workflows
27 Dec 2022 | original ↗

How to enable manual runs of GitHub Actions workflows.

Sorting Hashes in Ruby
4 Dec 2022 | original ↗

Many ways of sorting hashes in Ruby.

Restricting Ruby on Rails Routes with :only and :except
3 Dec 2022 | original ↗

How to restrict Ruby on Rails routes with :only and :except.

Iterating Through Hashes in Ruby
17 Nov 2022 | original ↗

Several methods of iterating through Ruby hashes.

Fix Devise Errors in Ruby on Rails 7
16 Nov 2022 | original ↗

How to fix Devise errors in Ruby on Rails 7.

Set a Default Ruby Version with Ruby Version Manager (RVM)
6 Nov 2022 | original ↗

How to recursively ignore files when building Docker images.

Ignore Files Across All Subdirectories in .dockerignore
1 Nov 2022 | original ↗

How to recursively ignore files when building Docker images.

Adding Environment Variables to Serverless Functions
10 Sept 2022 | original ↗

How to add environment variables to Serverless functions

Scrape Contributor Emails From Any Git Repository
21 Jul 2022 | original ↗

Scraping contributor emails from git repositories using git shortlog.

Using Python to Flood Scammers with Fake Passwords
2 Jul 2022 | original ↗

Creating a python script to flood scammers with fake credentials.

Replacing AWS ACM SSL Certificates With No Downtime
12 Jun 2022 | original ↗

Updating Amazon Certificate Manager SSL certificates with no downtime

Finding AWS Resources by IP Address
12 Jun 2022 | original ↗

Find AWS Resources by private or public IP addresses.

NGINX: Difference Between ~ and ~* Tildes
6 Jun 2022 | original ↗

Comparing the differences between ~ and ~* tildes in NGINX configuration.

Invoking Amazon API Gateway with an API Key
6 Jun 2022 | original ↗

Invoking Amazon API Gateway with an API Key

Retaliating Against MetaMask Scammers With Python
28 Apr 2022 | original ↗

Using Python to send fake seed phrases to a MetaMask scam site.

Getting EC2 Instance Metadata Using IMDSv1
8 Feb 2022 | original ↗

How to get EC2 Instance metadata using IMDSv1

Scraping GitHub Contributor Emails
30 Oct 2021 | original ↗

Scraping GitHub contributor emails, and how you can protect yourself.

Resolving AWS CloudFront Access Denied Errors
25 Jul 2021 | original ↗

Resolving Access Denied Errors in a CloudFront Distribution that uses a Private S3 Bucket, Origin Access Identity, and Contains Multiple index.html Templates.

AWS IAM: Allowing a Role to Assume Another Role
19 Jun 2021 | original ↗

How to allow an IAM Role to assume another Role.

Uniqueness Constraint Between Two Columns in Rails
11 May 2021 | original ↗

Add a uniqueness constraint between two columns in Ruby on Rails.

Handling Decimal Precision in Rails
22 Mar 2021 | original ↗

Set precision and scale to decimal type database columns.

Cleaning Up Residual Files on macOS After Deleting Apps
28 Feb 2021 | original ↗

Clean up residual files and directories after deleting macOS apps.

Insertion Order Iteration of Maps in Go
23 Feb 2021 | original ↗

Iterating through Go maps in insertion order.

My Favorite Privacy Apps and Services
31 Dec 2020 | original ↗

My favorite privacy-respecting tools, apps, and services.

Useful Constants in Ruby's Date Class
20 Aug 2020 | original ↗

Diving into useful constants in Ruby’s Date class

Resolving Double Render Errors in Rails
10 Apr 2020 | original ↗

Prevent Rails from throwing errors when including two redirects in an action

Ruby on Rails Route Helpers vs Paths
26 Mar 2020 | original ↗

Comparing Ruby on Rails URL Helpers and Paths

Hacking into Hack The Box
6 Jan 2020 | original ↗

Getting the invite code to Hack The Box

Kubernetes Concepts and Hands-On with Minikube
4 Jan 2020 | original ↗

Learn Kubernetes concepts and get hands-on experience with Minikube

Wifi Hacking with aircrack-ng
26 Sept 2019 | original ↗

A guide to using aircrack-ng to bruteforce a router’s password

Support Me
1 Jan 2001 | original ↗

You can support me and this blog via the following methods: Buy Me a Coffee GitHub Sponsors Anything is appreciated!

About Me
1 Jan 2001 | original ↗

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 @ ...

↑ These items are from RSS. Visit the blog itself at https://nelson.cloud/ to find everything else and to appreciate author's digital home.