Skip to content

Instantly share code, notes, and snippets.

View carefree-ladka's full-sized avatar
🏠
Working from home

Pawan Kumar carefree-ladka

🏠
Working from home
View GitHub Profile
@carefree-ladka
carefree-ladka / create-fastapi.sh
Created August 25, 2026 16:16
create-fastapi.sh
#!/usr/bin/env bash
set -e
PROJECT_NAME=${1:-fastapi-boilerplate}
echo "πŸš€ Creating FastAPI project: $PROJECT_NAME"
mkdir -p "$PROJECT_NAME"
cd "$PROJECT_NAME"
@carefree-ladka
carefree-ladka / fastapi-play.sh
Created August 25, 2026 16:15
Fastapi Unix Boilerplate
#!/usr/bin/env bash
set -e
PROJECT_NAME=${1:-fastapi-playground}
echo "⚑ Creating FastAPI playground: $PROJECT_NAME"
mkdir -p "$PROJECT_NAME/app"
cd "$PROJECT_NAME"
@carefree-ladka
carefree-ladka / Modern DSA with Python β€” Complete Guide.mdx
Created August 15, 2026 16:07
Modern DSA with Python β€” Complete Guide
@carefree-ladka
carefree-ladka / 6-Day Gym Split β€” Exercise Wiki.mdx
Last active July 21, 2026 16:18
6-Day Gym Split β€” Exercise Wiki
const users = [
{
id: 1,
name: "John Doe",
email: "john.doe@example.com",
age: 28,
gender: "Male",
role: "Frontend Developer",
city: "New York",
country: "USA",
@carefree-ladka
carefree-ladka / Node.js & SQL Interview Roadmap.mdx
Last active July 9, 2026 05:24
Node.js & SQL Interview Roadmap

πŸš€ Node.js & SQL Interview Roadmap

A complete, topic-wise and category-wise roadmap to prepare for Node.js backend interviews β€” including a full SQL section. Use this as a checklist: read the concept, then attempt the linked questions from memory before checking answers elsewhere.


πŸ“‘ Table of Contents

Part A β€” Node.js

  1. Fundamentals & Runtime
@carefree-ladka
carefree-ladka / Frontend & AI Agent YouTube Series β€” Master Checklist.mdx
Created June 30, 2026 15:14
Frontend & AI Agent YouTube Series β€” Master Checklist
title Frontend & AI Agent YouTube Series β€” Master Checklist
description All topic checklists organized by series, for video/short planning

Frontend & AI Agent YouTube Series β€” Master Checklist

Table of Contents

  1. Core Language & Markup
@carefree-ladka
carefree-ladka / Infinite Scroll List.mdx
Created June 30, 2026 08:21
Infinite Scroll List β€” Code Walkthrough

Infinite Scroll List β€” Code Walkthrough

This document explains, step by step, how the App component implements an infinite scrolling list using React hooks and the Intersection Observer API.


1. Overview

The component renders a list of text items (Text 1, Text 2, ...) that loads automatically in pages of 10, up to a maximum of 10 pages (100 items total), as the user scrolls down. A loader element at the bottom of the list is watched by an IntersectionObserver; when it becomes visible, the next page is fetched.

@carefree-ladka
carefree-ladka / LeetCode Study Guide β€” JavaScript Solutions.mdx
Created June 23, 2026 12:28
LeetCode Study Guide β€” JavaScript Solutions

LeetCode Study Guide β€” JavaScript Solutions

Amazon Frontend Engineer II Interview Prep | Generated: June 2026


Table of Contents

  1. πŸ”’ Array
    • Two Sum Β· Best Time to Buy/Sell Stock Β· Contains Duplicate Β· Product of Array Except Self Β· Maximum Subarray Β· Maximum Product Subarray Β· Find Minimum in Rotated Sorted Array Β· Search in Rotated Sorted Array Β· 3Sum Β· Container With Most Water
  2. ⚑ Binary
@carefree-ladka
carefree-ladka / Amazon Front End Engineer β€” Interview Roadmap.mdx
Last active June 16, 2026 11:09
Amazon Front End Engineer I/II β€” Interview Roadmap