Monitoring a small server
So you set up your server, it's open to the world, and everybody talks about what security risk that is. Your firewalls work, you probably use something like fail2ban, you check your logs every now and then, but that's not 100% protection. Really you'd need to be able to monitor the server over time...
Fonts on Linux, Chapter One: Changing Default and Fallback Fonts with Fontconfig
I want an easy way to map the default Sans, Sans-Serif and Monospace fonts to fonts of my choice. I have seen posts on the internet where this is achieved by editing $XDG_CONFIG_HOME/.config/fontconfig/fonts.conf: <!-- Generic name aliasing --> <alias> <family>sans-serif<...
Dotfiles (old, not recommended)
Not Recommended This approach is doubtlessly very clever and professional, but I failed miserably in using it, and almost wrecked my $HOME in the process. This has made me much more careful and I now favour this approach. In the past, I already attempted to manage some of my configuration files, ...
Creating Backups with borgbackup and Maintaining them with Systemd
After major data loss, I made a plan: Backups! I reorganized my hard drive, which now contains a separate partition only for backups. This will be mounted when needed. After a little preliminary search i decided on Borg - it is simple to use, and deduplicating. Automation is the key. Weekly backups,...
Hacking and stripping Armbian for Pinebook (Ubuntu 16.04 based)
Get Rid of Login Manager, Back to Startx systemctl disable graphical.target didn't cut it. Armbian uses nodm, which has its own sysvinit service, but it can be disabled with: systemctl disable nodm. This brings me to a familiar console login after a reboot. startx is possible, ~/.xinitrc is parsed. ...
How to run a command before/after package install/removal on Debian/Ubuntu
Create a file inside /etc/apt/apt.conf.d. The following options allow you to run commands or scripts before or after invoking dpkg/apt/apt-get tools: # This is a list of shell commands to run after invoking dpkg/apt-get # DPkg::Post-Invoke {"command";}; DPkg::Post-Invoke {"/path/to/script";}; # This...
Making your Stock Android phone safer
This is not a complete step-by-step HowTo. You will have to look at each of the linked articles and make your own choices depending on your device, android version and so on. Last year I got myself a used Acer Liquid E700. It's a nice phone, big enough, and very powerful for its price. A cruci...
Play Youtube (and many other) Media Links from your Browser with One Click
Requirements Install mpv on your computer. Install youtube-dl on your computer. More about that later. Install the Open With addon. It seems to be available only for Mozilla browsers, but I'm pretty sure something similar also exists for chromish browsers. Setup Make sure mpv is working with local...