curl https://git.io/ -i -F "url=$url" -F "code=$code"
$url is the url you want to shorten.
$code is the custom link ending e.g. mylink for git.io/mylink.
| Correctly wrapping lines | |
| mailnews.wraplength 0 | |
| mail.compose.wrap_to_window_width true | |
| plain_text.wrap_long_lines true | |
| view_source.wrap_long_lines true | |
| Setting the User Agent |
| windowsupdate.microsoft.com | |
| update.microsoft.com | |
| windowsupdate.com | |
| download.windowsupdate.com | |
| download.microsoft.com | |
| test.stats.update.microsoft.com | |
| ntservicepack.microsoft.com |
Delete existing sessions:
rm -rf ~/.cache/sessions/Make directory read-only:
chmod -w ~/.cache/sessions/Always start zathura in fullscreen mode:
Add this to your zathura configuration file (~/.config/zathura/zathurarc). The value must be of the size of the screen or higher.
set window-height 3000
set window-width 3000
Start zathura in presentation mode:
Even if you completely disable avatars on your wordpress website, it will still load avatars from https://secure.gravatar.com when members of your team log into the website. In order to fix this privacy issue we can use a plugin to use a locally stored avatar for scenarios where avatars can't be disabled completely.
Let's assume your wordpress website is: https://example.com
- Log into your worpress website:
sudo pacman -S gdb
sudo pacman -S pwndbg
echo 'source /usr/share/pwndbg/gdbinit.py' >> ~/.gdbinitIf you are getting the following error "Cannot find Pwndbg virtualenv directory: /usr/share/pwndbg/.venv: please re-run setup.sh", do the following steps, otherwise ignore:
Credits to https://lobotuerto.com/blog/how-to-setup-full-disk-encryption-on-a-secondary-hdd-in-linux/ .
- Identify your device name. This is usually easy by comparing the sizes of the drives. Usually, the system device name is sda. So, external devices names start with sdb.
lsblk| # to start xpdf always in fullscreen mode | |
| # use this alias xpdf='xpdf -fullscreen' | |
| # set zoom to page | |
| initialZoom page | |
| defaultFitZoom 600 | |
| # display mode to single page |