In this tutorial, we see how to update Nodejs & node package manager (npm) on our Raspberry Pi. To start, open the terminal on your Raspberry Pi. First we will get the latest system’s package list onto the Raspberry Pi using the following command: sudo apt update the we will install the latest packages available […]
In this tutorial, we will see how to use the rm, unlink, and rmdir commands to remove files and directories in Linus using Terminal (command line). Remove Files: To remove (or delete) a file on Linux using the command line, use either rm (remove) or unlink command. unlink command allows you to remove only a single file. rm command allows you to remove multiple files […]
Both are comparison operators. The difference between both the operators is that,“==” is used to compare values whereas, “ === “ is used to compare both value and types. Example: var a = 2; var b = “2”; (a == b) // Returns true since the value of both a and b is the same […]
Hoisting is a default behavior of JavaScript where all the variable and function declarations are moved on top. This means that irrespective of where the variables and functions are declared, they are moved on top of the scope. The scope can be both local and global. Below is the example:
Array are the simplest data structures, build into most programming languages and we use them to store list of items like list of numbers, string, objects and literally anything. These items get stored sequentially in memory. In many languages arrays are static – which means – when we allocate them we must specify their size […]
In the previous post, we learned what a messaging system is and the Role of Apache Kafka. In this post we will dive deep into Apache Kafka – We will learn Kafka cluster, brokers, topics, partitions, replicas, producers, consumers, consumer groups, Zookeeper, and how together make Kafka work. Most of Kafka revolves around Kafka Cluster, […]