As written in my last blog post, the notion api is finally released for the public!
In this blog i want to give an overview of whats possible now from a developer perspective.
Today is a very special day! Notion starts the public beta for their official api. From now on it’s possible for third-party developers to build extensions around the notion ecosystem.
Here a some examples of integrations:
This is only a excerpt. I’m sure there are a lot of more possibilities, that we can’t imagine now.
Unfortunately there are not very many…
In this blog post, I want to show how to monitor docker containers via the monitoring software Zabbix.
The available containers will be discovered by Zabbix so new containers will be automatically added to the monitoring.
Version 2 of Zabbix-agent is required. If don’t know how to install it, check out my last blog post.
The Zabbix agent runs under a user named “zabbix”. By default “zabbix” is not allowed to execute docker commands. But that is neccesary to check the health of single docker containers.
To fix the problem, you have to add the group “docker” to the user…
Zabbix is popular monitoring software. In this article, I’m going to show how to install version 2 of Zabbix-agent. With Zabbix-agent2 you have also the possibility to monitor docker containers.
In order to install the Zabbix-agent2 via the package repository of your Linux distribution, you have to add Zabbix to your known repositories.
For Debian 10 you can do that by executing the following commands:
# wget https://repo.zabbix.com/zabbix/5.2/debian/pool/main/z/zabbix-release/zabbix-release_5.2-1+debian10_all.deb
# dpkg -i zabbix-release_5.2-1+debian10_all.deb
# apt update
For other distributions, you can find instructions on the official Zabbix download page.
Then you can install the Zabbix-agent2 with:
apt install zabbix-agent2
Annoyed of this warning?
I want to share a quick solution, how to suprress the warning in the Dependency Injection Framework Koin for Kotlin.
This is neccesary in Koin 2.2.2, but will be probably not needed any more in Koin 2.2.3.
Follow the Discussion on GitHub: https://github.com/InsertKoinIO/koin/issues/939
Add the following snippet to your build.gradle:
freeCompilerArgs += '-Xopt-in=org.koin.core.component.KoinApiExtension'
Add the following snippet to each app module:
freeCompilerArgs += "-Xopt-in=org.koin.core.component.KoinApiExtension"
Jetpack Compose is the new toolkit for android to build native user interfaces. To get started, i highly recommend going through the “Jetpack Compose basics” Codelab by Google. If you prefer video content, the youtuber CodingWithMitch has a complete course on how to build apps with jetpack compose.
Please note that jetpack compose is not stable yet, so changes in the API might be possible.
In this blogpost i want to share, how to build a simple datepicker textfield, that looks like that:
Today a want to talk about a bug in CLion. The Bug is present on the Ubuntu Subsystem for Windows and on Arch Linux. I guess that this bug is also present on more linux distributions.
When Using the Package manager on linux, i sometimes get the following error in CLion.
In this article i want to show how to install swift on Arch Linux and integrate it in the CLion IDE¹.
First you have to install the swift-Package.
There are multiple aur packages available:
I prefer using the swift-bin aur over swift aur, because of faster installation and update times. (I don’t have to build the complete swift binaries from source)
yay -S swift-bin
When installing the swift-bin aur, the path of the toolchain will be
In this folder you can find all binaries and…
In this article you will learn how to create a post route which receives json, does some logic with the content of the json and returns json content to the executor.
You should know how to create a basic ktor rest application and know how to test your routes, e.g. via curl command.
If don’t do so, consider reading my first post about ktor:
Let’s build a small login application. The user sends a username and password to the ktor backend. The server responds whether to credentials are correct.
For simplicity reasons we check the credentials against hardcoded strings. For…
In this tutorial we will create another POST-Route. Special in this case is that we want to specify parameters and use them then in the reponse.
This is a follow up tutorial on simple POST requests. You can find the basics how to create a POST route in the following article.
We want to pass two parameters
param2 to the server on the POST route
This is the curl command for our needs:
curl -X POST -F param1=value1 -F param2=value2 http://localhost:8081/test2