Skip to content

Instantly share code, notes, and snippets.

View lakshaykamat's full-sized avatar
🚩
odds are against me

Lakshay Kamat lakshaykamat

🚩
odds are against me
View GitHub Profile
@lakshaykamat
lakshaykamat / MERN.md
Created January 8, 2024 08:25
Learning MERN stack step-by-step. Incomplete due to Android, Data Structures, and Algorithms commitments. Priorities determine completion.

MERN Stack Roadmap: Full Stack JavaScript Development

Note: This incomplete MERN roadmap lacks vital topics like advanced React patterns, authentication, security, and deployment strategies. I'm occupied with Android, Data Structures, and Algorithms. Frankly, I've got one life and priorities.

I'll finish some parts later on.

JavaScript Fundamentals

@lakshaykamat
lakshaykamat / .env
Last active December 22, 2023 09:39
Snap Note Setup and Screen Shots
# Server env file
GOOGLE_CLIENT_ID=633755133547-a1me2kqvkm5dno1b034q4utcqe25hgnk.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=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
CLIENT_URL=http://localhost:3000
COOKIE_SECRET=53BBDFA8F37D44CA2A5D2BE2529A2
SERVER_URL=http://localhost:8080
MONGO_URI=mongodb+srv://lakshaykamat:KhAOv19KnBSAHgCn@cluster0.ggyzmnr.mongodb.net/snapnote
ADMIN_PASS=lakshay5678

C Questions

1. Armstrong number in C

#include <stdio.h>
#include <math.h>

int isArmstrong(int num) {
    int originalNum, remainder, n = 0, result = 0;

    originalNum = num;
#!/bin/bash
# Snap-Note Project Setup Script
# This script automates the setup process for the Snap-Note project.
# Text Color codes
RED='\033[0;31m'
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
NC='\033[0m' # No Color