### Browsed byCategory: Uncategorized

Installing Node.js in Ubuntu

## Installing Node.js in Ubuntu

To install nodejs in your Ubuntu you have follow the following command. sudo apt install nodejs -y sudo npm i -g n sudo n latest # or sudo n lts if you want to install LTS version. If you get permission issue while executing this command than execute the following command. Using chown command, we are providing proper permission to the logged-in user. Update the folder path if it is different sudo chown -R \$USER /usr/local/lib/node_modules/n/bin/n #Or in…

What is Independent Events in Probability?

## What is Independent Events in Probability?

The definition of independence in probability: Event A and B are independent if and only if P(A ∩ B) = P(A) x P(B). Sometimes people misuse the terms independence of events with mutually exclusive or disjoint events or vice versa. Don’t get confused with those two term  independence of events is completely different property. To get clear view visit this article. If A and B are independent then P( A | B ) = […

Install and run your project in python virtual Environment

## Install and run your project in python virtual Environment

In this article, we’ll show you how to install virtual environment in your system and run your python project in virtual environment. A virtual environment is important if you don’t want to disturb what you install for a specific project to others in the same system. You can have multiple virtual environments in one system and each project requirement can be kept in a specific python environment. It is the best practice while working in…

Run Docker without using sudo in Linux

## Run Docker without using sudo in Linux

Docker Engine is an open-source containerization technology for building and containerizing your applications. To know more see the official site. After the successful installation of docker in your system you have to go through a few basic steps to run docker without SUDO. Step 1: Add the docker group if it doesn’t already exist sudo groupadd docker Step 2: Add the connected user “\$USER” to the docker group. sudo gpasswd -a \$USER docker Step 3:…