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

Generate a build log file with GNU Make

make 2>&1 | tee build.log

This will redirect standard output, as well as err output to build.log.

Posted in Uncategorized | Leave a comment