SETTING BINARY VIA RGB EXAMPLE Setting 0bRGB (3-bit Binary Color) In this example, each of R, G, and B can be either off (0) or on (1). This creates a simple 3-bitRead More…
Monitor Dir Size with Watch and DU
Monitoring Directory Size and Growth Rate in Real-Time Using Bash Commands Monitoring the size of a directory and its growth rate can be crucial for managing disk space, tracking data processing jobs,Read More…
MacOS as My Daily Driver & Apps I Rely On
MacOS as My Daily Driver & Apps I Rely On There is a thread on Reddit about MacOS being a daily driver and how it compares to Linux. I wanted to commentRead More…
Prometheus & Grafana MAC Monitoring via K8S
Setting Up Grafana and Prometheus on MacBook Pro (Intel Version) via Docker and Kubernetes This guide will walk you through setting up Grafana and Prometheus on a MacBook Pro (Intel version) usingRead More…
iftop reports in binary / IEC based 1024 units
iftop unit This article aims to clarify the units used in iftop, a popular network monitoring tool. A common point of confusion is whether iftop uses base 1000 or base 1024 forRead More…
Generating Timelines with Mermaid – US Wars and Birth Years
I was curious about all of the birth years that US has been in and which birth years have no had to go to war. Turns out pretty much everyone except thisRead More…
File Slicing: Extracting Data from Non-Standard Offsets Efficiently with Binwalk and dd
Introduction Extracting specific content from a file can often become a complicated task, especially when the desired data starts at an irregular byte offset. While the dd command is a versatile toolRead More…
Cleaning up $PATH
If you have a huge $PATH, run this to split every item into new line echo $PATH | tr : \\n Sort the output so similar items are together and count themRead More…
Samba and HTTP Container To Provide ISOs to IDRAC / IPMI Virtual Media
If you have a server that hosts your ISO images. Let us assume it’s a Centos 8 server and your ISOs are sitting in a directory /root/webroot/ISO and some tools in /root/webroot/tools.Read More…
Quick Way To See If Python and Pip Are Synced
Its important to know if your pip and python are using the same paths. Otherwise you might install a package with pip and it will not be accessible via python. Here isRead More…