Skip to content

Instantly share code, notes, and snippets.

@asheroto
asheroto / README.md
Last active January 9, 2026 15:51
Bypass Windows 11 Upgrade Assistant / PC Health Check / TPM and CPU Settings. Ignore PC Health Check results.

Bypass Windows 11 Upgrade Assistant / Setup Hardware Checks (TPM, CPU, RAM)

This PowerShell script allows you to bypass TPM 2.0, unsupported CPU, and memory checks enforced by the Windows 11 Upgrade Assistant and setup.exe from Windows installation media. It eliminates common upgrade blocks such as:

  • This PC doesn't currently meet Windows 11 system requirements.
  • TPM 2.0 must be supported and enabled on this PC.
  • The processor isn't currently supported for Windows 11.

What It Does

Официальный сайт проекта ReVanced. Это единственный официальный сайт, не ведитесь на подделки.
Для работы non-root версии необходимо установить microG - GmsCore / YT-Advanced / MicroG-RE.

При первом запуске ReVanced разрешить работу в фоне microG.
Для работы microG необходимо установленное официальное приложение YouTube/YouTube Music (их можно отключить).

Часто задаваемые вопросы

Сборка ReVanced

@dkorobtsov
dkorobtsov / Add_WindowsDefender_Exclusions.ps1
Last active November 28, 2025 11:15
PowerShell script to add Windows Defender exclusions for WSL2 and JetBrains IDE performance issues
# PowerShell script to add Windows Defender exclusions for WSL2 and JetBrains IDE performance issues
#
# For context please read this thread:
# https://github.com/microsoft/WSL/issues/8995
#
# How to use?
# - Save the Script: Open a text editor like Notepad and paste the PowerShell script into it.
# - Save the file with a .ps1 extension, for example, Add_WindowsDefender_Exclusions.ps1.
# - Run PowerShell as Administrator: Search for "PowerShell" in the Start menu, right-click on it, and choose "Run as administrator".
# - Navigate to the Script's Location: Use the cd command to navigate to the directory where you saved the .ps1 file.
@MartinEesmaa
MartinEesmaa / youtube_formats.md
Last active January 8, 2026 15:43 — forked from AgentOak/youtube_formats.md
Youtube Format IDs

Note: This is all almost full YouTube ID informations. Original owner goes to AgentOak, modified version by Martin Eesmaa.

See the credits and also special thanks in below.

Before this gist has been forked, AgentOak made original gist on November 13 2019 and it was last updated on May 5 2021.

From now on, this forked gist is maintained by Martin Eesmaa since 17 September 2022.

Last updated: 08 January 2026

@huysentruitw
huysentruitw / gist:9b77582f66229d3cef4caaa08f52aec4
Created January 20, 2022 14:05
Enable Windows 11 update on unsupported hardware
reg add HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate /v TargetReleaseVersion /t REG_DWORD /d 1
reg add HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate /v TargetReleaseVersionInfo /t REG_SZ /d "21H2"
reg add HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate /v ProductVersion /t REG_SZ /d "Windows 11"
reg add HKLM\SYSTEM\Setup\MoSetup /v AllowUpgradesWithUnsupportedTPMOrCPU /t REG_DWORD /d 1
Remove the keys again after succesful update:
reg del HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate /v TargetReleaseVersion
reg del HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate /v TargetReleaseVersionInfo
reg del HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate /v ProductVersion
@krcm0209
krcm0209 / README.md
Last active December 30, 2025 17:08
Using AdGuard DNS over HTTPS (DoH) on Windows 11

Why

You may want to use AdGuard's DNS over HTTPS[^2] service if you

  1. Want to make it harder for your ISP to know what websites you are requesting
  2. Want to block most traditional ads from your web browsing experience across your entire PC

Setup instructions

  1. Open PowerShell
@hyrious
hyrious / restore-desktop-ini.md
Last active November 2, 2025 13:24
restore desktop.ini if some guy messed them up

Take %UserProfile%\Desktop\desktop.ini for example.

  1. Create a desktop.ini file with content below and saved in UTF-16 LE with BOM. Hopefully notepad.exe has such choice to use the right encoding.
[.ShellClassInfo]
LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21769
IconResource=%SystemRoot%\system32\imageres.dll,-183
@ntamvl
ntamvl / disk-speed-test-read-write-hdd-ssd-perfomance-linux.md
Created May 4, 2018 08:25
Disk Speed Test (Read/Write): HDD, SSD Performance in Linux

Disk Speed Test (Read/Write): HDD, SSD Performance in Linux

From this article you’ll learn how to measure an input/output performance of a file system on such devices as HDD, SSD, USB Flash Drive etc.

I’ll show how to test the read/write speed of a disk from the Linux command line using dd command.

I’ll also show how to install and use hdparm utility for measuring read speed of a disk on Linux Mint, Ubuntu, Debian, CentOS, RHEL.

Take the average result: To get the accurate read/write speed, you should repeat the below tests several times (usually 3-5) and take the average result.

@lorenadl
lorenadl / enabling-disabling-hyper-v-docker.md
Last active December 23, 2025 08:48
Enabling and disabling Hyper V Docker
@ichadhr
ichadhr / Disable_Enable.md
Last active December 23, 2025 08:46
Disable/Enable Hyper-V and VT-X

If you run bcdedit with no arguments, you should see a property called hypervisorlaunchtype. This will be set to off or auto.

To disable Hyper-V in order to use VirtualBox, open a command prompt as administrator and run the command:

bcdedit /set hypervisorlaunchtype off

You’ll need to reboot, but then you’ll be all set to run VirtualBox. To turn Hyper-V back on, run:

bcdedit /set hypervisorlaunchtype auto