Optional Type Hints in Python

How to use optional type hints in Python v3.10+.

2024-01-16 · [Updated 2025-10-29] · 618 words
Hitting Back at Ledger Scammers With Python

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

Getting EC2 Instance Metadata Using IMDSv2

How to get EC2 Instance metadata using IMDSv2

2023-12-01 · [Updated 2025-08-14] · 672 words
Company Missions are Bullshit

Every company’s real mission is to make money.

2023-11-24 · [Updated 2025-09-07] · 93 words
How to Determine the Entrypoint for a Docker Image

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

2023-09-27 · [Updated 2025-08-14] · 135 words
Publishing Fake AWS API Keys on My Site

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

2023-06-16 · [Updated 2025-08-14] · 256 words
Automatically Delete Development Logs in Ruby on Rails

How to automatically delete development logs in Ruby on Rails.

2023-05-21 · [Updated 2025-08-14] · 391 words
Delete All node_modules Directories Recursively in macOS and Linux

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

As an Employee, You Are Disposable

Companies are willing to lay off employees despite being profitable.

2023-05-06 · [Updated 2025-11-14] · 461 words
My Donation Earnings Over the Past Year

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

2023-05-04 · [Updated 2025-10-29] · 105 words
How To Install Older Versions of Homebrew Packages

How to install a specific version of Homebrew packages.

2023-04-18 · [Updated 2025-11-14] · 510 words
Redirect One Domain to Another Using AWS S3 and CloudFront

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

2023-02-16 · [Updated 2025-08-14] · 1308 words
Ruby Hash Key Types Vary Depending on Hash Syntax

Key types in Ruby hashes depend on hash syntax.

2023-01-06 · [Updated 2025-08-14] · 691 words
Hosting a Static Website on AWS Using S3 and CloudFront

How to host a static website on Amazon Web Services using S3, CloudFront, ACM, and Route 53

2022-12-30 · [Updated 2025-10-29] · 1505 words
How to Enable Manual Runs of GitHub Actions Workflows

How to enable manual runs of GitHub Actions workflows.

2022-12-27 · [Updated 2025-08-14] · 174 words
Sorting Hashes in Ruby

Many ways of sorting hashes in Ruby.

2022-12-04 · [Updated 2025-08-14] · 383 words
Restricting Ruby on Rails Routes with :only and :except

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

2022-12-03 · [Updated 2025-08-14] · 376 words
Iterating Through Hashes in Ruby

Several methods of iterating through Ruby hashes.

2022-11-17 · [Updated 2025-08-14] · 550 words
Fix Devise Errors in Ruby on Rails 7

How to fix Devise errors in Ruby on Rails 7.

2022-11-16 · [Updated 2025-08-14] · 573 words
Set a Default Ruby Version with Ruby Version Manager (RVM)

Set a default Ruby version using RVM with rvm –default use

2022-11-06 · [Updated 2025-10-29] · 50 words