writer://

April 23, 2025

Writing to stdout/stderr in Docker / Kubernetes

Recently I was testing some log aggregation, and I needed to write data to stdout/stderr so that the logging agent could send them to the aggregator. Here's a snippet of code to run that for awhile...

Read

March 10, 2025

Cloudflare API Example in bash/curl

Cloudflare API Example in bash/curl. This particular script was a proof-of-concept to disable a cache rule.

Read

March 10, 2025

Ippsec's nmap command

YouTube star ippsec's favorite nmap for initial recon:

Read

February 3, 2025

Git Config Backup

Read

February 3, 2025

Why You Need to Lock Read Rows Inside an SQL Transaction

This is hard for me to remember. I feel like START TRANSACTION should be enough to prevent anything going wrong while that transaction is active for my session. Whatever value I...

Read

January 25, 2025

ARP in Networking

ARP (Address Resolution Protocol) is a fundamental networking protocol. It translates IP addresses into their corresponding MAC address. Find your network interface: ifconfig...

Read

January 19, 2025

Concurrency vs Parallelism

Concurrency is handling multiple tasks during the same time. Parallelism is actually doing tasks at the same time. For concurrency, one person (CPU) can be doing it, for parallelism, there needs to...

Read

January 19, 2025

Promises in Three Languages

Three ways to handle concurrent API requests that resolve when all are done, but can run concurrently. In other words, if you have three requests and takes 2 seconds, takes 1 second takes 2...

Read

January 18, 2025

The `awk` Command

To determine whether a website is using only IPv6 or if it supports both IPv4 and IPv6 (dual stack), you can do: If only the IPv6 ping is successful, the site might not support IPv4. If...

Read

January 18, 2025

Things to Know About Concurrency

Things to know about Concurrency: Why it's important: Devops involves working with systems that might involve multiple processes, threads, or containers running concurrently. Understanding basic...

Read