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
[SOLVED] Define GO function with multiple types
We can either use an empty interface using interface{} or use generics to define golang function accept two types or multiple types as an input.
Golang Context Complete Tutorial with Examples
The golang context package is part of the standard library. It defines a Context struct type and three functions— withDeadline(), withCancel(), and …
Set GOPATH Variable in Linux & Windows PROPERLY
Steps to modify or set GOPATH variable in go env in both Linux and Windows. Make the changes permanent (persistent)
Golang power calculation using math.Pow() function
Calculate the power of integers and float number using math.pow() function and other possible methods.
Golang string interpolation Explained [With Examples]
The golang string interpolation can be done using different fmt packages such as Printf(), Sprintf(). Fprintf() and Errorf()
How to PROPERLY write multiline strings in GO?
How to declare golang multiline string. Declare a multiline string with and without special characters and escape characters used for new line or Tab delimiter. …
Getting started with CGO using Visual Studio Code
Getting started with cgo language. How to use it with Visual Studio Code. Calling C code with GO or calling GO code with C. Create Hello World cgo code.
SOLVED: How to reverse sort slice of integer in GO
There are two methods to sort slice of integer in reverse or descending order. To sort in descending order, you have to implement the sort.Interface interface …
Golang Ticker loop to iterate over time.Tick channel
Execute a ticker in for loop and then stop the loop using stop() function. We can also break the ticker loop channel conditionally.
Golang Ticker Explained in Detail [With Examples]
golang ticker is used to perform any task at frequent intervals. golang time.Ticker is similar to time.Timer, but its channel delivers more elements at regular …
How to upload, display and save images in Node.js
Step by step instructions in node.js to upload file, then display and save files with practical examples
Python string startswith another string [SOLVED]
Use startswith() method to check if python string startswith another string or sub string. Check starting of character with char limit.
Python pass Vs break Vs continue [1-1 Comparison]
Comparison and differences between pass vs break vs continue statement in python with 1-1 comparision and examples.
Python pass statement Explained [Beginners Guide]
When do we use python pass? Understand python pass statement usage with practical examples.
Python continue Explained [Beginners Guide]
Using python continue statement in for loop, while loop, if condition, nested for loop, nested while loop, multiple continue statement with examples
