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

Absolutely! Let’s create a complete step-by-step workflow to build and run a minimal C kernel with a Multiboot header inside a Docker container on your M1 Mac, and then boot it in QEMU. I’ll assume your container is x86_64 (--platform linux/amd64) Ubuntu.


Step 0: Start a Docker container

docker run --platform linux/amd64 -it --name os-builder -v ~/osdev:/root/osdev ubuntu:26.04 bash
@mudassaralichouhan
mudassaralichouhan / Debian-2.2r7.md
Last active November 27, 2025 09:33
Steps for Building Linux 0.11 on Mac M1 via Docker

Great — Debian 2.2r7 (Potato) is a perfect choice for compiling GCC 2.7 and building Linux 0.11. I’ll give you everything you need:

  1. QEMU command to install Debian 2.2
  2. How to install gcc 2.7 on Debian 2.2
  3. How to compile Linux 0.11 inside QEMU (including libc, binutils, patches, and required tools)
  4. Fixes for common Potato-era problems

Let’s go step by step.

@mudassaralichouhan
mudassaralichouhan / adb-over-wifi.md
Created November 14, 2025 14:57
How you connected your Vivo Y33s to your Mac using ADB over Wi-Fi, and how you accessed /storage (including WhatsApp folder).

📘 Complete Guide: Connect Vivo Y33s (Funtouch OS 13) to macOS via ADB Over Wi-Fi — No USB Needed

This guide explains every step you used to:

✔ Install ADB on macOS ✔ Enable Wireless Debugging on Vivo ✔ Pair the phone with your Mac (no USB) ✔ Connect over Wi-Fi ✔ Access internal storage (/storage/emulated/...) ✔ Browse WhatsApp folder

@mudassaralichouhan
mudassaralichouhan / upload.md
Created November 10, 2025 09:11
Upload data on remote machine

for download

server

python3 -m http.server 8000 --directory /var/www/html/staging

client

curl -O http://178.128.42.36:8000/database/database.sqlite
@mudassaralichouhan
mudassaralichouhan / boot.s.md
Last active October 21, 2025 14:24
Operating System Kernel is one of the best ways to truly master computer systems

That’s awesome — learning assembly language for OS boot development is one of the best ways to understand how computers really work. 💻

Let’s build a structured roadmap together so you can go from zero to writing your own bootable OS in assembly.


🧩 Step 1: Understand the Big Picture

When a computer boots, it goes through this process:

@mudassaralichouhan
mudassaralichouhan / Docker
Last active September 8, 2025 22:39
search-engine-core
# Build stage
FROM ubuntu:22.04 AS builder
#FROM ghcr.io/hatef-ir/mongodb-server:latest as builder
# Prevent interactive prompts during package installation
ENV DEBIAN_FRONTEND=noninteractive
# Install additional build dependencies
RUN apt-get update && apt-get install -y \
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Ludo Board - Box on the Edge</title>
<script src="https://cdn.tailwindcss.com"></script>
<style>
/* Custom styles for star squares */
.star-square {
@mudassaralichouhan
mudassaralichouhan / extract-audio-from-video.md
Last active August 27, 2025 07:38
Extract Audio from Video & Convert to Text in C++

🧱 PROJECT MODULES: "Extract Audio from Video & Convert to Text in C++"


🎬 Module 1: Extract Audio from Video

Goal: Extract audio track from a video file.

Tasks:

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"