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

Golang JWT (Json Web Token) Examples

In this tutorial we learned how to create HTTP Server and Client using golang JWT (JSON Web Token)

By tuannguyen · 10 min read · programming

Golang regexp Examples [In-Depth Tutorial]

In the Python section, we have introduced some examples of working with regex (regular expression). In Golang, the built-in package regexp implements regular

By tuannguyen · 7 min read · programming

Golang os.Stat Usage and Examples

golang os state Stat returns a FileInfo describing the named file. If there is an error, it will be of type *PathError.

By tuannguyen · 3 min read · programming

Golang seek Examples [Tutorial]

Golang seek from has three constant values as follows: SeekStart = 0: the file's starting point is used. SeekCurrent = 1: the seek is made in relation to the …

By tuannguyen · 4 min read · programming

Golang reflect Examples [Tutorial]

Golang reflect implements run-time reflection, allowing a program to manipulate objects with arbitrary types.

By tuannguyen · 7 min read · programming

How to split string in Golang? [SOLVED]

Golang string Splitusing strings.Split(), SplitAfter(), Fields(), FieldsFunc() function. Perform Split string with regular expression

By tuannguyen · 5 min read · programming

How to append to a slice in Golang [SOLVED]

Different ways in golang to append to slice. We can append one slice to another, strings, byte string, int, elements to a slice.

By tuannguyen · 4 min read · programming

Declare new error in Golang [SOLVED]

There are various ways to declare new error in golang such as using errors.New() function or Using Errorf() with fmt package to return an error, Define a custom …

By tuannguyen · 4 min read · programming

Golang sha512 Hashing Examples

Use golang sha512 package to generate sha512 encrypted hash for text, string and files.

By tuannguyen · 3 min read · programming