Recent Posts

Order ls Command Output by Date

2 minute read

How to order ls output by date, what each time field represents, and which flags are most useful when investigating files and directories.

Run a Rails App Without a Database

2 minute read

How to run a Rails application without a database, why you might want to, and what configuration changes are required to avoid unnecessary coupling.

See Git Log in Glorious Detail

2 minute read

How to view Git history in rich, readable detail using git log options that surface context, intent, and change impact.

Can’t Find the libpq-fe.h Header?

2 minute read

How to resolve errors related to missing libpq-fe.h headers when compiling PostgreSQL clients or native extensions, and why this issue occurs.

Shrink a SQL Database Log File Safely

2 minute read

How to safely shrink a SQL database transaction log file, when it’s appropriate to do so, and why indiscriminate shrinking often causes more harm than good.