qutebrowser crashing

Yet another time qtbrowser started crashing, yet another time fixed it by removing state and sessions from ~/.local/share/qutebrowser/. I blame me messing with qt versions last week.

ag

Somehow magically I don’t have to escape anything in the regexes when using it!

ag "(VISION_|short)" *

passing empty parameters to python argparse / cli?

python - Passing empty string to argparse - Stack Overflow:

python test.py --mode=

I’ve been using args a la -w is, but -w=is also works, and therefore python3 myprogram.py -w -another=opt is perfectly valid! Python parses it as empty string (that casts to False).

fc linux meaning

TIL fc stands for “fix command”!

vim s/ replacing stuff

Discovered that if you just want to remove something, %s/from works (without the second // part at all)