writer://

December 21, 2024

Endianness and Hex Editor Values

Type "foobar" (no quotes) into a text file, open in a hex editor. 'b' will be hex '62' which translated to dec is '98', which is the ascii code for the letter 'b'. B's ascii code is 66, so the hex...

Read

December 21, 2024

Signal Handling in Three Languages

Signal processing in three scripting languages: Run: Run: Run:

Read

December 21, 2024

Hexidecimal Math

Note: this is not the "word" abc123. This is the number abc123 as represented in hexidecimal. Each "place" is 16^<place>. So abc123: a...

Read

December 7, 2024

Docker RUN v ADD v COPY

I was wondering why we needed specific commands like COPY, instead of just RUN cp file1 file2. Research, and a colleague, says there are two reasons: Basically,...

Read

December 7, 2024

Docker Image Layers

Each instruction in a Dockerfile (like RUN, COPY, or ADD) creates a new layer. These layers are stacked on top of each other to form a complete...

Read

December 7, 2024

Docker RUN v CMD v ENTRYPOINT

RUN - (buildtime) during image build, lines in a bash script to install everything for the image. Most Dockerfiles will have many of these. Each one creates a docker layer. It's a good idea to...

Read

December 3, 2024

Kubernetes Control Plane

Control Plane is a group of components to run the cluster; Data Plane is everything that is actually the app and things supporting the app. It's like the Control Plane is the OS and the Data Plane is...

Read

November 23, 2024

Add a Kubernetes Cluster Context

This is for my own understanding. Please don't assume it is 100% correct. Each cluster provider will have some sort of kubeconfig command so you can add a context locally, for whatever...

Read

November 23, 2024

View Your Current a Kubernetes `kubectl` Cluster Context on the CLI

When I first started using git many years ago, you would be working pretty blind on the command line (and I don't know of any GUI tools at the beginning). So, to make sure you didn't...

Read

November 23, 2024

VSCode keybindings.json file

My keybindings.json file, mostly for backup purposes: Note: on a Mac, these are in ~/Library/Application Support/Code/User/keybindings.json

Read