Unmounted Disk Labels
A quick bash one-liner that lists every disk label present in /dev/disk/by-label/ that is not currently mounted, so you can spot forgotten or orphaned volumes at a glance.
read more
Updating VM Memory Usage Configs
Tune Linux VM memory behavior by adjusting vfs_cache_pressure, dirty_ratio, and swappiness to reduce unnecessary swapping and improve I/O throughput.
read more
User Performance Data on MySQL
A quick bash one-liner that pulls per-user CPU time, connection counts, and active session details from MySQL’s INFORMATION_SCHEMA and processlist tables.
read more
Using an htaccess file to rewrite a block page with Apache
Use Apache mod_rewrite to return a 400 error for a specific URI and optionally block hotlinking from other domains. A quick .htaccess snippet that keeps unwanted traffic off a single page.
read more
AWS VPC Overview & Component Breakdown
A visual walkthrough of the core networking components that make up an Amazon VPC, from subnets and gateways to security groups and route tables. Understanding how these pieces interact is essential for designing secure, well-segmented cloud networks.
read more
Structure of an AWS IAM Policy
An overview of how AWS IAM policies are structured, including the six policy types and the key elements of a policy document. Learn how to apply the principle of least privilege when defining permissions.
read more