Knowledge Base

A growing collection of notes on topics I find interesting or useful. Linux internals, security hardening, networking, infrastructure, and whatever else I happen to be digging into. Some are polished references, others are working notes still being refined from my personal knowledge base. These notes are less curated than my posts and were at least accurate at the time of writing. Some have gotten quite old and while I periodically try to prune or update them, your mileage may vary.

Explore

Data Recovery

Recovering Data from SwapSometimes useful bits of information can be recovered from swap. Whether it's encryption keys, documents that were being worked on or anything else that might've ended up in …

GPSd

InstallationInstall gpsd and optionally the client tools. On a headless server you'll probably want to skip gpsd-clients as they pull in X dependencies for xgps. 1 2 3 $ pacman -S gpsd # Arch $ apt …

PAM

Overview/etc/pam.d/ directory contains the PAM configuration files for each PAM-aware application. Each pam aware configuration file has lines in the format of: <module interface> <control …

Gatekeeper Script for SSH

The gatekeeper pattern adds a post-authentication challenge to SSH sessions using ForceCommand. The concept was inspired by a scene in a movie where a system required answering riddles before granting …

Thai Inspired Turkey Meatballs

Ingredients 1 piece fresh ginger (4-inch), peeled 6 cloves garlic, peeled 2 habaneros 2 pounds ground turkey 3 tablespoons fish sauce Kosher salt 2 tablespoons vegetable or olive oil 4 cups unsalted …

GPG Process Notes

These are my working notes on GnuPG key management, smartcard workflows, and related operational practices. This covers everything from initial key creation through daily use, maintenance, and …

Broiled Salmon with Chili-Lime Sauce

Ingredients 1 cup mayonnaise 2 Tbsp harissa chili paste (sambal oelek works as a substitute, adjust to taste) Finely grated zest of 2 limes 2 tsp fresh lime juice 1/2 tsp ground coriander seed 2 lbs …

Lentil Dal

Ingredients 2 Tbsp coconut oil 1 serrano pepper 1 Tbsp minced fresh ginger 1 shallot, thinly sliced 3 cloves garlic, minced 4 Tbsp green curry paste 2 1/4 cups light coconut milk 1 tsp ground turmeric …

Time

This is a very basic operation on a Linux system, but I have to interact with it so rarely since I run chrony on all my machines. Occasionally, I find a device that needs a helping hand. On a device …

38
Notes
21,837
Words
490
Code Blocks
2h 1m
Time to Read
28
Links Out
102
Tags