Convert Public RSA Key to OpenSSH Public Key Format Extract Certificate and Private Key from PKCS12 Read more
Here we show how to inspect images presented as files with .img extension. As ‘img’ extension does not always dictate type of file it may not always work. One good indicator that it’s usable as shown here is that if... Read more
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