Skip to content

Instantly share code, notes, and snippets.

View Subham-Maity's full-sized avatar
☁️
Extremely busy at the moment.

メΛM 𓆩𓆪 Subham-Maity

☁️
Extremely busy at the moment.
View GitHub Profile
@Subham-Maity
Subham-Maity / server-details.md
Last active October 30, 2026 15:08
Check Server's Details with this one-liner

What each section checks: CPU: Cores, threads, clock speed, and architecture RAM (free -h): Total installed RAM, currently used, and available memory Storage (df -h): Total disk size, free space, and mount paths (SSD/NVMe) OS & Uptime: Linux distribution version and current server load

  • Run this one-liner in your server terminal
echo "=== OS & KERNEL ==="
@Subham-Maity
Subham-Maity / ats.md
Last active May 4, 2026 14:38
R&D Document: ATS Backend System

R&D Document: ATS Backend System

1. Project Overview

The ATS (Applicant Tracking System) Backend is a high-performance, scalable server-side application built with NestJS. It handles core business logic for recruitment, including job management, lead tracking, automated assessments, AI-driven interview analysis, and payment integrations.

Core Technology Stack

  • Framework: NestJS (Node.js)
  • Language: TypeScript
@Subham-Maity
Subham-Maity / idmpopupdisable.md
Created October 13, 2025 18:05
The main IDM executive file is damaged - Disable popup message “Internet Download Manager has been registered with a fake Serial Number”

Issue

The main IDM executive file is damaged. It's possible that it was infected with a virus. Please download the latest version of IDM from our web site, and install it over your current version. Just run downloaded IDM installer, and it will replace the damaged files. Do not worry, because all downloads and IDM settings will not be affected.

🧩 Disable Popup Message:

“Internet Download Manager has been registered with a fake Serial Number”

@Subham-Maity
Subham-Maity / real-time-tracking.md
Created September 20, 2025 13:16
WebSocket Real-Time Tracking API Documentation

WebSocket Real-Time Tracking API Documentation

Base Configuration

WebSocket Endpoint

Production: wss://lowaya.ca
Development: ws://localhost:3335

Complete Delivery Flow Documentation

1. Customer Flow - Cart & Order Creation

1.1 Add Items to Cart

Endpoint: POST {{url-mv}}/xam/carts/items

{

Stripe Multi-Vendor Payment Integration Guide

Overview

This system handles multi-vendor payments where customers pay once and funds are automatically distributed to multiple vendors with platform commission deducted via Stripe application fees. Each vendor receives direct deposits to their bank accounts.

Payment Flow

  1. Vendor Onboarding - Vendors create Stripe accounts and complete verification
  2. Payment Initiation - Customer initiates payment for multi-vendor cart
  3. Payment Processing - Multiple direct charges created (one per vendor)
  4. Fund Distribution - Vendors receive net amount, platform gets commission automatically
@Subham-Maity
Subham-Maity / backend-core.md
Last active July 30, 2025 11:03
PhonePe V2 backend - NestJS

PROD CODE

  • evn
# Phone Pe
PHONEPE_CLIENT_ID=S............3
PHONEPE_CLIENT_VERSION=1
PHONEPE_CLIENT_SECRET=2...........7
PHONEPE_MERCHANT_ID=M.......Q
PHONEPE_API_BASE_URL=https://api.phonepe.com/apis/identity-manager
@Subham-Maity
Subham-Maity / mouse.md
Last active July 24, 2025 07:55
Best Lightweight Gaming Mice Under ₹6,000 in India: Complete Buyer’s Guide for Competitive Gamers (2025)

Prompt

## Context & User Profile 
You are a gaming hardware research specialist. I'm a developer and competitive gamer with these specific requirements:
- **Primary Game**: Valorant (tactical FPS requiring precision)
- **Gaming Style**: Competitive multiplayer only (no story mode games)
- **Budget**: ₹6,000 maximum (Indian market pricing)
- **Priority**: Lightweight mice with excellent value
- **Location**: India (warranty and support considerations important)
@Subham-Maity
Subham-Maity / razorpesdk.md
Created June 25, 2025 17:24
Razorpay frontend flow

Flutter Razorpay Integration Guide

Flow Summary

  1. User fills the form with required details
  2. App calls /initiate API to create Razorpay order
  3. Razorpay checkout opens with order details
  4. User completes payment
  5. App receives payment response and calls /verify API
@Subham-Maity
Subham-Maity / nest-with-docker-deploy.md
Last active March 21, 2026 11:05
Step-by-Step Guide to Deploy NestJS with Docker on VPS | Step-by-Step Guide to Deploy NodeJS with Docker on VPS | From GROK

Step-by-Step Guide to Deploy NestJS with Docker on VPS

This guide provides a detailed, step-by-step process to deploy multiple NestJS servers using Docker on a Virtual Private Server (VPS), allowing access via the VPS’s IP address and unique port numbers (e.g., <VPS_IP>:3000, <VPS_IP>:3001). It assumes you have a NestJS application ready, a VPS with SSH access, and basic familiarity with development tools. The guide covers installing Docker, creating Docker images, deploying containers, and running multiple servers on different ports. Optional steps for setting up Nginx for domain names and SSL, as well as considerations for Kubernetes, are included. If you’ve been following a non-Docker deployment guide (e.g., using PM2), this adapts the process to use Docker for consistency and scalability.

Prerequisites

Before starting, ensure you have:

  • A VPS with Ubuntu (or similar OS) and SSH access.
  • A NestJS application with a working package.json and built output (e.g., dist/main.js).