An example project for creating a simple Flask UI for controlling crontabs
Controlling cronjobs with a Flask UI
Updated on 30.6.2024
While creating a proper readme for the project, I realized that it can
actually be used to control several cronjobs, I just hadn't used it in that
way.
It is somewhat limited by the script identifier and by having only three
options (schedule 1, schedule 2 or disabled), but I think these could be
resolved in a reasonable amount of time.
An example of changing quarkus retry variables in a kubernetes deployment
Configuring SmallRye Retry for a Kubernetes deployment
We had a need to configure the SmallRye Retry configurations on the fly on our product that is running as a Kubernetes deployment, but I couldn't easily find documentation on this particular case. So, I decided to share this solution, and apparently also create a small tutorial on Quarkus and Kubernetes.
For this example, you shold have some understanding of Java, Maven, Docker and Kubernetes, but in the end, it is quite simple, and you (hopefully) should not have many issues replicating it.
Controlling an IKEA Trådfri light with Zigbee2MQTT running on a Raspberry Pi
Controlling IKEA Trådfri light using a Raspberry Pi
In this article I will explain how I created a simple wake-up light from an IKEA smartbulb that relies on Zigbee2MQTT running on a Raspberry Pi
Instead of doing the Azure project I had planned, I've been studying for the AZ-204 certificate on my free time. I decided to use my first vacation day to start and surprisingly finish a project that has been on my mind ever since I bought the Raspberry Pi. We have an IKEA Trådfri lamp in our bedroom and I wanted to turn it into a make-shift wake-up light.
Creating a local website with LiteDB database and HTTP calls.
I've since moved away from LiteDB and created the backend using SQLite and Python
Hosting a Local Website on Raspberry Pi with Flask
Let's jump straight in. I wanted to keep things simple, so I decided to use a basic html, css and javascript setup with Python Flask. I used ChatGPT to generate a html file with the form that I wanted, some basic css and a javascript file. I refined them myself until I was happy with the look and functionality. My target is a tablet, so I didn't bother too much with the desktop experience.
Implementing an HTTP listener to a Raspberry Pi to control a LiteDB database
Setting Up a HTTP Listener for LiteDB on a Raspberry Pi
If you want to skip the setup for my situation, press me. I am not an expert, but learning and experimenting myselfIn the previous article I setup a LiteDB (NoSQL database) to my Raspberry Pi. This time I want to add a HTTP listener to my Raspberry Pi that can used to make modifications to the LiteDB database. This will enable me to make changes to the database using Local Area Network (LAN) devices.
Building a birthday invitation handler with Azure Functions, Static Web App and Storage
Creating a birthday invitation handler
If you want to skip the setup for my situation, press me. I am not an expert, but learning and experimenting myselfInstead of sending my birthday invitations through text, I wanted to implement some Azure service in to the mix. After thinking about it for a while I decided to go with Azure Functions and Azure Static Web App.
The plan was to give people unique address links with unique identifiers where they could send a HTTP request that was handled and saved with Azure Functions to a storage account as a csv.
Quick tutorial-like explanation how I setup a LiteDB database to my Raspberry Pi
Setting up LiteDB on a Raspberry Pi
If you want to skip the setup for my situation, press me. I am not an expert, but learning and experimenting myselfWhat's the point?
I finally got myself a model 3 b+ Raspberry Pi and as I've never worked with a NoSQL database before, I decided to try one out with it. My initial choice was running a MongoDB database inside a docker container.