Skip to content

Instantly share code, notes, and snippets.

View svikas641's full-sized avatar
🚀

Vikas Kumar svikas641

🚀
View GitHub Profile

BE-Services

Welcome to the BE-Services! This repository houses multiple interconnected microservices, each serving a specific functionality. While these microservices do not share code, they do share a common versioning system through a centralized Git repository.

Prerequisites

Before getting started, ensure that you have the following prerequisites installed on your system:

From fairest creatures we desire increase,
That thereby beauty's rose might never die,
But as the riper should by time decease,
His tender heir might bear his memory:
But thou contracted to thine own bright eyes,
Feed'st thy light's flame with self-substantial fuel,
Making a famine where abundance lies,
Thy self thy foe, to thy sweet self too cruel:
Thou that art now the world's fresh ornament,
And only herald to the gaudy spring,
@svikas641
svikas641 / regexsnip.txt
Created September 5, 2020 12:25
Regex Snippets
. - Any Character Except New Line
\d - Digit (0-9)
\D - Not a Digit (0-9)
\w - Word Character (a-z, A-Z, 0-9, _)
\W - Not a Word Character
\s - Whitespace (space, tab, newline)
\S - Not Whitespace (space, tab, newline)
\b - Word Boundary
\B - Not a Word Boundary
Let’s convert a single file folder to node format.
1)npm init //it will create package.json(it will ask questions, keep pressing enter)
2)npm install http-server . //it will generate node_modules folder
3)node ./node_modules/http-server/bin/http-server //this command will start the server

MongoDB Cheat Sheet

Show All Databases

show dbs

Show Current Database