Internet Speed Test From Terminal

Sometimes we need to test internet speed and we shall use websites like, etc but in this article, we will discuss a way to check internet speed from the terminal. We can use CLI(Command-line interface) tool to check the internet speed. Install speedtest CLI on Ubuntu/Debian Firstly, install curl using the below command. … Read more

How to install Redis on WSL

In this article, we will discuss how to install redis on WSL. Redis is an in-memory key-value data structure store, used as a memory key-value database, cache, and message broker. Officially, the redis is not supported on Windows. However, we can run it on WSL (Windows Subsystem for Linux). We will be using Windows 10 … Read more

Shortest C++ Program

shortest c++ program

Have you ever thought about the shortest C++ program? In this article, we’ll look into the shortest C++ program. C++ is a compiled language. Firstly, the compiler processes the source code files and produces object files. The linker will combine these object files to yield an executable program. Let’s look into the smallest C++ program … Read more

How to convert std string to int in C++

std string to int in c++

In this article, we will discuss various methods to convert std::string to int in C++. 1.Convert string to int using atoi function The atoi function parses C-style string (null-terminated) content as an integer. Syntax of atoi Defined in header <cstdlib> (stdlib.h) Arguments str – C- style null-terminated string Returns On success, returns the converted number … Read more