Photo by Joshua Aragon on Unsplash


What is the $sample operator in MongoDB? Explained with the help of a lucky draw winner application.

Photo by René Porter on Unsplash
  • What is the $sample operator?
  • A practical use case where we leverage the $sample operator.
  • Example code.
  • Helpful resources for the topic.

What is the $sample operator?

AWS Cloud Formation Part 4: What is FindInMap, and is it useful?

Photo by Annie Spratt on Unsplash
  • What is !FindInMap?
  • When to use !FindInMap & What Problem It is Trying To Solve?
  • Example…

Photo by Tim Gouw on Unsplash
  • Types of deadlock scenarios you might encounter
  • Ways to resolve the deadlock
  • Example code
  • Some helpful resources that helped me in resolving the problem

Types of Deadlock Scenarios You Might Encounter

  • Deadlock error which occurred every…

Photo by Roman Synkevych on Unsplash

The Screwdriver & Screws Analogy

Breaking Down the Steps

Photo by Jakob Owens on Unsplash

Step 1 — Go to IAM Dashboard and Add User

Photo by Jelleke Vanooteghem on Unsplash

What is Parameter in CloudFormation?

McDonald Analogy

  • Cocacola
  • Hot Coffee
  • Iced Latte

Photo by Jerry Zhang on Unsplash


Photo by Yannis Papanastasopoulos on Unsplash


What is CloudFormation?

Photo by Mika Baumeister on Unsplash

TypeError: title.replaceAll is not a function


  1. Upgrade your Node.js version to 15.0 and above
  2. Using replace function with regex

Tek Loon

Coder and Writer. If you enjoy my stories— support me by so I can keep writing articles for the community.

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