Skip to content

Instantly share code, notes, and snippets.

View YourAKShaw's full-sized avatar
:electron:
tapping away on my keyboard _</>...

Ayush Kumar Shaw YourAKShaw

:electron:
tapping away on my keyboard _</>...
View GitHub Profile
@YourAKShaw
YourAKShaw / linkedin-operating-system.md
Created May 27, 2026 22:47
👔 The LinkedIn Operating System: A Full-Stack Playbook for Hypergrowth, Revenue, and Technical Understanding (2026 Edition)

The LinkedIn Operating System: A Full-Stack Playbook for Hypergrowth, Revenue, and Technical Understanding (2026 Edition)

Follow me on Linktree


@YourAKShaw
YourAKShaw / principal-engineer-handbook.md
Last active May 27, 2026 22:39
👩🏽‍💻 A comprehensive, highly practical handbook for modern principal engineers: mastering technical leadership, Git hygiene, GitHub workflows, enterprise CI/CD, AWS/cloud architecture, container orchestration, and product delivery.

Principal Engineer Operating Manual

Follow me on Linktree

A comprehensive, highly practical handbook for modern principal engineers: mastering technical leadership, Git hygiene, GitHub workflows, enterprise CI/CD, AWS/cloud architecture, container orchestration, and product delivery.

@YourAKShaw
YourAKShaw / SEO_Engineering_Playbook_for_the_AI_Era.md
Last active June 3, 2026 16:30
🌐 An engineering-first, AI-era SEO manual that can take someone from zero to all-rounded SEO engineer.

SEO Engineering Playbook for the AI Era

Follow me on Linktree

A full-stack, engineering-first blueprint for ranking in Google search, AI Overviews, and LLM-powered engines like ChatGPT, Claude, Perplexity, and Gemini.

@YourAKShaw
YourAKShaw / Ultimate_Gamer_Vibe_Terminal_Setup_Guide.md
Last active May 27, 2026 22:42
💻️ Transform your Linux terminal into a futuristic cyberpunk gaming command center using Kitty, Fastfetch, Cava, CMatrix, Pipes, and transparent neon aesthetics. A complete step-by-step Ubuntu setup guide for building the ultimate hacker-style hypergrid workspace 🚀

Ultimate Gamer Vibe Terminal Setup Guide 🎮 ⚡

YourAKShaw Gamer Terminal

Building a Cyberpunk Kitty Hypergrid Workspace on Ubuntu Linux

@YourAKShaw
YourAKShaw / The_Ultimate_AWS_Activate_AI_Credits_Playbook_2026.md
Last active May 17, 2026 18:05
🚀 The Ultimate AWS Activate & AI Credits Playbook (2026 Edition) - A deeply researched founder-grade guide covering everything you need to know about setting up a fresh AWS account, securing AWS Activate credits, accessing Claude and other AI models through Amazon Bedrock, all the while preventing surprise billing disasters.

The Ultimate AWS Activate & AI Credits Playbook (2026 Edition)

A complete founder-grade guide to setting up a fresh AWS account, securing AWS Activate credits, using AI models through Amazon Bedrock, avoiding surprise charges, and maximizing startup benefits.

Author: Ayush Kumar Shaw (@YourAKShaw)
Version: 2026 Edition
Location Context: India-focused guidance with globally applicable principles.


@YourAKShaw
YourAKShaw / DEPLOYMENT_NETLIFY_AWS.md
Last active May 27, 2026 22:40
⚙️ Complete Deployment Manual: Netlify (Frontend) + AWS (Backend)

Complete Deployment Manual: Netlify (Frontend) + AWS (Backend)

Generic guide for deploying any modern frontend application to Netlify and any backend API to AWS


Table of Contents

  1. Overview
  2. Prerequisites
@YourAKShaw
YourAKShaw / logger.ts
Last active May 27, 2026 22:41
📝 A comprehensive, TypeScript-based custom logger for Node.js/NestJS projects built on Winston. Features include emoji-enhanced log levels, colorized console output, context-awareness, daily rotating JSON log files with size and retention limits, environment-driven log verbosity, and sensitive data sanitization for secure, production-ready logging.
import * as emoji from 'node-emoji';
import * as winston from 'winston';
import chalk from 'chalk';
import { LoggerService } from '@nestjs/common';
import DailyRotateFile from 'winston-daily-rotate-file';
type CustomLogLevels =
| 'crit'
| 'error'
| 'warn'

Building efficient, reliable, and secure REST APIs involves following several best practices. Here's a detailed breakdown of these practices, including versioning, security, and optimization techniques for your NestJS-based microservice:

1. API Design & Structure

  • Resource Naming: Use meaningful, clear, and consistent names for your endpoints (e.g., /movies, /movies/{id}). Prefer nouns for resources and use HTTP methods to represent actions (GET, POST, PUT, DELETE).
  • HTTP Methods:
    • GET for reading data.
    • POST for creating resources.
    • PUT or PATCH for updating resources.
    • DELETE for removing resources.
  • Use HTTP Status Codes: Return appropriate status codes (e.g., 200 for success, 201 for created, 404 for not found, 400 for bad request, 500 for server errors).

Using NeoVim effectively requires mastering its keybindings, understanding how to navigate between modes, and leveraging plugins and customization to streamline your workflow. Here's a structured guide to get you started and maximize your efficiency:

1. Master the Modes

NeoVim has multiple modes, and the most effective way to use it is by switching between them efficiently.

  • Normal Mode: This is the default mode (press Esc to enter it).

    • In this mode, you move around and manipulate text without actually inserting any.
  • Insert Mode: This is the mode for typing text (enter it by pressing i, a, o, etc.).

To use NeoVim with style, you'll want to configure it for both productivity and aesthetics. Below is a step-by-step tutorial to set up a stylish NeoVim environment.

1. Install NeoVim

First, make sure you have NeoVim installed. You can install it by following the instructions for your system:

  • Linux:
    sudo apt update && sudo apt install neovim
  • macOS: