Automation
- Long-running jobs should not depend on my SSH connection
One of the more annoying parts of working on servers is waiting for something that takes a long time. A database dump. A restore. Compressing a large directory. Moving data with rsync.
- Testing Regex Before Shipping It
A regular expression is a pattern for matching text, not a full parser for every format. It helps to decide first whether you want to find a fragment, validate an entire string, or replace a match.
- Text Formatting and Cleanup
Text cleanup is easiest when you know exactly what must stay unchanged. Changing case, removing whitespace, or joining lines can be harmless in prose and destructive in code, identifiers, or signed data.