Fix Devise Errors in Ruby on Rails 7

How to fix Devise errors in Ruby on Rails 7.

 · Updated  · 2 min · 377 words

Set a Default Ruby Version with Ruby Version Manager (RVM)

Set a default Ruby version using RVM with rvm --default use <version number>

 · Updated  · 1 min · 41 words

Ignore Files Across All Subdirectories in .dockerignore

How to recursively ignore files when building Docker images.

 · Updated  · 1 min · 108 words

Adding Environment Variables to Serverless Functions

How to add environment variables to Serverless functions

 · Updated  · 1 min · 149 words

Scrape Contributor Emails From Any Git Repository

Scraping contributor emails from git repositories using git shortlog.

Using Python to Flood Scammers with Fake Passwords

Creating a python script to flood scammers with fake credentials.

Finding AWS Resources by IP Address

Ways to find AWS Resources by private or public IP addresses.

 · Updated  · 2 min · 324 words

Replacing AWS ACM SSL Certificates With No Downtime

Updating AWS Certificate Manager SSL certificates with no downtime

 · Updated  · 1 min · 159 words

Invoking Amazon API Gateway with an API Key

How to pass an API key via the x-api-key header when invoking AWS API Gateway with curl and Python.

 · Updated  · 1 min · 76 words

NGINX: Difference Between ~ and ~* Tildes

~ for case-sensitive matching vs ~* for case-insensitive pattern matching in location blocks.

 · Updated  · 1 min · 39 words

Retaliating Against MetaMask Scammers With Python

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

Getting EC2 Instance Metadata Using IMDSv1

How to get EC2 Instance metadata using IMDSv1

 · Updated  · 1 min · 213 words

Scraping GitHub Contributor Emails

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

Resolving AWS CloudFront Access Denied Errors

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

 · Updated  · 3 min · 459 words

AWS IAM: Allowing a Role to Assume Another Role

How to allow an IAM Role to assume another Role.

 · Updated  · 2 min · 271 words

Uniqueness Constraint Between Two Columns in Rails

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

Handling Decimal Precision in Rails

Configure Rails decimal columns with precision and scale to prevent rounding errors.

Cleaning Up Residual Files on macOS After Deleting Apps

Clean up residual files and directories after deleting macOS apps.

 · Updated  · 2 min · 324 words

Insertion Order Iteration of Maps in Go

Iterating through Go maps in insertion order.

 · Updated  · 1 min · 165 words

My Favorite Privacy Apps and Services

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

 · Updated  · 4 min · 680 words