writer://
September 17, 2025
Drill: Guess the Binary Number
I wanted to be able to read binary numbers better, mostly 0-255, because it is sometimes used in networking and because it's interesting to me right now. So, here's a little practice system:...
ReadSeptember 16, 2025
Drill: Guess the Hex Number
I wanted to be able to read hex numbers better, mostly 0-255, because it is sometimes used in networking and because it's interesting to me right now. So, here's a little practice system: Reveal...
ReadSeptember 16, 2025
Names in OSI Model
Application Layer: Data Transport Layer: Segment Network Layer: Packet Link/Physical Layer: Frame
ReadSeptember 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...
ReadSeptember 12, 2025
Subnetting
Using that cheatsheet, solve for:
Subnetting practice: https://subnetipv4.com/
CIDR Calculator: https://cidr.xyz/
Useful Linux app:
(Might need sudo apt update && sudo apt...
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"....
ReadJuly 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...
ReadJuly 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....
ReadJuly 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,...
ReadJuly 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