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.

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 mitmproxy/mitmproxy mitmweb --web-iface 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

Regex collection

This is a collection of regex expressions I often use. They are not perfect and 100% correct, but will catch most errors a user normally makes. Email addresses /^[a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/ Phone number /^(\+|0{1,2}?)[1-9][\d -]+\/?[\d -]+$/ Matches: +49301234567 00 49 30 123 – 456 – 7 030 / 123 45 67 030/1-2-3-4-5-6-7 German postalcode / ZIP /^([0]{1}[1-9]{1}|[1-9]{1}[0-9]{1})[0-9]{3}$/ Regulärer Ausdruck für Deutsche Postleitzahlen Date (dd.mm.YYYY) /^\d{2}\.\d{2}\.\d{4}$/

April 20, 2019 · 1 min · Anton Bracke

Traefik – New reverse proxy!

I was recently introduced to a new software called Traefik. A reverse proxy / load balancer that’s easy, dynamic, automatic, fast, full-featured, open source, production proven, provides metrics, and integrates with every major cluster technology… No wonder it’s so popular! What else to say? Sounds exactly like a tool I would love. As my setup is already based on a great diversity of docker containers it sounded interesting to me to have a reverse proxy that is handling routing and load balancing automatically to them and can even manage the necessary Let’s encrypt certificates for me....

February 4, 2019 · 4 min · Anton Bracke