[Linux] Adding page number to PDF file in terminal
Note: You will lose all the links (hyperlink, internal-link) in PDF with this way
Create latex file numbered.tex:
Ain't Nobody Got Time to Read
Note: You will lose all the links (hyperlink, internal-link) in PDF with this way
Create latex file numbered.tex:
Go to about:config, enable config toolkit.legacyUserProfileCustomizations.stylesheets. Go to about:support > Profile Directory > Open Directory. Firefox profile directory will be openned in new window. In your pr…
Right click on the dock > Layouts > Configure... In Settings window, go to Preferences tab In Actions section > Tick Press ⌘ to activate Application Launcher Or Open ~/.config/kwinrc, then add: ... [Modifie…
Put information for gen key in a text file, eg. gpg_gen_key: Key-Type: 1 Key-Length: 2048 Subkey-Type: 1 Subkey-Length: 2048 Name-Real: My Name Name-Email: my.email@example.com Expire-Date: 0 Passphrase: secretpass Gen k…
For Debian: apache2-utils.
sudo apt-get install apache2-utilsFor Fedora: httpd-tools.
sudo dnf install httpd-toolsRun with -c option if /etc/nginx/.htpasswd does not exist:
sudo htpasswd -c /etc/nginx/.htpasswd user1
If .htpasswd already exists, don't use -c option or file will be overwritten.
To add more user to password file.
sudo htpasswd /etc/nginx/.htpasswd user2Mosh is a replacement for interactive SSH terminals.
Mosh doesn't listen on network ports or authenticate users. The mosh client logs in to the server via SSH, and users present the same credentials (e.g., password, public key) as before. Then Mosh runs the mosh-server remotely and connects to it over UDP.
Add-ons: History AutoDelete
Features:
Auto delete expired history. For example, you don't want to keep history since 30 days ago.
Auto delete a specific domain's history. There are obvious websites we don't want to keep in our history :see_no_evil:.
Uninstall bumblebee and nvidia driver from rpmfusion if installed.
$ sudo dnf remove *nvidia* akmod-bbswitch bumblebee primusTo download patch file of a commit on github, just add .patch to its URL (without arguments like ?diff=unified). Common URL: https://github.com/<owner>/<repo>/commit/<commit_id>.patch For example, t…