writer://

November 4, 2024

VSCode *.code-workspace file

An example of a <something>.code-workspace file, mostly for backup purposes:

Read

October 31, 2024

VSCode settings.json file

My settings.json file as of 2024-10-31, mostly for backup purposes: Note: on a Mac, these are in ~/Library/Application Support/Code/User/settings.json

Read

October 31, 2024

VSCode Tips and Snippet

Open any compatible file: To open a file that isn't in a workspace into a new window instead. I like this when it's just a random file I want to edit, not part of a project.

Read

October 30, 2024

The `awk` Command

Has some crossover abilities but really shines with displaying or translating column data. Example usage: Find something in a file, then display the first two columns: Output data in a more...

Read

October 25, 2024

Kubernetes Namespace v Context

This SO answer really helped. Essentially, a context is just a way to set the namespace on the client side when running kubectl so that you don't have to type out the namespace part of...

Read

October 25, 2024

Why You Need an HPA for Every Container

HPA = Horizontal Pod Autoscaler. POD You need to configure resource request values for all of your containers in Kubernetes because HPA makes scaling decisions based on those values. It makes those...

Read

October 10, 2024

State Software Design Pattern

The State Design Pattern is a behavioral design pattern that allows an object to change its behavior when its internal state changes. This pattern is particularly useful when an object needs to...

Read

October 9, 2024

PHP Storm Ideavim File

Note: Need to restart PHP Storm after any change to take effect. I couldn't get the Action(<action>) syntax working but the :action <action> works fine....

Read

October 9, 2024

RBAC, ABAC, Roles & Permissions

Roles vs Permissions Set permissions to roles and assign roles to users. Don't assign permissions directly to users. Create a permission, like "can view page". Assign that permission to a role,...

Read

October 8, 2024

AWS Policy Elements

Some elements of an AWS policy include: SID (optional): Statement ID used to identify the purpose of the policy statement, especially with a policy with multiple statements. Version: There are only...

Read