- A fine cheese grater and the side of spoon work great, but
- The ginger grater gets all of the juice without any of the pulp
- The peeler handles crevices without destroying them like a spoon does
- The pro tools (aka birthday gifts)
Author: grant
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? 🙂
Oh yea, non-interactive shells
?.
More on Quotes and Word Splitting.
ShellCheck, A Static Analysis Tool For Shell Scripts
- Bash Programming Rules
- Don’t
- If you must then frequently run ShellCheck
Here are my questionable credentials to make this claim.
emacs-25.3-mac-6.7 Is Released
emacs-25.3-mac-6.7
Is Released!
Also railwaycat/emacsmacport/emacs-mac
.
(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?
Anybody Miss The Kill-Ring When They Use Their Host OS
Here “Host OS” means the operating system on which you run Emacs.
When I use my host OS by muscle memory I try to use the Kill Ring just like I do in Emacs and then I get a painful surprise: I have to copy everything that I need somewhere else and then copy it back. Yuck. Can you recommend a solution for this on macOS?
browse-kill-ring makes the kill ring really easy to use.
If You Use Magit Then Do These Two Things
-
Run it from source and update it every day using this shell command
cd ~/src/magit/ && git ls-remote && git pull && make clean && make
- Join the Kickstarter to support the next release
(Go Lang) A Go Almost REPL: The Gore Read-Generate-Run-Loop
If You Have An Org-Mode Problem Then You've Probably Got It Installed Twice
If you have an org-mode problem then you’ve probably got it installed twice. Here are two examples where I always get into trouble:
- I run from source, this is impossible
- It is possible because some package listed Org-Mode as a dependency
- I run only from the Org-Mode package
- It is possible because some other package listed Org-Mode as a dependency
- Sometimes a reference to org-plus-contrib can shake things up because it “works fine for a while… and then doesn’t”
The errors are usually cryptic, to the lazy like me, and not worth investigating because they are fake errors.
(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