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

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

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