Skip to content

Instantly share code, notes, and snippets.

View Elvmeen's full-sized avatar
💭
💪

Aminu Muhammad Elvmeen

💭
💪
View GitHub Profile

A non-operational annotated version of the script for analysis only. I have redacted the actual keys and KMS server domains so it cannot be used directly.

@echo off
REM Hides command echoing in the terminal.

title Activate Windows 11 (ALL versions) for FREE!
REM Sets the console window title.

Below is a clean technical note you can store in a GitHub Gist. It documents the legitimate method you actually used, not the activation scripts.


Recover and Activate Windows Using the OEM Key Stored in BIOS

This method retrieves the original Windows license embedded in the motherboard firmware (UEFI) and activates Windows without reinstalling the OS.

Modern laptops usually ship with an OEM digital license stored in firmware. Even if Windows activation breaks or the system edition changes, the key can be recovered and reused.

Activate Windows 8, 8.1, 10 and 11 Pro for Free

A guide how to get and activate Windows 8, 8.1, 10 and 11 Pro for free!

NOTE

If you see the Windows keyboard button in this guide; and you can't find it on your keyboard, you likely have/had Windows 10 which has the button . If you can't find that one, you likely have a PC that has been upgraded to Windows 8/8.1/10/11 from Windows 8.1/8/7/Vista/XP and other ones. If you have one of those, refer the Windows key button to as yours. A list of them is below:

Windows key buttons

- Windows 11

- Windows 10

@Elvmeen
Elvmeen / WatchlistAnalyzer.mql5
Created December 21, 2025 22:19
Watchlist Analyzer
//+------------------------------------------------------------------+
//| MultiTimeframeBullishScanner.mq5|
//| |
//+------------------------------------------------------------------+
#property strict
//--- Input parameters
input ENUM_TIMEFRAMES TF1 = PERIOD_D1; // Daily
input ENUM_TIMEFRAMES TF2 = PERIOD_H4; // 4H
input ENUM_TIMEFRAMES TF3 = PERIOD_H1; // 1H
@Elvmeen
Elvmeen / main.md
Created December 1, 2025 22:47 — forked from Ifihan/main.md
Maximum Running Time of N Computers

Question

Approach

I binary-search the maximum running time T. For a candidate T I check if the total available minutes (summing min(b, T) for every battery b) is at least n * T — because each computer needs T minutes and a single battery can contribute at most T minutes toward a given computer. If the check passes, T is feasible and I try larger values; otherwise I try smaller ones.

Implementation

class Solution:
    def maxRunTime(self, n: int, batteries: List[int]) -> int:
@Elvmeen
Elvmeen / AutoTrailing.mql5
Last active November 23, 2025 09:28
Version 6.7
//+------------------------------------------------------------------+
//| Proportional Trailing EA (Corrected) |
//| SL reaches breakeven at 50% progress, continues trailing after |
//+------------------------------------------------------------------+
#property strict
#include <Trade\Trade.mqh>
input double TrailStepPercent = 2.0; // Update every X% of progress
input int CheckIntervalMS = 1000; // Milliseconds between checks
input bool ShowDebugInfo = true; // Show trailing logs
Windows Registry Editor Version 5.00
;------------------------------
; Disable Delivery Optimization
;------------------------------
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DoSvc]
"Start"=dword:00000004
;------------------------------
; Disable Windows Telemetry
@Elvmeen
Elvmeen / Martingale EA (Git Version)
Created August 5, 2025 21:01
Pasted for Version Control
//+------------------------------------------------------------------+
//| ProjectName |
//| Copyright 2020, CompanyName |
//| http://www.companyname.net |
//+------------------------------------------------------------------+
#property copyright "Copyright 2021"
#property link "drdz9876@gmail.com"
#property version "2.0"
#include <Trade\PositionInfo.mqh> CPositionInfo m_position;
#include <Trade\Trade.mqh> CTrade trade;
@Elvmeen
Elvmeen / MyFirst(Beta-Version)
Last active August 5, 2025 17:40
TF-EA (Synthetic Indicies Compatible) Pasted for version control. Issues: Risk mgt and timeframe analysis error, allows tf input but like the first ver., deviate to EMAs
//+------------------------------------------------------------------+
//| Enhanced_EMA_EA_v3.0_Profitable.mq5 |
//| Improved EMA Strategy with 2:1 RRR & 5% Risk |
//+------------------------------------------------------------------+
#property strict
#property version "3.00"
//--- Risk percentage enumeration
enum ENUM_RISK_PERCENT
@Elvmeen
Elvmeen / Beta(1).mq5
Last active October 20, 2025 12:50
Main EA Demo; Contains Timeframa Analysis Error & outdated input parameters First Version meant for version tracking & without synthetic indicis support
//+------------------------------------------------------------------+
//| Enhanced_EMA_EA_v3.0_Profitable.mq5 |
//| Improved EMA Strategy with 2:1 RRR & 5% Risk |
//+------------------------------------------------------------------+
#property strict
#property version "3.00"
#property copyright "Enhanced by Elameen - Profitable EMA Strategy"
//--- Input parameters
input group "=== RISK MANAGEMENT (CRITICAL) ==="