Categories
Science

iFAQ

Questions that I infrequently ask myself and, by the very nature of their infrequency, tend to forget the answer.

Edge PWAs on Ubuntu 22.04

If shortcuts become non-functional and orphaned from Edge, they are located in ~/.local/share/applications and can be deleted as required. In general, PWAs (notably Outlook) perform better if the Edge cache is cleared regularly.

matplotlib font cache

If using newly installed fonts with matplotlib, often you need to delete the cached data to ensure that matplotlib will find the new fonts. This can be done by deleting:

~/.cache/matplotlib/fontlist*.json

This should force a rebuild of the font list on next import of matplotlib.

Identify non-UTF-8 characters in a file

grep -axv ‘.*’ file.txt

Emacs ACLS error

This is a pain, that randomly seems to occur when using rclone. See here: https://github.com/microsoft/WSL/issues/6004

Leave a Reply