Show more

== utility script evolution == 

First working version: 1 stupidly long one-liner

First legible version: ~6 lines

Plus minimal error handling: ~40 lines

Plus configuration hooks: ~75 lines

Plus shellcheck overrides: ~77 lines

Plus documentary code comments: ~1KB

Plus invocation documentation (-?/-h/--help): 2.5KB

Plus ~4KB

Plus ~6KB

Version control system that preserves this evolution and lets me use commit messages to explain the logic of each step: priceless

#BOFH excuse #452:

Somebody ran the operating system through a spelling checker.

#BOFH excuse #385:

Dyslexics retyping hosts file on servers

#BOFH excuse #398:

Data for intranet got routed through the extranet and landed on the internet.

#BOFH excuse #152:

My pony-tail hit the on/off switch on the power strip.

#BOFH excuse #219:

Recursivity. Call back if it happens again.

Possessed network infrastructure:

What exactly is this switch trying to tell me? 😂

Successfully moved my Mastodon instance to a new server \o/

Show more
Kosebamses Mastodon [Kosetodon]

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!