Sequence field in MS Word
The Seq (Sequence) field sequentially numbers chapters, tables, figures, and other items in a document.
The Seq (Sequence) field sequentially numbers chapters, tables, figures, and other items in a document.
Copy the fonts files to ~/.local/share/fonts/
. Then, run fc-cache
to rebuild fonts cache.
Frequently used commands for Git submodules.
TO add the reference to another git project as a submodule:
Alternatively, you can use GUI tools like or GitHub desktop. They download and initiate submodules automatically.
Add you will see the file .gitmodules
with information about the submodule(s). For instance,
[submodule "themes/DoIt"]
path = themes/DoIt
url = https://github.com/HEIGE-PCloud/DoIt.git
With -b $branch
option
Or set-branch -b $branch
if you already have added a submodule
From a stackOverflow post and Git docs
For automated updates by bots, see automatic dependency update.
From Git docs
To display frequencies of all CPU cores every second:
The SSH agent will ask you to enter a location to save the keys. e.g. /home/user/.ssh/id_ed25519
. Passphrase is optional.
Then there will be two SSH key files:
~/.ssh/id_ed25519
is the private key. Protect it at all costs.~/.ssh/id_ed25519.pub
is the public key.Using different keys for GitHub and GitLab access is more secure. However, the same pair of keys is used for this demonstration purposes.
Edit ~/.ssh/config
Add the following content to set the private key as the IdentityFile.
Host GitHub
HostName github.com
IdentityFile ~/.ssh/id_ed25519
Host GitLab
HostName gitlab.com
IdentityFile ~/.ssh/id_ed25519
According to 📖 Github docs, add the SSH key here
~/.ssh/id_ed25519.pub
to the key field.Add SSH key
green button. If prompted, confirm your GitHub password.Add the SSH key here
~/.ssh/id_ed25519.pub
to the key field.Add key
button.GitHub:
Accept its fingerprint if prompted. If you see "Hi user! You've successfully authenticated, but GitHub does not provide shell access" that means login is successful.
GitLab:
Accept its fingerprint if prompted.
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.
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.
How to recover Nautilus (File manager in Gnome) places folders.
Use pathlib
to read and tomllib
to parse the file. (requires Python >= 3.11)