Skip to content

Instantly share code, notes, and snippets.

View deepakkashyap3013's full-sized avatar
🎯
Focusing

Deepak Kashyap deepakkashyap3013

🎯
Focusing
View GitHub Profile

Interview Questions

Node.js

Q1: What do you mean by Asynchronous API? β˜†β˜†

Answer: All APIs of Node.js library are aynchronous that is non-blocking. It essentially means a Node.js based server never waits for a API to return data. Server moves to next API after calling it and a notification mechanism of Events of Node.js helps server to get response from the previous API call.

Source: tutorialspoint.com

@deepakkashyap3013
deepakkashyap3013 / cryptoZombies.md
Created January 25, 2024 16:46 — forked from oilsinwater/cryptoZombies.md
CryptoZombies Notes

CryptoZombies.io Notes

Contracts

Solidty's code is encapsulated in contracts. A contract is the fundamental building block of Ethereum applications -- i.e. all variables and functions belong to a contract, and are the starting point of your project. Below is an example of an empty contract called HelloWorld.

@deepakkashyap3013
deepakkashyap3013 / strong-password-regex.md
Created May 26, 2022 19:46 — forked from arielweinberger/strong-password-regex.md
Strong password Regular Expression - NestJS Course
  • Passwords will contain at least 1 upper case letter
  • Passwords will contain at least 1 lower case letter
  • Passwords will contain at least 1 number or special character
  • There is no length validation (min, max) in this regex!

Regular expression for JavaScript:

/((?=.*\d)|(?=.*\W+))(?![.\n])(?=.*[A-Z])(?=.*[a-z]).*$/