<< Back to Startpage

Blog

Welcome to my blog

Here, I share my thoughts, tips, and experiences on coding and software development. As a software developer, I am always learning and growing, and I use this blog as a way to document and reflect on the things that have helped me in my work. Whether you’re just starting out in the field or you’re a seasoned pro, I hope you find something useful here.

I decided to write here in English as it is the language of software engineers.

Thanks for stopping by!

(DEV-TIP) Magento development environment: Reload images from CMS and products from remote server.

4.11.2021

In the local development environment, all images from the live environment are usually missing. With a small hack you can solve this problem.

(DEV-TIP) Debugging racing conditions in Magento2 in JavaScript

12.12.2021

Racing conditions are hard to debug because they often cannot be recreated consistently. Here is how I tackled one of those cases.

(DEV-TIP) Optimize a large amount of images on the command line.

24.8.2022

An oneliner can be used to easily optimize large image data on the command line.

(DEV-TIP) Verifying data from an ElasticSearch instance working with Magento2

6.7.2022

With a few simple curl calls in a bash, data can be extracted from an ElasticSearch instance.

(MANAGEMENT-TIP) Strategies for the getting the most out of developer job interviews

9.1.2022

I did more job interviews than I am able to recall. Here is a list of things I that helped me find the right candidates.

(DEV-TIP) Deleting all tables in a mySQL database

24.1.2022

A little while back I needed to reset a database and I did not want to mess with the uses and access rights. So, I made a script that gets rid of all content in the database.

(DEV-TIP) Debugging and Customizing Order Success Page in Magento2

2.3.2023

Accessing the order success page requires a successful order. Here is a shortcut to skip the order process.

(DEV-TIP) Making varnish, Apache and Let’s Encrypt play nicely

28.3.2023

After installing varnish you may experience problems with Let’s Encrypt renewal failures. Here’s what you need to do.

(DEV-TIP) Exporting and Importing Magento 2 DBs

28.6.2023

Exporting and Importing Magento databases has its pitfalls. Here’s how you do it without falling into a trap.

(DEV-TIP) Recovering mysql from ‘Database Page Corruption’

11.7.2024

Mysql server crashed and would not restart. How can I fix the page corruption on startup?

(DEV-TIP) CLI-Script for creating Sitemap XML

15.10.2024

How to create Magento sitemap programmatically: The Magento2 sitemap can only be created through cron-jobs. I wrote a little script that makes it possible to start sitemap creation at will, which is very useful for debugging.

(PRODUCTIVITY) How to stop LibreOffice windows from shrinking to a very small line on Linux

17.10.2024

When I drag LibreOffice windows from full-size view to another monitor, they frequently collapse to a small line and become almost invisible. I wrote a small script that makes sure they always remain clickable. Here it is:

(DEV-TIP) How to determine if a user is logged in without facing a PHPMD.CookieAndSessionMisuse in Magento2

29.10.2024

To determine if a user is logged in I usually use the customer-session object. Yet, this leads to an error in PHP Mess Detector: CookieAndSessionMisuse. Here’s how to avoid that.