Sascha Manns

My personal Blog about Linux, Windows Programming and other random stuff.

Posts in 2023

Gründung der Hochschulgruppe der Gesellschaft für Informatik an der FernUniversität Hagen

Zur Zeit bin ich neben meinem Studium dabei, eine Hochschulgruppe der GI an der Uni Hagen einzurichten. Was machen wir dort und welche Vorteile hast Du dort? Monatlicher virtueller Stammtisch zum Austauschen und Entspannen Vorträge von und für JGI-Mitglieder zu IT-Themen Schneller Kontakt zu Kommilitonen aus allen Semestern Hilfe zu allen Themen des Studiums Möglichkeiten zum Engagement in der …
University Group Hagen

Paketaktualisierung schlägt bei postinst-Scripten fehl

Problem [English] Kürzlich brach ein apt upgrade ab, da in einem Paket ein Problem mit den Scripten vorlag, die nach der Installation ausgeführt werden sollten. Das ganze sah so aus: Das Problem lag hier also im Paket pengwin-base. Lösung Zuerst wechselte ich in das Verzeichnis /var/lib/dpkg/info und suchte die Datei pengwin-base.postinst. Jetzt öffnete ich die Date in einem …
Linux Lesson learned Pengwin Windows Subsystem for Linux

Package update fails for postinst scripts

Problem [German] Recently an apt upgrade aborted because there was a problem in a package with the scripts that were supposed to be executed after the installation. The whole thing looked like this: So the problem here was in the pengwin-base package. Solution First I changed to the directory /var/lib/dpkg/info and searched for the file pengwin-base.postinst. Now I opened the file in an editor …
Linux Lesson learned Pengwin Windows Subsystem for Linux

Minimal API-Key Lösung

Problem Ich suchte nach eine Lösung, um mit minimalem Aufwand eine minimale Lösung für API-Key-Überpüfungen. Lösung public class ApiKeyMiddleware { private readonly RequestDelegate _next; private const string APIKEYNAME = "ApiKey"; public ApiKeyMiddleware(RequestDelegate next) { _next = next; } public async Task InvokeAsync( …
.NET ASP .NET Core Lesson learned

Minimal API-Key Solution

Problem I was looking for a solution to provide a minimal solution for API key checks with minimal effort. Solution ApiKeyMiddleware.cs: public class ApiKeyMiddleware { private readonly RequestDelegate _next; private const string APIKEYNAME = "ApiKey"; public ApiKeyMiddleware(RequestDelegate next) { _next = next; } public async Task InvokeAsync(HttpContext …
.NET ASP .NET Core Lesson learned

Support the open source community? Yes with pleasure, but how?

Supporting the Open Source Community - Yes, but how? We come into contact with free software every day. Many of our smart phones use a Linux operating system. Some smart watches as well. When we drive our car, open source components are at work in the onboard system. In the server environment and in the cloud, open source operating systems such as Linux dominate. …
Development Opensource

Open Source Community unterstützen? Ja gerne, aber wie?

Tagtäglich kommen wir mit freier Software in Berührung. Viele unserer smarten Telefone nutzen ein Linux-Betriebssystem. Manche smarten Uhren ebenso. Fahren wir mit unserem Auto, werkeln im Bordsystem Open-Source-Komponenten. Im Serverumfeld und in der Cloud dominieren Open-Source-Betriebssysteme wie Linux. Freie Software wird nicht nur in Forschung und Bildung verwendet, sondern auch in der …
Development Opensource

Zelda 3 - A Link to the Past für Windows, Linux und MacOS

Gerne denke ich an die 90er zurück. Der Start der Heimcomputer, der speziellen Musik, und der Spiele. Eines der Spiele, an die ich gerne zurückdenke, ist "Zelda - A Link to the Past". Schon Ende der 80er hatte Nintendo diese epische Reihe gestartet. So sah das ganze damals aus; Gerade der dritte Teil aus dem Jahre 1995 hatte riesige Schritte nach vorne gemacht. Bessere Grafik und orchestraler …
Linux Windows 11 Ubuntu

Synchronise Github Repository with Azure DevOps

Problem Sometimes we face the problem that we want to synchronise an existing Gitub repository with another repository on Azure DevOps. For example, to deploy from there to Azure. So what is the best way to proceed? Solution After several attempts, I found the best solution for me. First, I added the following secrets in the "Secrets" section of the Github Actions: AZUREPAT (Here you add …
ASP .NET Core Lesson learned Github

Github Repository mit Azure DevOps synchronisieren

Problem Manchmal stehen wir vor dem Problem, das wir ein vorhandenes Gitub Repository mit einem anderen Repository auf Azure DevOps synchronisieren möchten. Zum Beispiel um von dort aus auf Azure zu deployen. Wie geht man nun am besten vor? Lösung Nach mehreren Versuchen habe ich die für mich beste Lösung gefunden. Zuerst fügte ich in der "Secrets"-Sektion der Github …
Lesson learned Github Azure DevOps

Zelda 3 - A Link to the Past for Windows, Linux und MacOS

Gerne denke ich an die 90er zurück. Der Start der Heimcomputer, der speziellen Musik, und der Spiele. Eines der Spiele, an die ich gerne zurückdenke, ist "Zelda - A Link to the Past". Schon Ende der 80er hatte Nintendo diese epische Reihe gestartet. So sah das ganze damals aus: Especially the third part from 1995 had made huge steps forward. Better graphics and orchestral sound.   Until now, …
Linux Windows 11 Ubuntu Opensource openSUSE

Welcome to Moonglade

Moonglade is the new blog system for https://edi.wang. It is a complete rewrite of the old system using .NET 6 and runs on Microsoft Azure. …