writer://

September 16, 2025

Names in OSI Model

Application Layer: Data Transport Layer: Segment Network Layer: Packet Link/Physical Layer: Frame

Read

September 13, 2025

Man-in-the-Middle (mitm) Proxy

This thing is fantastic: Man in the Middle Proxy. It focuses a little higher in the network stack than tools like Wireshark and gives you insight about the traffic to and from your computer. It can...

Read

September 12, 2025

Subnetting (and Drills)

Subnetting Cheat Sheet**: Using that cheatsheet, solve for: Subnetting practice/drills: https://subnetipv4.com/ With subnet mask practice/drills:...

Read

September 11, 2025

MySQL - Check Collation and Charset

How to check collation and charset in mysql. utf8mb4_general_ci "ci" = case-insensitive. "A" = "a". "café" = "cafe" (accent-insensitive). utf8mb4_bin “bin” = binary. "A" ≠ "a"....

Read

July 11, 2025

How to Make a Typed PHP Array or Collection

So, one thing a lot of people want that PHP doesn't natively support is typed arrays. In other languages you can say "I want an array of integers" or "I want an array of strings" or "I want this to...

Read

July 11, 2025

Make Copying to the Clipboard From the Terminal in Mac and Linux Smoother

I use both Mac and Linux. I'm used to copying things to my clipboard from a terminal using pbcopy, so this helper makes it easier because I don't have to remember the linux flavor of the command....

Read

July 11, 2025

Objects That: Have State vs Do Work

I'm self taught at developing. Been at it for a long time, but I've missed some of the pivots the world of developers - PHP specifically - have done, and when classes were introduced back in PHP 4,...

Read

July 10, 2025

PHP - How to Turn an Array into a PDO-Safe IN Query

In code using legacy PDO-style statements, if you need to do something like an "IN" query using user-supplied data, you're in for danger if you don't parameterize them. PDO can handle the security...

Read

July 1, 2025

MySQL - How to Show Data and Index Size in your Tables

How to show data and index size in your mysql tables.

Read

June 12, 2025

Why Change to AWS Amplify?

I had been running this blog on AWS S3. You can do some weird gyrations when you set up a bucket a specific way and it will let you serve a static website really easily. I used a WP static plugin for...

Read