Skip to content

Instantly share code, notes, and snippets.

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

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

Сборка Revanced

@dkorobtsov
dkorobtsov / Add_WindowsDefender_Exclusions.ps1
Last active March 7, 2025 20:53
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.
@InjectedPie
InjectedPie / Windows 11 Inplace Upgrade on unsupported Hardware.reg
Created September 21, 2022 09:18
Windows 11 Inplace Upgrade on unsupported Hardware.reg
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\Setup\MoSetup]
"AllowUpgradesWithUnsupportedTPMOrCPU"=dword:00000001
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\PCHC]
"UpgradeEligibility"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig]
"BypassTPMCheck"=dword:00000001
@MartinEesmaa
MartinEesmaa / youtube_formats.md
Last active April 14, 2025 01:59 — 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.

Last updated: April 2025

Also known as itag or format codes and way back they could be specified with the fmt parameter (e.g. &fmt=22). Depending on the age and/or popularity of the video, not all formats will be available.

DASH video

@sandorex
sandorex / clean_youtube_playlist.user.js
Last active September 3, 2023 16:12 — forked from qoomon/youtube_clean_watch_later_videos.js
Clean YouTube Playlist Videos
// ==UserScript==
// @name Clean Youtube Playlist
// @match *://www.youtube.com/playlist*
// @grant GM_registerMenuCommand
// @grant GM_getValue
// @homepageURL https://gist.github.com/sandorex/6bdd51ef467a079c87f19ba469a8bc7c
// @downloadURL https://gist.githubusercontent.com/sandorex/6bdd51ef467a079c87f19ba469a8bc7c/raw/clean_youtube_playlist.user.js
// @noframes
// @version 1.1.5
// @author Sandorex
@krcm0209
krcm0209 / README.md
Last active April 1, 2025 16:34
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
@qoomon
qoomon / youtube_clean_watch_later_videos.js
Last active April 4, 2025 04:38
Clean YouTube Watch Later Videos
// Version 2.0.1
// This script will remove all videos from watch later list
//
// Usage
//
// #1 go to https://www.youtube.com/playlist?list=WL
// #2 run following script in your browser console
(async function() {
const playlistName = document.querySelector('.metadata-wrapper #container #text')?.textContent || document.querySelector('#text')?.textContent
@hyrious
hyrious / restore-desktop-ini.md
Last active April 12, 2025 23:51
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

How to setup a practically free CDN using Backblaze B2 and Cloudflare

⚠️ Note 2023-01-21
Some things have changed since I originally wrote this in 2016. I have updated a few minor details, and the advice is still broadly the same, but there are some new Cloudflare features you can (and should) take advantage of. In particular, pay attention to Trevor Stevens' comment here from 22 January 2022, and Matt Stenson's useful caching advice. In addition, Backblaze, with whom Cloudflare are a Bandwidth Alliance partner, have published their own guide detailing how to use Cloudflare's Web Workers to cache content from B2 private buckets. That is worth reading,