Skip to content

Instantly share code, notes, and snippets.

View mudassaralichouhan's full-sized avatar
:octocat:
It’s not a bug; it’s an undocumented feature.

Mudassar Ali mudassaralichouhan

:octocat:
It’s not a bug; it’s an undocumented feature.
View GitHub Profile
@mudassaralichouhan
mudassaralichouhan / auth.md
Last active July 11, 2025 16:05
SaaS Multi Tenant REST ful APIs

🚀 AUTHENTICATION (Enhanced)

  • POST /api/auth/register – Customer registration
  • POST /api/auth/verify-email – Verify email with token
  • POST /api/auth/resend-verification – Resend verification link
  • POST /api/auth/login – Login with credentials
  • POST /api/auth/login/otp – Login with one-time code (2FA)
  • POST /api/auth/2fa/setup – Enable 2-factor authentication
  • POST /api/auth/2fa/verify – Verify 2-factor code
  • POST /api/auth/password/forgot – Send password-reset link

Here’s a clear pathway to making your C++ Network Packet Analyzer advanced, genuinely useful, and attractive as a real-world project:


🚀 How to Make Your Packet Analyzer Advanced & Real-World Worthy

To transform a basic educational project into a practical, marketable, and impressive tool, you’ll need to add valuable features that solve real problems:

Advanced Features & Their Real-World Applications

#!/bin/sh
# Script to reset trial period for PhpStorm 2025.1.1 on macOS
product="PhpStorm"
echo "Closing $product"
ps aux | grep -i "$product" | grep -v grep | awk '{print $2}' | xargs kill -9
echo "Resetting trial period for $product"

Mudassar Ali

Senior Backend Developer | Node.js | PHP | Laravel | AWS | Docker

📞 +92 300 4746182 | 📧 [email protected]

📍 Muridke Town Main Bazar, Lahore, Punjab, 29000

@mudassaralichouhan
mudassaralichouhan / TrieTree.cc
Created April 27, 2025 17:59
Trie - Prefix Tree Implementation
/*
*
*/
#include <iostream>
#include <unordered_map>
#include <vector>
#include <stack>
#include <queue>
#include <memory>
@mudassaralichouhan
mudassaralichouhan / tips.md
Last active December 31, 2024 00:13
Tips

wc Command (Unix/Linux/Mac) You can use the wc (word count) command in the terminal to count lines in files. To count lines in all .cc and .h files in your project, you can navigate to your project directory and run:

$ find . -name '*.cc' -o -name '*.h' | xargs wc -l

Command to Count .c Files

$ find . -name '*.c' | wc -l

@mudassaralichouhan
mudassaralichouhan / ip-info.md
Last active December 27, 2024 20:58
IP Information

$ curl http://ifconfig.me

  • 1.1.1.1

IP-API.com:

  • API Key: Not required.
  • Rate Limit: 45 requests per minute.
  • Usage: Free for non-commercial use.

$ curl http://ip-api.com/json/1.1.1.1

@mudassaralichouhan
mudassaralichouhan / DSA.md
Last active February 28, 2025 18:36
Projects Ideas

This progression looks great! After gaining a solid understanding of binary search trees (BSTs), diving into these topics will broaden your knowledge and give you a well-rounded understanding of data structures and algorithms. Here’s a quick breakdown of how you can approach each topic:

1. Balanced Trees

  • AVL Trees: These trees use height balancing and perform rotations to maintain a logarithmic height, ensuring efficient search, insert, and delete operations.
  • Red-Black Trees: A more flexible approach compared to AVL, red-black trees maintain balance using color properties and provide a more efficient implementation in practice for many applications (e.g., in the C++ STL map).

2. Tree Traversals

  • Learn the recursive and iterative methods for each traversal. Understanding these will improve your ability to work with different tree-based algorithms and structures.

3. Heaps

We couldn’t find that file to show.
bool isEven(int n) {
return (n & 1) == 0;
}