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

957 articles

Golang store values in a struct using a for loop

Store slice values into structs with for range, golang iterate over struct fields with reflect, and a short golang forloop refresher—correct Go, no broken …

By Deepak Prasad · 2 min read · programming

Golang remove backslash from string

Remove backslash from a string in Go with strings.ReplaceAll or strings.Replace, including raw literals and optional cleanup. Related: golang remove substring …

By Tuan Nguyen · 3 min read · programming

Update key with new value in JavaScript

We can either use foreach loop of maps function to update key with new value in Javascript

By Olorunfemi Akinlua · 4 min read · programming

Error: cannot find module express

Error: Cannot find module 'express' This error is quite common and exists because when your code ran, the express package or module wasn’t found within its …

By Olorunfemi Akinlua · 3 min read · programming

Node.js Child Process Tutorial [With Examples]

The exec() and spawn() methods are some of the frequently used Node.js child process module methods. Use the exec() method to run shell-like syntax commands on …

By Steve Alila · 6 min read · programming

Node.js loop through files in directory

Explore a comprehensive guide to reading files in a directory using Node.js. Discover how to use various methods such as fs.readdir(), fs.readdirSync(), …

By Steve Alila · 7 min read · programming

Delete keys from a map in Go with delete()

Remove entries from a map in Go with the built-in delete(map, key); deleting a missing key is safe; use the comma-ok form first when you want to log or branch …

By Tuan Nguyen · 2 min read · programming