Programming

DevOps

Add basic authentication to Kubernetes Ingress nginx

Add basic authentication to Kubernetes Ingress nginx

Wonder how to add basic authentication to Ingress? I am going to show you how to add basic authentication to Kubernetes Ingress nginx in...
Use ternary condition in Helm

Use ternary condition in Helm

In this post, I will show you how to use ternary condition in Helm to render inline values into the templates. Let say we have...
Update root password in MariaDB 10.4 on MacOS

Update root password in MariaDB 10.4 on MacOS

There is some changes in authentication procedures in MariaDB 10.4, hence, you can not use previous techniques to change root password. I will show...
Execute Kubernetes Pod Shell Command as Root user

Execute Kubernetes Pod Shell Command as Root user

Usually for security reasons, you will run container image as a regular user, non-superuser. However, sometimes, you want to test or debug something on...

Web Development

Top 5 Hidden Gin Features Every Go Developer Should Know

Top 5 Hidden Gin Features Every Go Developer Should...

When building web APIs in Go, Gin is often the go-to framework for its speed and simplicity. While most developers are familiar with its core features,...
Mastering Custom Middleware in Gin: A Deep Dive into Extending Your API’s Functionality

Mastering Custom Middleware in Gin: A Deep Dive into...

When building APIs with Gin, middleware is one of the most powerful tools in your arsenal. It lets you inject logic into the request-response...
Mastering Route Grouping in Gin: A Practical Guide to Organizing Scalable Web APIs

Mastering Route Grouping in Gin: A Practical Guide to...

As a developer who has built and maintained several web APIs using Gin, I’ve come to appreciate the importance of writing clean, organized, and...
Delete node revision in Drupal 8+

Delete node revision in Drupal 8+ programmatically

If you cannot find a way to delete node revision in Drupal 8+ programmatically, take a look at this post, I will show you...

Coding Tips

Top 5 Hidden Gin Features Every Go Developer Should Know

Top 5 Hidden Gin Features Every Go Developer Should...

When building web APIs in Go, Gin is often the go-to framework for its speed and simplicity. While most developers are familiar with its core features,...
Delete node revision in Drupal 8+

Delete node revision in Drupal 8+ programmatically

If you cannot find a way to delete node revision in Drupal 8+ programmatically, take a look at this post, I will show you...
Integration API not working after upgrading to Magento 2.4.4+

Integration API not working after upgrading to Magento 2.4.4+

There is an update that make integration API not working after upgrading to Magento 2.4.4+. I will give you some notes to fix the...
How to check if node is published in Drupal 8+

How to check if node is published in Drupal...

This is a quick tip to check if node is published in Drupal 8+. Since Drupal 8+, entity or node is published when its status...

Miscellaneous