All of the following posts share a tag, and are related to that subject.
If you would like to try another subject, you can pick from the
available tags.
Defining bash functions inside functions
I tend to do a lot of things with some terrible, terrible bash scripts. Backups,
listening to music, creating temporary virtual machines... and also, listening through
my podcast backlog. This last one gets pretty complicated, and while looking
into how to manage it, I discovered a bash script technique that surprised me.
Read the full post: Defining bash functions inside functions
Using mpv to view webcam output
I work from home, and my wife commutes. Every day, in the afternoon, I find
myself constantly leaning over and parting the shades to check and see if I hear
her driving up the driveway, or if I'm just hearing random road noise. It's a
silly problem, with an even sillier technical solution.
Read the full post: Using mpv to view webcam output
Creatively trying to prevent bash script execution
While working on a project, I was wondering if I could make it very difficult to execute a script. I'm creating bash functions in separate files, and they're replacing scripts that used to be executed directly. I am removing execute permissions, but some well-meaning future self might try and "fix" them by re-adding those permissions. Could I stop them from being executed in other ways?
Read the full post: Creatively trying to prevent bash script execution