Skip to content

Instantly share code, notes, and snippets.

View amalrkc's full-sized avatar

Amal Ramakrishnan amalrkc

View GitHub Profile
@amalrkc
amalrkc / authors.json
Created September 5, 2024 17:06 — forked from hiteshchoudhary/authors.json
Random data to learn aggregation pipelines in MongoDB
[
{
"_id": 100,
"name": "F. Scott Fitzgerald",
"birth_year": 1896
},
{
"_id": 101,
"name": "George Orwell",
"birth_year": 1903
@amalrkc
amalrkc / mongodb_cheat_sheet.md
Last active May 28, 2025 05:43 — forked from bradtraversy/mongodb_cheat_sheet.md
MongoDB Cheat Sheet

MongoDB Cheat Sheet

Show All Databases

show dbs

Show Current Database

@amalrkc
amalrkc / cheatsheet.yml
Created August 31, 2023 18:01 — forked from xputerax/cheatsheet.yml
YAML cheat sheet
# YAML cheat sheet
# Reference: https://www.youtube.com/watch?v=cdLNKUoMc6c
# object
person:
# string value. single/double quotes
# anchoring
name: &name "daniel" # anchor name doesn't have to be the same as key name
occupation: 'student'