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 slice(): Array and String Examples

Learn JavaScript slice() for arrays and strings, including start/end indexes, negative indexes, shallow copy behavior, and slice vs splice.

By Olorunfemi Akinlua · 2 min read · programming

Parse a string to a boolean in JavaScript

Coerce strings with Boolean() and !!, or parse canonical values like 'true'/'false'. Learn the difference and avoid common mistakes.

By Olorunfemi Akinlua · 2 min read · programming

JavaScript Send Tab Key and Detect Tab Key Press

Learn how to detect the Tab key in JavaScript, understand keyCode 9, handle KeyboardEvent.key, and why browsers restrict simulated Tab navigation.

By Olorunfemi Akinlua · 2 min read · programming

Math.ceil() in JavaScript with Examples

Learn how Math.ceil() works in JavaScript with rounding up examples, negative numbers, and practical integer conversion cases.

By Olorunfemi Akinlua · 2 min read · programming

JavaScript Wait 5 Seconds with setTimeout

Learn how to wait 5 seconds in JavaScript with setTimeout(), plus a Promise-based delay example and real timer output.

By Olorunfemi Akinlua · 2 min read · programming

insertBefore in JavaScript (DOM, null, nextSibling)

insertBefore javascript and js insert before: parent.insertBefore(newNode, referenceNode), referenceNode null for end append, firstChild text nodes, insert …

By Olorunfemi Akinlua · 4 min read · programming

Python Return Multiple Values

Learn how to return multiple values from a Python function using comma-separated return values, tuple unpacking, lists, dictionaries, NamedTuple, dataclass, and …

By Deepak Prasad · 6 min read · programming