merge rar parts ubuntu
sudo apt-get install rar ubuntu unrar x -e file.part1.rar
Here is what the above code is Doing:
1. Install unrar
2. Extract the file.part1.rar file
sudo apt-get install rar ubuntu unrar x -e file.part1.rar
Here is what the above code is Doing:
1. Install unrar
2. Extract the file.part1.rar file
# install laravel on mac $ brew install composer $ composer global require “laravel/installer” $ sudo nano ~/.bash_profile #add following line in .bash_profile export PATH=”~/.composer/vendor/bin:$PATH” $ source ~/.bash_profile $ laravel new firstProject $ php artisan serv Here is what the above code is Doing: 1. Install composer 2. Install laravel installer 3. Add laravel installer…
# To convert .ui file to .py using pyqt5 module >> pyuic5 -x main.ui -o main.py # pyQt5 version >> pyuic4 -x main.ui -o main.py # pyQt4 version Here is what the above code is Doing: 1. We import the PyQt5 module. 2. We create an instance of QApplication. 3. We create an instance of…
# Powershel 3+ $PSScriptRoot # Powershell 2- $scriptPath = split-path -parent $MyInvocation.MyCommand.Definition Here is what the above code is Doing: 1. $MyInvocation.MyCommand.Definition is the full path to the script file. 2. split-path -parent is a Powershell command that returns the parent directory of the path passed to it. 3. $scriptPath is the variable that holds…
sudo systemctl start mongod Here is what the above code is Doing: 1. We’re using the sudo command to run the command as the root user. 2. We’re using the systemctl command to start the mongod service. 3. We’re using the start command to start the mongod service.
#Create an EC2 instance with Amazon Linux 2 with internet access #Connect to your instance using putty #Perform a quick update on your instance: sudo yum update -y #Install git in your EC2 instance sudo yum install git -y #Check git version git version Here is what the above code is Doing:…
git stash git checkout -b new-branch git stash pop Here is what the above code is Doing: 1. git stash – saves your current changes to a temporary stash 2. git checkout -b new-branch – creates a new branch and switches to it 3. git stash pop – applies the changes you stashed to the…