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

JavaScript replaceWith() Method Explained

Learn JavaScript replaceWith() with examples for replacing an element with a node, text, or multiple nodes, plus replaceWith vs replaceChild.

By Olorunfemi Akinlua · 2 min read · programming

Math.abs() in JavaScript with Examples

Learn how Math.abs() works in JavaScript with absolute value examples, type coercion behavior, and difference calculations.

By Olorunfemi Akinlua · 2 min read · programming

JavaScript trimEnd() Method Explained

Learn JavaScript trimEnd() with trailing whitespace examples, plus trimStart() and trim() comparisons.

By Olorunfemi Akinlua · 2 min read · programming

Copy Files in Go While Preserving Permissions

Copy a file in Go with os.Open, io.Copy to os.Create, then os.Chmod from os.FileInfo.Mode; or use os.ReadFile and os.WriteFile with the source mode; os.Rename …

By Deepak Prasad · 2 min read · programming

Golang Concat Slices - Remove Duplicates

In this article we learn about different methods which can be used to golang concat slices and remove duplicates

By Tuan Nguyen · 5 min read · programming

Golang read file, update in place, and overwrite safely

Golang read file and golang read entire file with os.ReadFile; golang open file and os.OpenFile flags; golang overwrite file and append; update one field of big …

By Tuan Nguyen · 5 min read · programming