Interesting tools to have a look at
I found some tools in the internet that sound useful:
I found some tools in the internet that sound useful:
First you need to choose a base image that is available for the target platforms as well. Create your Dockerfile as usual and then build the container for different platforms. This example would create an amd64 and a aarch64 (arm64/v8) image: Based on these you can create a manifest and upload it: This would already …
How to create docker containers for multiple platforms / architectures Read More »
In my Spring Boot 3 application that hosts an API I wanted to have some entries highly used but rarely changed entries in a second level cache. In the past I was usind hibernate-ehcache but that project seems to be dead. The replacement for it is hibernate-jcache. First attempt was to use ehcache backing the …
Hibernate Second Level Cache with Spring Boot 3 and Redis Read More »
Using Spring Events can be very handy to decouple code. But have you ever tried creating generic events and then write a listener for them? Java or Kotlin themselves don’t prevent you from doing so but when you try receiving the events you will see that it doesn’t work. The reason for this is type …
With Spring Boot 3 some classes were deprecated and also the Keycloak adapter and the admin client stopped working in an application I am maintaining. In https://blog.coffeebeans.at/archives/1904 I already showed how to instantiate a WebClient which is the new way Spring wants us to call external APIs – not considering external libs like feign now. …
RestTemplate is dead and everybody should use WebClient now. That’s what you find everywhere so I had a look how to configure an instance of WebClient properly: This defines a bean genericWebClient with Spring Boot configured Jackson ObjectMapper instance. Here is also the code for the WebClientLoggerBuilder: This simply logs method, path and headers of …
Docker wants to bill companies for Docker Desktop. In my opinion it’s not worth it because there are multiple options how to replace it without the need to really change habits. Here the statement taken from Docker FAQ regarding payment for Docker Desktop: Who’s required to pay for Docker Desktop? Docker Desktop requires a paid, …
The following time code generation is based on real time clocks synced with ntp on mac or linux computers using UTC time. Make sure your machine has an internal clock source otherwise the time drift will be too big. This approach is a very cheap way to get proper time code into cameras. If your …
Simply delete the folder <user>/Library/Application Support/REAPER.
As it was quite hard to find a proper command to replace all empty lines within a text file – including empty lines at the start and end – I wanted to take down the following command which worked for me on macOS: