How to Run a Command Periodically

Linux: there’s the watch command.

watch date

FreeBSD: you will need the package gnu-watch.

pkg install gnu-watch;  gnu-watch date
Posted in Uncategorized | Leave a comment

How to Convert Disk IMG to VMWare’s VMDK Format

First, make sure you have qemu.

apt install qemu

Then, you can convert the file:

qemu-img convert -O vmdk disk.img disk.vmdk

Lastly, you can move the file to its VM destination.

mv disk.vmdk ~/vmware/vm-target/
Posted in Uncategorized | Leave a comment

How to Convert All HEIC Pictures in a Directory to JPEG Files

for i in *.heic; do convert $i `basename $i .heic`.jpg ; done;

You will be left with a lot of picture files. Now all that is needed is a simple delete of all HEIC, after careful examination of the output.

Posted in Uncategorized | Leave a comment

Anki reached 3000!

The other day, my Anki deck has finally reached 3000 cards. After some 500 days. Hurrah!

Posted in Uncategorized | Leave a comment

MySQL Workbench Community: “org.freedesktop.secrets” Error

If you are running MySQL Workbench and a connection fails:

The name org.freedesktop.secrets was not provided by any .service files.”

Then you should install gnome-keyring.

Posted in Uncategorized | Leave a comment