I co-wrote a blog post on WireGuard with adr13n earlier this month.
Read it on research.kudelskisecurity.com.
For this to work you will need an NVIDIA GPU.
Get the mpv-build
scripts, tune the mpv and ffmpeg options and build:
#!/bin/sh
mkdir -p ~/git
cd ~/git
git clone https://github.com/mpv-player/mpv-build.git
cd mpv-build
# write mpv_options file
cat << EOF > mpv_options
--enable-cuda-hwaccel
EOF
# write ffmpeg_options file …
On Arch gpg-agent
comes with the gnupg
package so no other package is needed if gpg
is already installed.
I use gpg-agent
for temporarily caching the PIN for my Yubikey so that I don't have to type it everytime as well as for ssh-agent emulation.
Add the following lines …
Systemd is great. Here are a few things you can do with it.
I usually can't remember where unit files are located but that's not an issue. Systemd will let you edit them just by knowing the unit name.
$ export SYSTEMD_EDITOR=vim
$ sudo -E systemctl edit --full …
Over the years I have learned many tips and tricks when working with Bash. Some are well known while others are not. Here are a few tricks that I find the most useful.
So you know you just typed that command but cannot remember what it was. Fine …