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
Featured guides in this category
Hand-picked, most-cited tutorials — start here if you're new.
![HackerRank Solution: Martix Script [Python Regex]](/matrix-script-hackerrank-solution/python_matrix_script_hu_128db40108208303.webp)
HackerRank Solution: Martix Script [Python Regex]
In this tutorial we will cover multiple methods to solve matrix script from hackerrank solutions.

HackerRank Solution: Python Company Logo
company logo hackerrank solution python, company logo hackerrank solution python3, hackerrank solution for …

Python subprocess
Learn how to use Python subprocess to run shell commands, capture output, handle errors, use timeouts, pass …

How to Remove or Uninstall a Go Package (go get, Go Modules, Tools)
Learn how to remove or uninstall a Go package added with go get or go install. This guide explains how to …

HackerRank Solution: Python Alphabet Rangoli
In this tutorial we cover 3 methods to solve alphabet rangloi hackerrank solution in python3. Solution-1: …
![HackerRank Solution: Python Nested Lists [4 Methods]](/python-nested-list-hackerrank-solution/python_nested_lists_hu_3ed8216f6e7dce26.webp)
HackerRank Solution: Python Nested Lists [4 Methods]
In this tutorial we will cover 4 different methods to solve python nested list hackerrank solution using …
Bash counter: loop counters, increment patterns, and script counters (`for`, `while`)
Bash counter patterns: C-style for loop counter, bash while loop counter, increment with (( )) and let, bash for count over a list, and a small script counter …
JavaScript replaceWith() Method Explained
Learn JavaScript replaceWith() with examples for replacing an element with a node, text, or multiple nodes, plus replaceWith vs replaceChild.
JavaScript Thenable Objects and Promise.resolve()
Learn JavaScript thenables, Promise.resolve adoption, thenable vs promise differences, and how thenable objects work with await.
Golang byte to int and []byte to int: strconv, binary, big.Int
Golang byte to int: uint8 widening, []byte ASCII to int with strconv.Atoi and validated ParseInt, math/big SetBytes for long unsigned magnitudes, …
Golang Channel with Multiple Receivers: Workers, Fan-Out, and Safe Closing
Learn how multiple goroutines read from the same Go channel: each value is received once, fan-out worker pools, closing rules, result channels, buffered vs …
Math.abs() in JavaScript with Examples
Learn how Math.abs() works in JavaScript with absolute value examples, type coercion behavior, and difference calculations.
JavaScript trimEnd() Method Explained
Learn JavaScript trimEnd() with trailing whitespace examples, plus trimStart() and trim() comparisons.
JavaScript map() with Index: Use the Array Map Index Argument
JavaScript map() with index: use the second callback argument in Array.map(), return index-based values, access the original array via the third argument, and …
Golang read password from stdin: x/term ReadPassword and TTY checks
Golang read password from stdin with golang.org/x/term ReadPassword: pkg.go.dev ReadPassword IsTerminal, example os.Stdin.Fd and syscall.Stdin on Linux, …
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 …
Golang Concat Slices - Remove Duplicates
In this article we learn about different methods which can be used to golang concat slices and remove duplicates
Golang prompt and interactive CLI: stdin, passwords, promptui, survey
Golang interactive CLI and golang prompt for input with bufio; golang.org/x/term ReadPassword with os.Stdin.Fd; promptui golang and survey; go-prompt (c-bata); …
Fix Go compiler errors: declared and not used, imported and not used
Fix declared and not used and imported and not used in Go: remove dead code, use the blank identifier for side-effect imports, and avoid := shadowing in …
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 …
Golang os package: Open, Create, WriteFile, and *os.File
Golang os package for files: golang os open and OpenFile, os create golang with os.Create, os writefile golang with os.WriteFile, *os.File reads and append, …
