JUnit Check For Cycles ArchUnit examples Read more
I had a case where I had to exchange a file via UDP socket, and for that to work I had to find out a tool (without writing new one) that can do that. As socat is well known tool... Read more
Check that static method exists Things to remember for template type deduction Template Class Members Deducing Function Argument Type Feature Flags Iterating over variadic template arguments in function Read more
In this article I’m going to implement a custom Tuple implementation inspired by https://medium.com/@mortificador/implementing-std-tuple-in-c-17-3cc5c6da7277. Custom tuple-like structures are useful when implementing DSL on top of C++. Implementation Example Read more
In order to invoke a JNI we need to create a Kotlin class with extrenal method and a C function with specific signature for each external method in Kotlin. Let’s assume that we have the following class in Kotlin: For... Read more
This document describes how to integrate Quarkus with Keycloak using OIDC protocol. It includes all required files and steps leading to working implementation. Starting local Keycloak Save this file as docker-compose.yaml and start it using docker-compose up -d command. Include... Read more
If for some reason sockets opened in JVM need to go through a SOCKS5 proxy, we can use the following example to do it: Configuring SOCKS5 server Install dante-server Configure socks5 server Restart socks5 server Resources Read more
Resources Read more