Map of Ubuntu and Debian base

Ubuntu Code Name Debian 21.04 Hirsute Hippo Bullseye 11 20.10 Groovy Gorilla Bullseye 11 20.04 LTS Focal Fossa Bullseye 11 19.10 Eoan Ermine Buster 10 19.04 Disco Dingo Buster 10 18.10 Cosmic Cuttlefish Buster 10 18.04 LTS Bionic Beaver Buster 10 17.10 Artful Aardvark Stretch 9 17.04 Zesty Zapus Stretch 9 16.10 Yakkety Yak Stretch […]

Continue Reading…

Setup Static IP Address in Debian Linux

Setting up static IP address in Debian Linux is easy. In this simple guide, I will be configuring the IP address using the old way (ifconfig) and requires that you have system administration rights to do the following steps: Open the network interface file with the following command: sudo vi /etc/network/interfaces Once opened you might […]

Continue Reading…

Allow user or group to run sudo on specific applications in Linux

In some situation, we may want to delegate a sudo capability to Linux users or groups without completely giving them full access to the operating system. We can achieve this by using User_Alias inside the /etc/sudoers configuration file. I will share the simple settings that I used in my RHEL server. The configuration before handles […]

Continue Reading…

Click Counter in React and Vue.js

This post is part of my React and Vue.js code by example series. My objective is to help developers with their transition in learning React to Vue.js or vice versa. This is not a comparison of which one is the best but rather to show how it is done. Let’s get started. Knowing how to […]

Continue Reading…

Remove source path from Go’s panic stack trace

I would like to share the Golang’s build flag to remove the source path (GOPATH) from panic stack trace output. In production environments or commercial projects it is sometimes not ideal to display the source path because of privacy, security or other reasons. Below is an example of a stack trace output that reveals the […]

Continue Reading…

Generate text to image in Go

In this blog post I will share how to generate text to image in Go programming language (Golang). I have previous and similar blog post using Python. You can check that post here. The reasons why I created this application is for me to share text content like Linux configuration and source code snippet in […]

Continue Reading…

Controller Request Mapping in Golang

Background I’ve been developing web applications using Java and Spring Framework and in 2019, I started using Golang in some of my projects. So far my experience with Golang is great but I miss the annotation that Spring framework provides particularly the @RequestMapping for URL mapping, @Bean and @Autowired for dependency injection. Most of the […]

Continue Reading…

Linux systemd for your Go application

Systemd is a Linux software suite that handles system services (daemon) and timers; it enables you to start, stop and restart your application using systemctl command. It can also start your application during operating systems boot-up sequence. Note that you will need to have root or sudo privileges for this operation. To create a systemd […]

Continue Reading…