Skip to content

Blog

Git submodule

Frequently used commands for Git submodules. gitaarik’s Gist Git docs

Read more →

March 24, 2024

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/ ↩︎

Read more →

March 23, 2024

Recover Nautilus places folders

How to recover Nautilus (File manager in Gnome) places folders.

Read more →

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.

Read more →

March 22, 2024

Read TOML file in Python

Use pathlib to read and tomllib to parse the file. (requires Python >= 3.11)

Read more →

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

Read more →

March 20, 2024