Skip to content

Instantly share code, notes, and snippets.

View msrajawat298's full-sized avatar
💭
I may be slow to respond.

Mayank Singh Kushwah msrajawat298

💭
I may be slow to respond.
View GitHub Profile
@msrajawat298
msrajawat298 / ANSI.md
Created October 4, 2025 09:35 — forked from fnky/ANSI.md
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
#!/bin/bash
# 🚀 Ultimate Dev Setup Script - Husky + ESLint + Prettier + Commitlint
# Perfect for YouTube tutorial: "Setup Pre-commit Hooks in Seconds!"
# Author: Your Name
# Description: One-click setup for professional development workflow
set -e # Exit on any error
# Colors for beautiful output
@msrajawat298
msrajawat298 / upgrade_node.md
Last active February 24, 2024 07:43
To upgrade your Node.js version, you can follow these general steps:

Step 1: Install Node Version Manager (nvm) (Optional but recommended)

Node Version Manager (nvm) is a tool that allows you to easily manage multiple installations of Node.js. It's highly recommended as it makes switching between Node.js versions seamless.

Installation on Unix/Linux/Mac:

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
@msrajawat298
msrajawat298 / eslint_prettier_airbnb.md
Created March 25, 2023 16:20 — forked from bradtraversy/eslint_prettier_airbnb.md
ESLint, Prettier & Airbnb Setup

VSCode - ESLint, Prettier & Airbnb Setup

1. Install ESLint & Prettier extensions for VSCode

Optional - Set format on save and any global prettier options

2. Install Packages

npm i -D eslint prettier eslint-plugin-prettier eslint-config-prettier eslint-plugin-node eslint-config-node