Category

Programming Tutorials and Coding Guides

Explore programming tutorials with practical examples across multiple languages, scripting, and development concepts for beginners and advanced users.

Welcome to the Programming tutorials section, where you will learn coding concepts with real-world examples across multiple languages and platforms.

This category includes beginner to advanced guides covering scripting, automation, and application development. Whether you are learning programming for system administration or building applications, these tutorials will help you gain practical experience.

Programming plays a crucial role in modern infrastructure and DevOps workflows. You can also explore related topics such as DevOps and Linux to understand how programming integrates with system-level operations.

What you will learn

  • Core programming concepts and logic building
  • Writing scripts for automation and system tasks
  • Debugging and optimizing code
  • Practical use cases in real environments

Who should read this

  • Beginners starting with coding
  • System administrators learning scripting
  • Developers looking for practical examples

960 articles

How to PROPERLY kill a process in Golang? [SOLVED]

In this tutorial we will cover different scenarios to kill a process using golang code. We will use different in-built functions to achieve this requirement.

By admin · 5 min read · programming

Get local IP Address in Linux using GO [4 Methods]

Different methods to get local IP Address in Linux using golang. Here we will explore some of the possible ways to get both IPv4 and IPv6 addresses on all

By admin · 4 min read · programming

Convert map to struct in Golang [4 Methods]

There are different methods to convert go map to struct, some of them are Using for loop, Using reflect package, Using json.Unmarshal() function, Using …

By admin · 4 min read · programming

Convert map to JSON in Golang? [4 Methods]

In golang there are couple of methods using which we can easily convert map to JSON, some of the methods are: Using json.Marshal() function, Using …

By admin · 3 min read · programming

How to set CPU Affinity in Golang? [SOLVED]

There are multiple methods to set CPU Affinity in golang such as using taskset, syscall package or you can use C library inside the GO code to use …

By admin · 5 min read · programming

HackerRank Solution: Maximize it [Python Itertools]

Note that you need to take exactly one element from each list, not necessarily the largest element. You add the squares of the chosen elements and perform the

By bashiralam · 5 min read · programming

How to PROPERLY stop goroutine? [SOLVED]

In today's article, I will guide you on how to stop a goroutine in Golang. A goroutine is a very lightweight thread that is managed by the Go runtime. Every

By tuannguyen · 4 min read · programming

How to change int to int64 in Golang? [SOLVED]

In Golang, it is very simple to convert an int to int64. In today's post, we will show you some simple examples of converting an int to int64. Depending on

By tuannguyen · 3 min read · programming

Golang iterate over slice in reverse? [SOLVED]

In Golang, iterating over a slice is surprisingly straightforward; In this article, we will learn how to iterate over a slice in reverse in Go.

By tuannguyen · 3 min read · programming