DevOps
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
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
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
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
Parse query string in Gin web application
In this tutorial, I will show you how to parse query string in Gin web application.
Create a Gin project
First, let's initialize a Gin project...
Add basic authentication to Gin web application
Like any other web framework, Gin-gonic also provides a convenient way to add basic authentication. Today, I will show you how to add basic...
Get started with Gin framework
Gin or Gin-gonic is one of the most popular and most feature rich web framework in Go (Golang). Let's get started with Gin framework...
Fix issue missed schedule in WordPress
In WordPress, post schedule is triggered through wp-cron script when someone visits the page; however, if the page has low traffic, the post will...
Coding Tips
Parse query string in Gin web application
In this tutorial, I will show you how to parse query string in Gin web application.
Create a Gin project
First, let's initialize a Gin project...
Get object key by value in Javascript
We can easily get object value by key using index operator object, but what about getting object key using value? Today, I will show...
Use curl to measure site metrics
curl is a great utility to make network requests and transfer data across the Internet, but do you know that we can also use...
Increase Node application maximum memory usage
If your Node application fails due to Javascript heap out of memory error, it means it doesn't have enough memory to execute, and you...