Tips
Visible Yet Missing Logical Volumes
While working on an automated install script for an embedded board, I hit an issue with the logical volumes never showing up in /dev/mapper, and in turn unable …
Vultr Deny All Firewall
While setting up new instances on Vultr for testing, I wanted to initially ensure that no traffic beyond my own could touch the instances. After adding a …
Linux Audit Rule Paths
I encountered a little bit of confusion while rewriting my auditd rules which some Googling did not help me solve. When monitoring a file or directory there are …
Disk Errors
A collection of disk-related errors and their fixes. Block Size Mismatch WarningAfter writing an ISO to a flash drive, partitioning tools may complain: 1 …
Creating an Empty Git Branch
Every now and then I find myself wanting to create a new empty branch in an existing repository. It's useful for things such as GitHub Pages so you're able to …
Unbuffered Pipe Filters
I need to filter a live log stream for only relevant events and quickly hit an issue that I wasn't expecting. The grep in my pipe chain was waiting until it …
Fast Hex to Decimal in Bash
I needed too turn some hexadecimal values into decimal in a bash script and found a real easy way too do it. The following is a very short bash script …
Extracting Content From Markdown
Recently I've been playing around with building a pure javascript full text search engine for static content sites like this one. One of the challenges with …
One-Liner SSL Certificate Generation
I regularly find myself in need of generating a quick SSL key and certificate pair. I've been using a one-liner for a while to generate these certificates. No …