Blog
Tips and tricks.
Batch compress files
Batch compress files with the following tools find : https://linux.die.net/man/1/find GNU parallel: https://zenodo.org/records/1146014 (PDF) and https://www.gnu.org/software/parallel/parallel_tutorial.html (HTML) 7z xz
2025-11-11
NTFS in Linux
Replace ntfs3 with ntfs-3g Ubuntu 24.04 (with kernel 6.8) may give an error while mounting NTFS partitions. You can replace the default ntfs3 driver with the good old ntfs-3g driver when the ntfs3 driver does not work. echo 'blacklist ntfs3' | sudo tee /etc/modprobe.d/disable-ntfs3.conf sudo rmmod ntfs3 sudo apt install ntfs-3g Solution: disable the open source ntfs3 driver and use the good old ntfs-3g driver.
2024-09-09
Reload nvidia GPU driver
How to reload nvidia GPU driver to fix “NVML: Driver/library version mismatch” error after installing new nvidia driver. No rebooting required. 1
2024-08-08
Status check for a multi-stage workflow
If you run a multi-stage workflow with status checks in branch protection rules, you might found that skipped jobs are treated as “passed”. That is, if you have a workflow with a chain of dependent jobs A -> B -> C. When B fails and C is skipped, it still counts as passed when checking job C. Thus, auto-merging may merge broken code.
2024-04-04
fstab
Mount NAS drive in Linux at boot Add the following entry to /etc/fstab to automatically mount NAS drives at boot
2024-04-04