Group By Read more
I recently had a need to cross-compile a Rust binary for ARM64 architecture (Linux). This little code snippet describes how I did it with Alpine linux base image. Cross-RS Read more
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