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 set golang HTTP client timeout? [SOLVED]
In this tutorial, we will explain some methods to set timeout for HTTP requests. A Request Timeout header is defined for Hypertext Transfer Protocol (HTTP).
Subtract time.Duration from time in GO [SOLVED]
In Golang, we usually have to deal with time management, we do need to do some operations such as adding, and subtracting a duration from time. We will walk
Cannot find package even if GOPATH is set [SOLVED]
Sometimes you will encounter the "Cannot find package" error (even though GOPATH is set) when building a Golang module. In this article, we will explain why
HackerRank Solution: Python Word Order [3 Methods]
In this tutorial we will share different solutions to solve word order problem from Hacker Rank Python
HackerRank Solution: Python Time Delta [3 Methods]
In this tutorial we will provide different solutions to solve Python Delta Time Question from Hacker Rank
Split a string and assign it to variables GO? [SOLVED]
In this tutorial we will explore different methods to split a string and store into variables using golang.
How to convert io.Reader to string Golang? [SOLVED]
In this article, we will walk through some examples of converting from an io.Reader to a string in Go.
How to do https request with bad certificate? [SOLVED]
We can use InsecureSkipVerify to do HTTPS request with bad certificate.
What is & and * in Golang? [Solved]
In this tutorial we will explore what is & and * icon or operator in golang and what is it used for?
How to check if struct is empty in GO? [SOLVED]
This article describes a few methods for determining whether a struct in Go is empty. It includes structs having fields that are comparable and
How to convert float64 to int Golang? [SOLVED]
In this tutorial, we will walk through some ways to convert a float64 to int in Golang. As introduced before, we can convert float64 to a string using the
How to Compare Struct, Slice or Map in GO? [SOLVED]
In Golang, the DeepEqual function is used to compare struct, slice, and map equality. It is used to determine whether or not two items are "deeply equal".
How to do repetitive tasks at intervals GO? [SOLVED]
In today's post, I will introduce to you some ways to do some repetitive tasks at intervals in Golang. We can use the time.Ticker() function or use a channel
How to trim leading and trailing spaces GO? [SOLVED]
In this tutorial, we are going to examine some examples of trim leading and trailing white spaces of a string in Golang. Golang provides the built-in package
HackerRank Solution: Classes - Dealing with complex numbers Python
Learn how to solve classes: dealing with complex numbers which is asked in HackerRank
