Posts

30 October / / windows / wsl
In Windows, it is possible to copy the output from a command in cmd.exe directly to the clipboard, without requiring any mouse or other interaction. This can be helpful if you need to copy the output of larger commands, like ipconfig to a forum or another place, where redirection into a file using the > or >> operators might not be optimal. Here’s how it works: Piping output to the clipboard The command we need to use is C:\Windows\System32\clip.
30 October / / android
I do not like the fact that WhatsApp by default clutters my Android phone’s media gallery with every image or video it receives. If you find this annoying as well, here’s how to fix it (source: WhatsApp FAQ). It works fine on my Android 7 device but I do not know whether or not this works on IOS as well. Disable WhatsApp media in gallery You will need access to Android’s file system with a file explorer or alternatively using your computer’s file explorer.
19 October / / gitlab
While playing around with this new website, I noticed relatively long loading times. By default, GitLab Pages does not seem to use any compression when serving the static files of the website. Let’s confirm this using a quick curl call: chris@CHRISTIANS:~$ curl -ILH "Accept-Encoding: gzip" https://webd97.de HTTP/2 200 accept-ranges: bytes cache-control: max-age=600 content-type: text/html; charset=utf-8 expires: Fri, 19 Oct 2018 20:18:08 UTC last-modified: Fri, 19 Oct 2018 19:56:45 GMT vary: Origin content-length: 12034 date: Fri, 19 Oct 2018 20:08:08 GMT If you take a closer look at the response headers, you can see that there is no Content-Encoding header although gzip was specified as an accepted encoding in the request and the response body is indeed not compressed.
14 October /
Having discovered that my current hosting plan will become more expensive in December, I decided that my current setup with WordPress is somewhat overkill, so I terminated my hosting contract with 1&1 and switched over to GitLab’s static site hosting. This website is now powered by Hugo and GitLab Pages with a TLS certificate issued by Let’s Encrypt.
Please note: This article was migrated from the old website Dockerizing Minetest makes hosting a Minetest server much easier than it used to be, especially when it comes to more complicated setups, e.g. when using PostgreSQL as database backend and sofar’s Minetest Media Server for media delivery. In this first article, I’ll show you how to dockerize the Minetest server. What you’ll need A Docker-compatible OS, perferably a Linux of your choice; I’m using Ubuntu 16.