Hello! I am Anton 👋🏼

🌬️ Push it. - 🌊 Pull it. - 🌪️ Twist it.

I am passionate about web development and love to learn new things. If you are interested in my projects find out more about me.

Expand Hetzner disk / volume

Expand Hetzner disk / volume Scan for disk-changes if those happened in a vm-environment by $host echo 1 > /sys/block/sda/device/rescan Install cloud-guest-utils which provide growpart apk add cloud-utils-growpart # or: yum install cloud-utils-growpart Extend partition to maximum available size Check with lsblk if the disk is already expanded and if not, which partition to expand. For example, if the disk is /dev/sda and the partition is /dev/sda1 run: growpart /dev/sda 1 Extend ext4 filesystem to maximum available size When using ext4 filesystem, run:...

October 26, 2024 · 1 min · Anton Bracke

Borgmatic mit Hetzner Storagebox

Borgmatic mit Hetzner Storagebox Irgendwie hab ich mein gesamtes Mail Archiv beim Anpassen eines Volumes gelöscht 🙈 Also schnell ins Backup geschaut und … naja das war leider korrupt 😱 Kein Backup kein Mitleid, die Mails waren weg. Daher hab ich mal wieder von Vorne begonnen und mein Backup System neuaufgesetzt. Diesmal mit Borgmatic und der vorhanden Hetzner Storagebox. Hetzner Storagebox Die Storagebox BX1 von Hetzner mit 1TB Speicherplatz reicht für mich für 3,81€ im Monat vollkommen aus und ist preislich top: https://www....

October 24, 2024 · 2 min · Anton Bracke

Video Acceleration on Ubuntu with Nouveau and a GTX 760

If you find this article helpful, you might want to consider using my referral code (ARM7IBQY) to sign-up for Shadow. (Although it most likely is too late, when you’re faced with the following problem. 😁) Baseline scenario I ran into an issue with the Nouveau-driver for my GTX 760 when I tried to use the cloud gaming service offered by Shadow. Shadow offers a Desktop-as-a-Service product mostly focused on gaming. In comparison to other services like GeForce Now or Google Stadia it offers way more flexibility, but no included game-licenses....

July 23, 2020 · 4 min · Armin Jacob

Alpine as docker host

Alpine is a super small linux distribution. I am using it for all my new VMs running a docker instance. Install alpine Download alpine (virtual edition) ISO from https://alpinelinux.org/downloads/ Boot ISO and login with root and no password. Start setup with setup-alpine command and follow instructions Add SSH Key apk add curl mkdir -p /root/.ssh curl -L https://<yourserver>/ssh_key > /root/.ssh/authorized_keys Install docker apk add nano nano /etc/apk/repositories Enable edge-community repository....

March 26, 2020 · 1 min · Anton Bracke

OpenCV 4 + Windows + Mingw + VSCode

Installing OpenCV 4 on Linux is difficult, but can be done. On Windows it took me hours to get it working. Download [VS Code][1] [mingw-w64][2] [OpenCV 4.1.1 (mingw edition)][3] [set_env.bat][4] Installation install opencv extract opencv[…].zip copy to D:\OpenCV\ install vscode VSCodeUserSetup-[...].exe install cpp-tools in vscode ctrl + shift + x search for: “c++” install “c/c++” from Microsoft install mingw mingw-w64-install.exe – install to D:\mingw\ (IMPORTANT: don’t use spaces in name) options: (version: 8....

September 8, 2019 · 1 min · Anton Bracke

Make your Blog: Harder, Better, Faster, Stronger

These interests are the main reasons for many blog authors to switch to static site generators like Jekyll or Hugo. Performance and security is always a thing you should be aware of when hosting a website, but I am feeling comfortable with the WordPress right now and my guest authors like to write posts with the Gutenberg editor as well. After reading a post by Delicious Brains about their suggestion in caching WordPress by directly serving cached html files with Nginx before running PHP, I started to improve my setup by something similar with WP-Super-Cache....

August 24, 2019 · 4 min · Anton Bracke

Sniffing your phone’s traffic

Checking your phone’s network traffic is often very interesting. I usually use mitmproxy for that. You can simply install it as a docker container and just need to change your phone’s proxy settings. docker run --rm -it -p 8080:8080 -p 127.0.0.1:8081:8081 mitmproxy/mitmproxy mitmweb --web-iface 0.0.0.0 There is a super handy webinterface running under http://localhost:8081 to check the transmitted data. As SSL wont be correctly signed / working then using a Man-in-the-middle proxy you have to install a CA certificate on your phone by visiting: http://mitm....

July 15, 2019 · 1 min · Anton Bracke

VS Code personalizations

This list contains some of my personal settings and optimizations I normally use in VS Code. Show whitespaces VS Code 1.6.0 and Greater As mentioned by aloisdg below, editor.renderWhitespace is now an enum taking either none, boundary or all. To view all whitespaces: "editor.renderWhitespace": "all", Before VS Code 1.6.0 Before 1.6.0, you had to set editor.renderWhitespace to true: "editor.renderWhitespace": true Source: https://stackoverflow.com/questions/30140595/show-whitespace-characters-in-visual-studio-code Lint .vue files Add the following part to your settings....

July 9, 2019 · 1 min · Anton Bracke

Mysql backup script

I recently created a new mysql backup script. It is compatible with local mysql-servers or can be used to backup the databases of a docker container. It will save on dump every hour and holds 6 of them normally and one every day, holding a complete week. I am running this script every hour via crontab: 0 * * * * /opt/mysql/backup.sh > /dev/null 2>&1

May 19, 2019 · 1 min · Anton Bracke

JavaFX 8 on Ubuntu

If you want to use JavaFX with OpenJDK 8 on Ubuntu you have to install an older version of OpenJFX and its dependencies. sudo apt install openjdk-8-jdk openjfx=8u161-b12-1ubuntu2 libopenjfx-java=8u161-b12-1ubuntu2 libopenjfx-jni=8u161-b12-1ubuntu2 Hold the package, so they wont be upgraded on system updates. sudo apt-mark hold openjfx libopenjfx-java libopenjfx-jni Tested on Ubuntu 18.04.2

May 13, 2019 · 1 min · Anton Bracke