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.
Create AWS DynamoDB CRUD API in Golang [SOLVED]
Step by step instructions to create a CRUD based REST API using AWS DynamoDB in Golang
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
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 …
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 …
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 …
HackerRank Solution: Python Division [2 Methods]
We can solve the Python division hackerrank problem using single or multiple print methods. There are 2 possible solutions.
HackerRank Solution: Python Arithmetic Operators
We can solve python arithmetic operators hackerrank problem using either single print or with multiple print statements
HackerRank Solution: Python Loops [3 Methods]
In this tutorial we will solve python loops hackerrank problem with multiple possible solutions,
HackerRank Solution: Python If-Else [3 Methods]
This tutorial explains different solution to solve hackerrank problem Python if else from Introduction section.
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
How to use goroutine return value? [SOLVED]
In this example we will use golang channel to fetch the goroutine return value:
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
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
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.
