Skip to content

Instantly share code, notes, and snippets.

View ehsan18t's full-sized avatar

Ehsan Khan ehsan18t

View GitHub Profile
@ehsan18t
ehsan18t / easy-mingw-setup-windows.md
Last active September 22, 2024 19:32
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 November 10, 2024 13:27
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?

The thing is if your laptop cpu is getting really hot and you are trying to undervolt it then chances are 99% that there are no method to do so. I have also tried to do undervolt my Ryzen 7 5800H but no luck. Because the bios doesn't allow that much control over the cpu. I don't know the specific reasons for the manufactures to restrict such a great thing. But with this you can disable the Turbo Boost. While this might sounds stupid but trust me you won't see a massive difference in performance after turned it off.

When You should Do It?

Vim Cheatsheet for Beginners

These commands are tested in VSCode with Vim plugin.

 

💠 Mode

  • ESC / Ctrl + [ - Normal Mode
  • a - Insert Mode (After Current Char)
  • i - Insert Mode (Before Current Char)