Recently another young developer had the following problem when he tried to execute and he got this error. The problem is that a library is missing. As you can see on this line This is how we solved it Step 1: Double-check if openssl is installed and install it if not. Step 2:Check if you […]
Software Development
Kotlin lernen – Cheat Sheet Teil 2
In diesem Teil des Kotlin Spickzettels geht es um Funktionen und Klassen in Kotlin. Jede Funktion wird mit fun eingeleitet. Es folgt ein Bezeichner im camelCase. Dahinter in Klammern können Parameter angegeben werden. Der Rückgabewert wird nach den Parametern angegeben Python Entwickler kennen dieses Feature bereits – Java Entwickler werden es lieben – Default Values. […]
Kotlin lernen – Cheat Sheet Teil 1
Ich selbst habe bisher hauptsächlich in Java und Python programmiert doch insbesondere die Android Welt wendet sich immer mehr Kotlin zu. Daher habe ich mich entschlossen diesen Artikel zu schreiben und so kompakt wie möglich die Kotlin Syntax vorzustellen. Kotlin Methode und Variable Result: Result: Switch case in Kotlin is replaced by when. Result:
Was ist AndroidX ?
Kürzlich ist mit beim Anlegen eines Android Projects aufgefallen, dass die dependencies im build.gradle eine andere package name structure bekommen haben. Statt com.android.support:appcompat-v7 gibt es jetzt androidx.appcompat:appcompat. AndroidX wurde eingeführt um die Paketnamen klarer zu gestalten. Es ist ähnlich wie bei java.* und javax.* packages. Alle dependencies die mit android.* beginnen sind Android-Standardklassen, die teil […]
BlockChain Mining – Solving a special task and waste some engergy

Recently I was reading lots of articles about bitcoin, etherium and blockchain in general.I was just going deeper into bitcoin and at this point I understood that we have a sha256 hash function that is called on a block and the result is written down in the next block. But there is this mining and […]
WooCommerce Subscription – Allow only one active Subscription
Actually a really common case, I thought. But out-of-the-box WooCommerce Subscription does not support this feature of having only one active subscription. So we need to do it manually. I hope you have some experience with WooCommerce and programming. If not maybe you ask a friend to assist you. So we will now add something […]
Get Raw Response Of Retrofit 2 Request

A widely discoussed problem on StackOverflow is how one gets the raw string from the respone of a Retrofit 2 request. The Approache with intercepting or using the enqueue() function does not work really well. Once the Reponse is created for the first time the enqueue function will throw an error that it can not […]
HowTo: Get notifications for ssh login attempts

Recently one of my accounts was hijacked. I was hacked. For the first time in my life. The first thing I did was changing all passwords and keys. But still I felt not save enough. For external accounts I can not do much but for my remotely acceptable computer I could (e.g. Allow Only public-key auth). […]
Most useful code snippets for Raspberry Pi

I am using Raspberry Pi’s since the first generation and I use them a lot. Over the time I collected a few snippets that I find really useful and want to same them with you. Turn off display programmatically I’ve got a Magic Mirror and by default its screen would be always on. Thats […]
Erste Schritte mit dem Alexa Skills Kit (Anleitung) – Echo & Dot

Seit dem Film Space Odyssey (Odyssee im Weltraum) und dem HAL9000 sind wohl viele von uns begeistert von dem Gedanken eine Unterhaltung mit einem Computer zu führen, ihm Fragen zu stellen und Informationen zu bekommen. Genau diese Voice Services sind zur Zeit auf dem Vormarsch. Amazon’s Alexa, Google Home, ivee oder Cubic. Dies öffnet eine […]