Finding Magic.

Install Git on your server

ssh into your VM, then install Git:

Clone your private/public repo

git 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

#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…

NGNIX (pronounced Engine X) is a web server /reverse proxy/load balancer used by many high traffic applications because it can handle thousands of simultaneous requests with its event-driven architecture.

It is faster than Apache and openLightSpeed in most areas

How does it work?

It instances a worker process for each CPU core that run concurrently and handle requests is a non-blocking fashion

How to configure it?

Next, we need to reconfigure our firewall software to allow access to Nginx, for this we use “Uncomplicated Firewall” (UFW)

We can list the applications configurations that ufw knows how to work with by…


Installation

you can also do the installation using snap as recommended by certbot https://certbot.eff.org/lets-encrypt/ubuntufocal-nginx

Setup Ngnix

Certbot can automatically configure SSL for Nginx, but it needs to be able to find the correct server block in your config. It does this by looking for a server_name directive that matches the domain you’re requesting a certificate for.

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…

Image for post
Image for post

Marketing is a very emotional experience in India, because a lot is based on trust, I can pay for my purchase a month latter, without any credit card, just on trust. This is an advantage big malls can’t replicate but slowing adaptation of credit card is increasing all over the country which is diluting this advantage

Its All Changing.

In the past couple of years, there has been an influx of Malls and franchises. They are not cramped like most stores. …


Image for post
Image for post

We debate about women IPL, women NBA but I don’t get why men and women can’t play together. Why different teams?

The most common flabbergasted response I get is “women are genetically weak”


Image for post
Image for post

I saw a brief clip of Bill Gates discussing overpopulation

It simply summarises into “If health facilities get better, life gets more stable so people get educated, so they decided to have fewer children so that they can get the highest facilities and care”

but in the comments, people are naively correlating vaccines with a decrease in population and labeling him evil and degenerate


TLDR: Indexing is just a way of grouping documents, dividing collections into groups to speed up performance

Overview

Indexes increase query performance as well as it is used for searches

The idea of indexing in MongoDB is similar to index of any book, They increase the speed of finding a page. The index in MongoDB increase the speed of finding documents

How do indexes work?

First, let’s understand how you declare index in MongoDB

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

Here field is the “fieldName” which will be indexed. “Value” could be -1 or 1 or “text”.

It defines the type of index…


Image for post
Image for post

It’s the Apple event, most of the murmuring expects smaller notch, dropped charging port or 5G support

Steve Jobs Theatre goes dark, background music is replaced, A natural, excited voice starts speaking

She is enthused but sounds a little unsure, you can tell she is a little nervous but it is attaching.

She is not talking about a product or any metric that represents Apple’s growth she is talking about the weather, Life, and feelings.

Few people are thinking Is Tim cook stepping down?

After 15 minutes of confusion and curiosity, she stops and says. oh! sorry I didn’t introduce…


Image for post
Image for post

If you are new to MongoDB you might have to faced difficulties with relations. Which is due to the reason, MongoDB is documented as non-relational database which is misleading, We will explore why in the article, by directly comparing SQL relational query with MongoDB substitute query

Disclaimer: MySQL is a superset of SQL so below discussion will apply to all super superset of SQL

LEFT JOIN / LEFT OUTER JOIN


Image for post
Image for post
credit: TeamNeko

Let me start by saying, Iron Man franchise made science cool. When I saw the first installment I was struck by this never-ending urge to build something.

I did a lot of open-source projects which were duds like writing a react library on my own, a half baked 3d game engine for web, an extension which will give you a summary of every page on the internet, recently a router and currently, I am spending tears and sweat on an all in one web development library upon.one

Back to Iron Man

I have seen cool science stuff in movies before…

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