Android WIFI Debugging

To set-up Android WIFI debugging, perform the following steps. Connect Android and PC to same WIFI network. Then, in Android go to developer tools and enable wifi debugging. Then in debugging menu, select pair device, where you’ll get an IP... Read more

Local S3 Bucket Development Setup With Docker

docker-compose.yaml Start docker-compose and then to list buckets, enter: Java/Kotlin Code Connecting S3FS FUSE to Docker S3 TestContainer Read more

ChatGPT Prolog Templates

REST API Verification Prolog General Best Practices Creating Kotlin Code Snippet Then to generate Prometheus metrics implementation, ask the following: Read more

Quarkus tips&tricks

Injecting @ApplicationScope implementations of certain class Returning Completion Stage as a Result Mapping Configuration to Objects https://quarkus.io/guides/config-mappings Catching Wildcard Paths with @Path annotation If there is a need to capture everything after fixed prefix of a path, use this syntax... Read more

Kubernetes Controlled Sidecar Shutdown

Sidecar concept in Kubernetes is very useful ability to run multiple docker images in same pod (Kubernetes unit of execution). One common way to load sidecar is to attach additional container to pod whose only purpose is read stdout/stderror pipes... Read more

Renewing Kubernetes Certificates on Master

Backup config Renew certificates Copy kubectl config Related Articles Read more

Simulate events in Android Emulator

I had to do some testing with application which expected certain boot events to occur to start properly. Since it was an emulator, boot event was never received and so I was not able to start all background services related... Read more

Gstreamer pipeline examples

Following 2 tests were done on OrangePI 5 Creating MP4 H264 video decoder to fakesink Render video to display Listing available plugins To list all available system plugins do: To inspect individual plugin arguments Using capsfilter Enabling debug logs https://gstreamer.freedesktop.org/documentation/coretracers/log.html?gi-language=c Read more

Removing all unused files from Docker image

I had a situation where I had to build an app from SDCard image (block device) and containerize it. Since image was over 7 GiB I had to somehow remove all unused files from it to keep it as slim... Read more

Debian Package tips&tricks

List Trusted Keys Preparing Debian for minimal docker image Read more