Categories
Linux

Back up your WordPress site (manually)

TL;DR – don’t use automated solutions. Do it properly and do it manually Create a temporary directory to work in: Time to dump the MySQL database! It’s not that hard. Quick note before you run this – this is assuming your MySQL installation authenticates via UNIX sockets. If you have password authentication I suggest moving […]

Categories
Android Apple Developer Linux

How to encrypt everything in your life

Big warning before we begin Encryption is only as strong as the schema that supports it. If the software has a vulnerability then your encrypted data may be as good as unencrypted data in the hands of adversaries. So make sure you keep all of your software up to date and follow best practices. I’m […]

Categories
Linux

Why are you rejecting my browser?

Starting from today (the publish date of this article) you may notice that you can no longer view this website on some older devices and browsers. This is normal, and let me explain why. TLS 1.0 and 1.1 were deprecated completely in 2020. The only thing you need to know is, if your browser does […]

Categories
Linux

Bits and pieces of the Raspberry Pi

While going through the moving boxes, I found both of my Raspberry Pis – both model 3B+, both unused for quite some time. Since one of these were used for OctoPi, I just hooked it back up to my 3D printer. That left my other Raspberry Pi. I thought of a fun project to work […]

Categories
Linux

GPG: The Complete Crash Course

I’ve always wanted to write this blog post someday, but found it quite difficult because even I didn’t know the fundamentals behind GPG, and how it all worked behind the scenes. So it’s extremely satisfying to finally release this today. Of course, since I’m only human there will probably be lots of mistakes. If you […]

Categories
Linux

Setting up nginx and certbot on CloudFlare DNS

If you want to mitigate DDoS attacks in this day and age, CloudFlare is pretty much the only answer. That, and large CDNs around the world operated by the likes of Google and Amazon, but I’m no enterprise entity and can’t pay thousands of dollars every month just to show my crap blog posts on […]

Categories
China Linux

Using tinc to get around double-NAT

When I came back to China in 2018, I learned the hard way that the network carriers don’t give out public IPv4 addresses anymore. Now, you’re stuck behind their NAT, using the same IP address as everyone else, forced to live that peasant life. I mean, sure, it’s not a big problem for 95% of […]

Categories
Games Linux

Set up a game server (Minecraft and Factorio)

Quick start script “I’m lazy and I need a script to do this for me” is my life-blood, and it should be yours, too! Therefore, I made some scripts that automate the process below. Check out this README file to see what command to run, in order to perform a one-line install on your server. […]

Categories
Linux

Setting up Duplicacy on UnRAID with Backblaze B2

I need a server backup. With over 4TB of data stored, the chances of getting data corruption are pretty high. In this post we’re going to look at Duplicacy, a tool that allows you to backup large amounts of data to any storage provider. So what is Duplicacy? Duplicacy is a backup/restore tool for servers. They […]

Categories
Linux

Set up U2F on Linux

It’s 2019, and Manjaro still does not ship with a working U2F implementation. Why, Linux!? Let’s get right to it, shall we? Missing udev rules Linux restricts USB devices by default, and in order to read and write from them, you need to relax the kernel by adding a couple of rules. Unfortunately, Manjaro does […]