Linkdump 27/2024
1 Gitlab
1.1 Send testmails
Caclulating QR-Code URLs for the Actimel/Pokémon lottery
Einfaches Python-Skript zur Berechnung der QR-Codes für das Acitmel Pokemon Gewinnspiel:
Linkdump 26/2024
Sehr schönes online Tool zum Frickeln an SED-Ausdrücken: GNU sed REPL
Kontrolle über S6 Services in Containern. S6-SVC Doku
Wass ist Chat-GPT eigentlich und warum funktioniert es überhaupt? Stephen Wolfram
Suche nach den ersten hundert Primzahlen in C++
Suchen der Primzahlen kleiner 100 in C++.
Atmel ICE and OS X no 4
For tinkering with an ATmega32U4 board, (again) I need to get the ATMEL ICE under macOS. Since High Sierra kernel extensions have to be signed and the presented workarounds of earlier posts wouldn’t work anymore. However, there is a signed kext available at the AVRFreaks forums. In my case, I downloaded the file, extracted and moved it. Additionally, I adjusted the owner and access rights. Since these files are system relevant files, you will need to do these operations as super-user.
Setting Hugo frontmatter using Python
Recently I switched the theme of my blog (based on hugo). My new theme is supporting some new features like authors. This feature requires some additional parameters in the front matter of the post. I found a very convenient way using the Python package front matter. The code below changes these parameters automatically. The original script was posted in a StackOverflow answer but doesn’t work for me. So I modified it slightly.
Sublime Text 3 using miniconda
The conda package for Sublime Text 3 in default configuration is prefering Anaconda. Neverless by adjusting some paths, you’ll be able to use miniconda aswell. The source block below was taken for a installation of miniconda (with Python 3.6) x64 on a Windows workstation. The paths might be different on a macOS or Linux machine.