Blog

Latest Articles

Browse the latest tutorials, guides, and practical examples across Linux, DevOps, security, databases, and programming on GoLinuxCloud.

Explore the latest tutorials and guides across Linux, DevOps, programming, and more.

You can also browse content by category below:

  • Linux: Commands, administration, troubleshooting, and system operations
  • DevOps: CI/CD, Kubernetes, containers, and automation
  • Programming: Coding tutorials, scripting, and development concepts
  • Security: Ethical hacking, system security, and best practices
  • Databases: MySQL, MariaDB, PostgreSQL, and database management
  • Networking: Network setup, troubleshooting, and protocols
  • Storage: Disk management, file systems, and storage solutions
  • System Administration: User management, services, and system-level tasks
  • Tools: Useful tools and utilities for productivity
  • Cheat Sheet: Quick reference guides for commands and tools
  • Interview Questions: Common interview questions with answers

2076 articles

Declare a constant array in Golang [SOLVED]

Slice or const array are not supported in Go. It is thus because Go computes constant values at compilation time. Slices or arrays are always assessed in- …

By tuannguyen · 3 min read · programming

Master Golang JSON Omitempty: No More Rookie Errors

Explore the dynamic capabilities of Golang JSON Omitempty to revolutionize your data structuring and serialization. Dive deep into expert techniques, unlocking …

By tuannguyen · 9 min read · programming

Golang Print Struct Variables [SOLVED]

Golang print struct variables on console using 4 different methods. Method 1: Using fmt package. Method 2: Using json package. Method 2: Using go-spew package. …

By tuannguyen · 4 min read · programming

How to sort array of ints in Golang [SOLVED]

Golang sort array of ints using 3 different examples. Example 1: Convert to int slice and then use the Ints() function. Example 2: Using Slice() function to …

By tuannguyen · 4 min read · programming

Golang Queue Implementation

We can use slices, lists, or channels for golang queue implementation

By tuannguyen · 4 min read · programming

How to use Math power in JavaScript [SOLVED]

To perform math power operations in JavaScript, we can make use of the ** operator and the pow method, however, only the ** operator works with the Number and …

By olorunfemiakinlua · 2 min read · programming

How to round down a number JavaScript [SOLVED]

Different method to round down in JavaScript. Method-1: Using the round method. Method-2: Using the floor method. Method-3: Round down using the trunc method

By olorunfemiakinlua · 3 min read · programming

Check if string contains spaces in JS [SOLVED]

There are different methods to check if staring contains spaces in javascript. Method-1: Use indexOf. Method-2: Use Regular Expressions

By olorunfemiakinlua · 3 min read · programming

Leetcode’s Two Sum Problem Solution

The pair sums leetcode problem can be solved using multiple methods such as using brute force in for loop, using objects or using maps

By olorunfemiakinlua · 5 min read · programming

JavaScript textContent Property

Text content makes up a lot of webpages (or HTML documents) and knowing how to access and update them is useful and with the JavaScript textContent property we …

By olorunfemiakinlua · 3 min read · programming