Blog
Use local time in Linux
When dual-booting Linux and Windows,it might be better to set the clock to the local time zone in Linux1 to in sync with Windows settings. timedatectl set-local-rtc 1 https://itsfoss.com/wrong-time-dual-boot/ ↩︎
March 23, 2024
Recover Nautilus places folders
How to recover Nautilus (File manager in Gnome) places folders.
March 22, 2024
Strip Jupyter Notebook Output
Jupyter notebooks without multimedia outputs are more friendly to source control since git is not good at comparing binary data (e.g., plots, pictures, videos) in jupyter notebooks. And they tend to bloat the size of git repositories.
March 22, 2024
Read TOML file in Python
Use pathlib to read and tomllib to parse the file. (requires Python >= 3.11)
March 21, 2024
Removing large binary blobs in the git tree
Git filter-repo is a filter-branch replacement for rewriting history written in a single-file python script. To wipe large binary files entirely: git filter-repo --strip-blobs-bigger-than 100M
March 20, 2024