writer://

September 25, 2025

.vimrc File Backup

There is no rhyme or reason to the structure, just a pile of settings. This has changed a lot since I moved to VSCode as my IDE; I removed a lot of the IDE-ish functionality I used to have with...

Read

September 23, 2025

Binary Trees

EXCELLENT article on b-trees, with animations that make it very easy to understand: https://planetscale.com/blog/btrees-and-database-indexes Also a good video:...

Read

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

Read

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

Read

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

Subnetting Cheat Sheet**: Using that cheatsheet, solve for: Subnetting practice: https://subnetipv4.com/ CIDR Calculator: https://cidr.xyz/ Useful Linux app: Might need: -- 10.0.0.0...

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