Skip to content

Instantly share code, notes, and snippets.

View ehsan18t's full-sized avatar
😿
Life is not Meow anymore...

Ehsan Khan ehsan18t

😿
Life is not Meow anymore...
View GitHub Profile
@ehsan18t
ehsan18t / grand-cp-list.md
Created September 16, 2025 16:08
This is a list of programming problems from various sites (like LeetCode, Codeforces) and designed in way to take you from zero. All you need to do is follow the serial and solve problems.

The Grand Plan: 225 Problems from Zero to Hero

This list is designed to be followed serially, from #1 to #225. It starts with the absolute basics and gradually introduces new data structures, algorithms, and more complex variations of old ones. Early problems build the foundation for later problems.

Instructions:

  • DO NOT jump around. The order is crucial.
  • Struggle is part of the process. If a problem feels hard, it's because it's likely introducing a new idea. Spend time trying to solve it before looking at solutions.
  • Master the pattern. After solving a problem, ask yourself: What was the key idea? Is this a two-pointer problem? A binary search? A specific greedy choice?
  • Spaced Repetition. Occasionally, go back and re-solve a random problem from 20-30 spots earlier in the list to ensure the concepts stick.
@ehsan18t
ehsan18t / easy-mingw-setup-windows.md
Last active February 23, 2025 12:01
Install MinGW Effortlessly on Windows - A 2-Click Setup Guide

Introduction

In this blog post, I'm excited to introduce a recent project of mine aimed at simplifying the often intricate process of setting up and configuring the MinGW environment. It's no secret that navigating the complexities of MinGW installation can be daunting, especially for newcomers. Many budding developers find themselves overwhelmed and discouraged at this initial stage. With this project, my goal is to eliminate these barriers by providing a user-friendly MinGW installer. This installer is designed to streamline the process, equipping users with a fully functional environment that includes the latest GCC version and other essential production packages.

Packages

This installer is bundled with essential and commonly used packages which includes:

  • GCC
  • GDB
@ehsan18t
ehsan18t / processor-boost-mode.md
Last active September 17, 2025 05:24
Enable Processor Boost Mode Control in Advanced Power Settings

Enable Processor Boost Mode Control in Windows

Disable Turbo Boost to Reduce Power Consumption and Heat

Why Do We Need It?

If your laptop’s CPU is running very hot and you’ve tried to undervolt it, you’ve probably discovered there’s no easy way to do so—especially on laptops whose BIOS doesn’t expose those controls. I ran into the same issue with my Ryzen 7 5800H, despite numerous attempts, I couldn’t undervolt because the firmware simply wouldn’t allow it. While it may seem drastic, disabling Turbo Boost is one workaround—and you might be surprised how little real-world performance you lose by turning it off.

Vim Cheatsheet for Beginners

These commands are tested in VSCode with Vim plugin.

 

1. Vim Philosophy & Essential Modes

Vim is a modal editor, meaning its behavior changes based on the current mode—no mouse required!