Skip to content

Instantly share code, notes, and snippets.

View debiprasadmishra50's full-sized avatar
πŸ’­
Persistent Learning

Debi Prasad Mishra debiprasadmishra50

πŸ’­
Persistent Learning
View GitHub Profile
@debiprasadmishra50
debiprasadmishra50 / README.md
Created November 3, 2023 19:04 — forked from anchan828/README.md
This is an improvement to allow @nestjs/[email protected] to handle CustomRepository. I won't explain it specifically, but it will help in some way. https://github.com/nestjs/typeorm/pull/1233

You need to provide some classes and decorators yourself to maintain the same style as [email protected].

1. EntityRepository -> CustomRepository

@EntityRepository(UserEntity)
export class UserRepository extends Repository<UserEntity> {}

↓

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

The regular expression evaluating these:
((?![^0-9]{12,}|[^A-z]{12,})([A-z0-9]{4,5}-?[A-z0-9]{4,5}-?[A-z0-9]{4,5}(-?[A-z0-9]{4,5}(-?[A-z0-9]{4,5})?)?))
Valve CD Keys in this format: 1AB2C-D3FGH-456I7-JK8LM-NOP9Q
Valve CD Keys in this format: 1AB2C-D3FGH-456I7
Age of Empires III: Complete Collection CD Keys in this format: 1ABCD-D3FGH-45I67
AirBuccaneers CD Keys in this format: 1ABCD-D3FGH-45I67