Skip to content

Instantly share code, notes, and snippets.

@lextra2
Last active January 31, 2026 15:18
Show Gist options
  • Select an option

  • Save lextra2/801d487cb8721231dfc1760db2ebdce5 to your computer and use it in GitHub Desktop.

Select an option

Save lextra2/801d487cb8721231dfc1760db2ebdce5 to your computer and use it in GitHub Desktop.
RD /S /Q "%localappdata%\AMD\DX9Cache", "%localappdata%\AMD\DxCache", "%localappdata%\AMD\DxcCache", "%localappdata%\AMD\OglCache", "%localappdata%\AMD\VkCache"
RD /S /Q "%localappdata%\NVIDIA", "%appdata%\NVIDIA"
techpowerup.com##.s-
techpowerup.com##.todayslist
techpowerup.com##.contnt:style(width: 100% !important)
techpowerup.com##.patreon-previews
techpowerup.com##.pinned-news2
forums.guru3d.com##.sidebar
forums.guru3d.com##.mainContent:style(width: 100% !important)
phoronix.com###sidebar-wrap
phoronix.com###menuwrap
phoronix.com###main:style(margin-right: 0px !important)
old.reddit.com###eu-cookie-policy
old.reddit.com###sr-header-area
old.reddit.com###header-bottom-right
old.reddit.com##.footer-parent
old.reddit.com##.debuginfo
old.reddit.com##.tabmenu
old.reddit.com##.side
old.reddit.com##.content:style(width: 100% !important)
old.reddit.com##.infobar-toaster-container
old.reddit.com##.infobar.commentsignupbar
old.reddit.com##.infobar.listingsignupbar
old.reddit.com##.flairrichtext
m.twitch.tv##.stream-chat
kleinanzeigen.de##div[id^="srp"]
kleinanzeigen.de##.ad-listitem.badge-topad.is-topad
mydealz.de##.messages
mydealz.de###groupHeaderPortal
mydealz.de##.space--mt-5
mydealz.de##.aGrid--fixed
nydeakz,de##.filterBar
mydealz.de###belowDetailsAdSlotPortal
mydealz.de###voteSecondarySectionPortal
mydealz.de###keywordSuggestionsWidgetPortal
mydealz.de###relatedDealsWidgetPortal
mydealz.de###belowCommentsAdSlotPortal
mydealz.de###internalLinkingWidgetPortal
mydealz.de###footer-container
mydealz.de###sidebar
mydealz.de##div[id^="customBannerList-id"]
mydealz.de###groupHottestWidgetPortal
mydealz.de###exploreMoreRelatedWidget
mydealz.de##.lbox--v-9
mydealz.de##.cept-widget-list
aliexpress*$removeparam=/^(gate|mp|spm|algo|pdp|cur|utparam|gps|scm|pvid|_t|search_)/
aliexpress.com###sidecart
aliexpress.com###_sidecart_placeholder23
aliexpress.com##.pdp-page-wrap:style(padding-right: 1px !important)
aliexpress.com##.home--new-home--UXKZmgj
aliexpress.com##.footer-wrap
aliexpress.com##.cart-recommend
aliexpress.com##.cart-summary-suggestion
aliexpress.com##.site-footer
aliexpress.com##.footer-copywrite
aliexpress.com##.relatedSearch--bottomWrapper--2lxD0Q4
aliexpress.com##.bottom--container--1EMPdiV
aliexpress.com##.es--product-fix-sns--3dZQv4l
aliexpress.com##.survey--wrap--wg1Og56
aliexpress.com###nav-moretolove
aliexpress.com##.cross-link--crossLink--D6lKnhz
amazon*$removeparam=/^(ref|smid|th|psc|_encoding|pd_rd|pf_rd|content-id)/
instagram.com##+js("set-attr", "video", "controls", "true")
instagram.com##video:style(display: block !important; height: 100% !important; width: 100% !important; position: absolute !important; z-index: 100 !important)
tiktok.com##+js("set-attr", "video", "controls", "true")
tiktok.com##div[class="DivActionBarWrapper"]
tiktok.com##div[class="DivVideoSwiperControlContainer"]
tiktok.com##div[class="DivScrollContainer"]
tiktok.com##div[class="DivVideoList"]
tiktok.com##div[class="DivSearchFormContainer"]
tiktok.com##div[class="DivIconWrapper"]
tiktok.com##div[class="DivCaptionContainer"]
tiktok.com##div[class="DivVoiceControlContainer"]tainer
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\exefile\shell\disabledpi]
[HKEY_CLASSES_ROOT\exefile\shell\disabledpi]
@="Disable DP&I Scaling"
[HKEY_CLASSES_ROOT\exefile\shell\disabledpi\command]
@="cmd /c @reg add \"HKCU\\Software\\Microsoft\\Windows NT\\CurrentVersion\\AppCompatFlags\\Layers\" /v \"%1\" /f /t REG_SZ /d \"~ HIGHDPIAWARE\">nul"
"IsolatedCommand"="cmd /c @reg add \"HKCU\\Software\\Microsoft\\Windows NT\\CurrentVersion\\AppCompatFlags\\Layers\" /v \"%1\" /f /t REG_SZ /d \"~ HIGHDPIAWARE\">nul"
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Allfilesystemobjects\shell\windows.copyaspath]
@="Copy &as path"
"Icon"="imageres.dll,-5302"
"InvokeCommandOnSelection"=dword:00000001
"VerbHandler"="{f3d06e7c-1e45-4a26-847e-f9fcdee59be0}"
"VerbName"="copyaspath"
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell]
"FolderType"="NotSpecified"
$Path = "C:\Users\Admin\Desktop\New folder"
Get-Childitem $Path -filter *.appx| %{Add-AppxPackage -Path $_.FullName}
Get-Childitem $Path -filter *.appxbundle | %{Add-AppxPackage -Path $_.FullName}
Get-Childitem $Path -filter *.Msixbundle | %{Add-AppxPackage -Path $_.FullName}
https://woshub.com/how-to-download-appx-installation-file-for-any-windows-store-app/#h2_1
@ECHO OFF
START powershell Start-Process -WindowStyle Hidden -FilePath "C:\Users\ULTRA\AppData\LATENCY\DPCLAT.exe"
EXIT
// Copy as Path
item(title=sel.path cmd=command.copy(sel.path))
{
}
NTLITE SETTNGS W10
-- DESKTOP
Desktop icon - Recycle Bin = OFF
Meet Now = Off
News And Interests = Off
Pointer options - Enhance pointer precision = Off
Show People = Off
-- EXPLORER
Always show more = ON
Open File Explorer to = This PC
Quick access = OFF
Recycle Bin - Display delete text = ON
Show Task View button = OFF
Taskbar - Always show all icons = ON
View - Show extensions = ON
View - Show hidden = ON
-- POWER CONTROL
Fast Startup = OFF
Shutdown menu = ALL OFF
-- PRIVACY
Search - Include Bing web results = OFF
Windows Copilot = OFF
Windows Spotlight = OFF
-- User Account Control (UAC)
UAC Admin prompt = Elevate without prompt
----------------------------------------------------
---- COMPONENTS
-- APPS = ALL OFF
-- NETWORK = Microsoft Edge = OFF
-- SYSTEM APPS = Windows Defender = OFF
--Remove all Start Menu Apps
Get-AppxPackage -allusers | Remove-AppxPackage
--Restore all Start Menu Apps
Get-AppXPackage -allusers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
--Restore Windows Store
Get-AppxPackage -allusers Microsoft.WindowsStore | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
--Restore Windows Calculator
Get-AppxPackage -allusers Microsoft.WindowsCalculator | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
--Remove Search annoyances
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Search /v BingSearchEnabled /t REG_DWORD /d 0 /f
reg add HKCU\Software\Policies\Microsoft\Windows\Explorer /v DisableSearchBoxSuggestions /t REG_DWORD /d 1 /f
--Restore Windows 10 Context Menu
reg add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve
--Restore Windows 11 Context Menu
reg delete “HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}” /f
--Restore Notepad
Get-AppxPackage -allusers Microsoft.WindowsNotepad | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
--Restore Paint
Get-AppxPackage -allusers Microsoft.Paint | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
--Restore Snipping Tool
Get-AppxPackage -allusers Microsoft.ScreenSketch | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
--remove a singular app, with wildcards (*)
get-appxpackage *skypeapp* | remove-appxpackage
-reset windows store
wsreset -i
@ECHO OFF
CD "C:\Program Files (x86)\Steam\steamapps\common\Path of Exile\"
START PathOfExileSteam.exe
timeout /t 6 /nobreak
WMIC process where name="PathOfExileSteam.exe" CALL setpriority "realtime"
EXIT
gametitle=Ratchet - Deadlocked (NTSC-U) (SCUS-97465)
[Progressive Scan]
author=PeterDelta
comment=Starts the game in Progressive Scan Mode
gsinterlacemode=1
patch=1,EE,0021DE6C,extended,00000001
gametitle=Mercenaries - Playground of Destruction NTSC-U SLUS-20932 23510F99
[60 FPS]
author=Gabominated
description=Requires EE overclock.
patch=1,EE,004A55DC,word,00000000
[Remove Blur/Bloom]
author=Gabominated
description=Removes the post-processing blur/bloom effect
patch=1,EE,004F318C,word,00000000
gametitle=Shin Megami Tensei: Persona 4 (SLUS-21782B)
[60 FPS]
author=asasega
comment=60 FPS
patch=1,EE,201026C0,word,10000006 //fps
patch=1,EE,20761130,word,3C888889 //speed
// patch=1,EE,203E40F0,word,3C023F00 //traverse
@lextra2
Copy link
Author

lextra2 commented Jan 31, 2026

remove gaybar
Get-AppxPackage Microsoft.XboxGamingOverlay | Remove-AppxPackage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment