Hi there 👋

Welcome to my blog. This is a place where I write random ideas that I think are useful for a CS major.

  • Although my writings are mostly about computer science, don’t be afraid to check them out!
  • You can find all sorts of things, ranging from how to make a digital circuit to how to pick a good dinner!
  • Don’t forget to check out my GitHub for my personal projects.

Migrating Keycloak Instances

Complete the following steps for each realm. There are 2 ways to do each step. One via cli and one via web ui. If you are going to use the cli options, ensure that at that step keycloak is not running. First, export the realm via cli or web gui. For the cli option use: kc export --realm (realm name) --file export.json If you want to export all realms use: kc export --file export.json Only cli can be used to import if you have exported all realms. Now transfer the exported file(s) and go to your second keycloak instance. You can try to import the realm using cli or web ui. It is easier to spot errors using cli import. ...

February 10, 2025 · 2 min · 351 words · Eren Eroğlu

Air Gapped Kubernetes Install with Kubekey and Harbor

We will be simulating an Kubernetes install with QEMU and Libvirt and use Harbor to cache container images. We will have 4 VM’s for this job harbor: This machine will hold a Harbor instance to proxy our kubernetes image pull requests. control-panel: This machine will hold control panel for our kubernetes instance. worker-1 and worker-2: This machines will be our Kubernetes workers. First install libvirt, virt-install and qemu. The exact command might differ from system to system. I’m using Arch (btw.) and this command worked fine for me: ...

January 21, 2025 · 4 min · 836 words · Eren Eroğlu

Using Harbor as Container Image Cache for Kubernetes

We will be simulating an Kubernetes install with QEMU and Libvirt and use Harbor to cache container images. We will have 4 VM’s for this job harbor: This machine will hold a Harbor instance to proxy our kubernetes image pull requests. control-panel: This machine will hold control panel for our kubernetes instance. worker-1 and worker-2: This machines will be our Kubernetes workers. First install libvirt, virt-install and qemu. The exact command might differ from system to system. I’m using Arch (btw.) and this command worked fine for me: ...

January 21, 2025 · 4 min · 717 words · Eren Eroğlu

Generating Background Images with ImageMagick

Generating Background Images with ImageMagick Requirements ImageMagick Image Pattern You can draw it yourself or download one from a website like Subtle Patterns Generating image For this purpose imagemagick’s tile option fits our needs. Use the following command: magick -size {RESOLUTION} tile:{YOUR PATTERN} {OUTPUT FILE} Resolution should be width x height (for example 1920x1080) and pattern should be a valid image file. It is that simple.

December 17, 2024 · 1 min · 66 words · Eren Eroğlu

Using Barebones ESP-ID with Microros

Using Barebones ESP-ID with Microros Requirements ROS2 Docker (for running micro ROS on host) Setting Up IDF In order to setup IDF you first have to install its prerequisets. Use following command for Ubuntu and Debian (taken from official IDF documentation): sudo apt-get install git wget flex bison gperf python3 python3-pip python3-venv cmake ninja-build ccache libffi-dev libssl-dev dfu-util libusb-1.0-0 Next create a directory to install IDF (prefeberably accessible by you unpriviledged user) and clone the ESP-IDF repository: ...

December 4, 2024 · 2 min · 364 words · Eren Eroğlu