Skip to content

Instantly share code, notes, and snippets.

View Praveen005's full-sized avatar
🎯
Focusing

Praveen Kumar Praveen005

🎯
Focusing
View GitHub Profile
@chinmay185
chinmay185 / rest-api-design-with-otp-based-auth-example.md
Last active January 29, 2024 15:36
REST API design example - OTP based auth

Problem statement:

Design the auth flow apis (signup, login, etc) for an OTP based user authentication. Assume OTP will be created and presented to users upon a successful login.

API Signature:

- URL
- Request Method
- Request Headers
@fnky
fnky / ANSI.md
Last active July 31, 2024 01:39
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27