Skip to content

Instantly share code, notes, and snippets.

View Ronin1702's full-sized avatar

KodeBear Ronin1702

View GitHub Profile
@Ronin1702
Ronin1702 / HerokuMongoDB.md
Last active September 26, 2023 14:13
Heroku CLI Deployment: MERN Stack Application with MongoDB Atlas

Heroku CLI Deployment:

MERN Stack Application with MongoDB Atlas

Steps

  • Install the Heroku CLI and login.

  • Create a new empty application on Heroku.

heroku create -a app_name
@Ronin1702
Ronin1702 / URL-matching-RegEx-Tutorial.md
Last active September 11, 2023 22:30
URL Matching RegEx Tutorial by Kai Chen

RegEx Tutorial: Understanding URL Matching

Tweet about this

What is regex?

A regex, which is short for regular expression, is a sequence of characters that defines a specific search pattern. When included in code or search algorithms, regular expressions can be used to find certain patterns of characters within a string, or to find and replace a character or sequence of characters within a string. They are also frequently used to validate input. Such as email addresses, URLs, usernames, etc.

  • Purpose of the tutorial: This tutorial aims to dissect and explain the components of a specific regular expression (regex) used for URL matching.