Sign in

Finding Magic.

Install Git on your server

apt-get update
apt-get install git
#For public repogit clone https://github.com/strafe/project.git# For private repogit clone https://strafe:mygithubpassword@github.com/strafe/project.gitor you can use ssh. here is a free guide: https://www.freecodecamp.org/news/git-ssh-how-to/
then git clone the ssh link
if you get a permission denial execute the follow
ssh-add ~/.ssh/youRSAname

Remove old node and add new node

#Uninstall
sudo apt-get purge --auto-remove nodejs npm
#install node through nvm it is easier to upgrade and downgrade nodesudo apt-get update
sudo apt-get install build-essential
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.5/install.sh | bash#install the latest versionnvm install node//upon installatin the new version…

How does it work?

How to configure it?

//Installation
sudo apt-get update
sudo apt-get install nginx


Installation

sudo apt-get install nginx
sudo apt-get update
sudo apt-get install python3-certbot-nginx
you can also do the installation using snap as recommended by certbot https://certbot.eff.org/lets-encrypt/ubuntufocal-nginx

Setup Ngnix

//Allow through Firewall, ufw stands for uncomplicated firewall
sudo ufw allow 'Nginx Full'
sudo certbot --server https://acme-v02.api.letsencrypt.org/directory -d *.example.com --manual --preferred-challenges dns-01 certonlyDeploy a DNS TXT record provided by Let’s Encrypt certbot after running the…

Its All Changing.




Overview

How do indexes work?

collectionName.createIndex({field:value}) //for creating indexcollectionName.dropIndex({field:value}) //for removing index



LEFT JOIN / LEFT OUTER JOIN

Ableach

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store