Skip to content

Instantly share code, notes, and snippets.

View mmohajer9's full-sized avatar
🟢
Lets Try Everything Again :)

Mohammad Mahdi Mohajer mmohajer9

🟢
Lets Try Everything Again :)
View GitHub Profile
@mmohajer9
mmohajer9 / JUnit.md
Created September 15, 2021 17:41
JUnit Testing Guide
@mmohajer9
mmohajer9 / Pytest.md
Created September 15, 2021 17:40
Pytest Testing Guide
@mmohajer9
mmohajer9 / mongodb-cheat-sheet.md
Last active April 14, 2021 15:02
MongoDB Cheat Sheet

MongoDB Cheat Sheet

Syntax and Commands

General / Basic

  1. $ mongo : start MongoDB (in the shell)
  2. db : shows the current database (default : test)
  3. use [db_name] : selects and uses the given database
@mmohajer9
mmohajer9 / Redis NoSQL Review Cheat Sheet.md
Last active April 18, 2023 12:02
Redis NoSQL Review Cheat Sheet

Redis NoSQL Review Cheat Sheet

Redis is a content based NoSQL Key Valued Database , we can use it for storing temporary data such as Caches and In-Memory Access Modules

Step 1 : Installation

  1. First install redis for your platform that you use
  2. Run redis-server to bring up the redis server in Terminal , now you should see the redis is running and got URL for access
  3. Open another Terminal session and run redis-cli , we can interact with redis server with this CLI
  4. To check the connection , run ping in redis-cli command line , you should get the message PONG
@mmohajer9
mmohajer9 / cloudSettings
Last active September 2, 2020 08:07
my vscode settings synchronization
{"lastUpload":"2020-09-02T08:07:05.941Z","extensionVersion":"v3.4.3"}