You might ponder this question while you are taking a drink at the bubbler.
(Elisp) Yet Another Function To Save All File Buffers
(defun help/save-all-file-buffers () "Saves every buffer associated with a file." (interactive) (dolist (buf (buffer-list)) (with-current-buffer buf (when (and (buffer-file-name) (buffer-modified-p)) (save-buffer)))))
(Hardware) Best Inexpensive Monitor Ever
Last year I searched for a monitor with these attributes:
- Great color and bright from all angles easy for all-day viewing
- Cables: HDMI, DVI, and VGA
- Inexpensive because of the obvious and also the possibility of building a 2×2 monitor grid
The ASUS VS239H-P 23-Inch Full HD 1920×1080 IPS HDMI DVI VGA Back-lit LED Monitor is my winner: it meets all of the criteria.
It is easy to use and looks great. One year old it still is selling well. It is an easy purchase because 8,299 owners ranked it a 4.5/5 so I’m not alone here.
Now join the club.
(macOS) Open A Finder Window By Pressing Option(alt)-Command(⌘)-Space
Save a few mouse drags and clicks to open Finder by pressing Option(alt)-Command(⌘)-Space.
It is even faster than hitting Control-Space to start Spotlight.
Avoid Most Bash Errors Pretty Much By Quoting Everything, And More Best Practices
This page shows common errors that Bash programmers make. These examples are all flawed in some way.
You will save yourself from many of these pitfalls if you simply always use quotes and never use WordSplitting for any reason! Word splitting is a broken legacy misfeature inherited from the Bourne shell that’s stuck on by default if you don’t quote expansions. The vast majority of pitfalls are in some way related to unquoted expansions, and the ensuing word splitting and globbing that result.
All of us have fallen into one of these pits.
Why not use Python instead? 🙂
non-interactive shells 😠.
More on Quotes and Word Splitting.
ShellCheck, A Static Analysis Tool For Shell Scripts
- Bash Programming Rules
- If you must then frequently run ShellCheck
Here are my questionable credentials to make this claim.
(Go Lang) Do You Dare Enable Go Vet Shadow?
go vet shadow warns of variable shadowing. That is where you declare a variable with the same name, in the same scope.
Do you dare enable it?
(Go Lang) A Go Almost REPL: The Gore Read-Generate-Run-Loop
(Packet Modem) Dire Wolf Is A Software Tnc/Aprs
Dire Wolf is a software “soundcard” AX.25 packet modem/TNC and APRS encoder/decoder. It can be used stand-alone to observe APRS traffic, as a tracker, digipeater, APRStt gateway, or Internet Gateway (IGate). For more information, look at the bottom 1/4 of this page and in https://github.com/wb2osz/direwolf/blob/dev/doc/README.md
(Go Lang) Hopwatch, A Debugging Tool For Go