- JavaScript
- Python
- Rust
- Ruby
- Go
- TypeScript
- Swift
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WSL ==> Windows SubSystem Linux | |
Why Linux | |
1.Open Source | |
2.Free of Cost | |
3.Full Control Access | |
4.Wide Developer Community | |
5.It Has Multiple Child Operating Systems depending varios roles | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pm2 start python3 --name "Share Files 7176" -- -m http.server 7176 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo adduser suhail | |
sudo chown suhail:suhail /home/suhail | |
su root | |
nano /etc/sudoers | |
Then add the user below admin user like below syntax. | |
suhail ALL=(ALL) ALL | |
usermod -a -G sudo suhail | |
su suhail |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
listen [::]:80; | |
server_name jenkins.csprojects.live; | |
location / { | |
proxy_pass http://localhost:8080; | |
proxy_http_version 1.1; | |
proxy_set_header Upgrade $http_upgrade; | |
proxy_set_header Connection 'upgrade'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo pm2 delete all | |
cd server | |
sudo rm -rf build | |
cd .. | |
cd client | |
sudo npm install | |
sudo npm run build | |
sudo mv build ../server | |
cd ../server |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt update && sudo apt upgrade -y | |
sudo apt install -y git | |
sudo apt install net-tools -y | |
sudo timedatectl set-timezone Asia/Kolkata | |
sudo apt-get -y install nginx -y | |
sudo apt install snapd -y | |
sudo snap install core | |
sudo apt-get install python3-certbot-nginx -y | |
sudo snap install --classic certbot | |
sudo ln -s /snap/bin/certbot /usr/bin/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1.Remove Unwanted Softwares / Clean PC | |
2.Delete Temp Files | |
3.WSL Install | |
To install Windows Subsystem for Linux on Windows 10, use these steps: | |
Linux:- | |
-Ubuntu | |
-Fedora | |
-Kali | |
// Normal Windows |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1.sudo su | |
2.cd /etc/nginx/sites-enabled/ | |
3.rm -rf * | |
4.cd .. | |
5.cd /etc/nginx/sites-available | |
6.touch domain-name | |
7.Copy paste this block | |
//////////////////////////// From Below Copy | |
server { | |
listen 80; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Installation of Jenkins | |
0. You Should be Root User (sudo su) | |
1. curl -fsSL https://pkg.jenkins.io/debian-stable/jenkins.io-2023.key | sudo tee \ | |
/usr/share/keyrings/jenkins-keyring.asc > /dev/null | |
2.echo deb [signed-by=/usr/share/keyrings/jenkins-keyring.asc] \ | |
https://pkg.jenkins.io/debian-stable binary/ | sudo tee \ | |
/etc/apt/sources.list.d/jenkins.list > /dev/null | |
2.1 sudo apt-get update | |
2.2 sudo apt-get install fontconfig openjdk-11-jre | |
2.3 sudo apt-get install jenkins |
NewerOlder