Skip to content

Instantly share code, notes, and snippets.

View ehsan18t's full-sized avatar
😴
Laziness at it's peak

Ehsan Khan ehsan18t

😴
Laziness at it's peak
View GitHub Profile
@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 June 2, 2025 05:52
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!