-
-
Save lextra2/801d487cb8721231dfc1760db2ebdce5 to your computer and use it in GitHub Desktop.
000 |
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##.nav-buttons | |
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 | |
m.twitch.tv##.stream-chat | |
kleinanzeigen.de##div[id^="srp"] | |
kleinanzeigen.de##.ad-listitem.badge-topad.is-topad | |
mydealz.de##.aGrid-item | |
mydealz.de###sidebarBottomAdSlotPortal | |
mydealz.de###latestNewsWidgetPortal | |
mydealz.de##.bg--main | |
mydealz.de###groupHottestWidgetPortal | |
mydealz.de###exploreMoreRelatedWidget | |
mydealz.de##.cept-widget-list | |
mydealz.de##div[id^="customBannerList-id"] |
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" |
DEL /Q "%localappdata%\AMD\DX9Cache", "%localappdata%\AMD\DxCache", "%localappdata%\AMD\DxcCache", "%localappdata%\AMD\OglCache", "%localappdata%\AMD\VkCache" |
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 |
!Settings! | |
Desktop: | |
- Pointer options - Enhance pointer precision = Disabled | |
Explorer: | |
- Search Suggestions = Disabled <-- DEPRECATED | |
- Open File Explorer to = This PC | |
- View - Show extensions for known file types = Enabled | |
- View - Show hidden files, folders and drives = Enabled | |
Privacy: | |
Occasionally show suggestions in Start = Disabled | |
Show me suggested content in the Settings app = Disabled | |
Suggest ways I can finish setting up my device online = Disabled | |
Windows Spotlight = Disabled | |
Privacy: | |
- Search - Include Bing web results = Disabled | |
- Automatic installation of sponsored apps (Consumer Experience) (Candy Crush, etc.) = Disabled | |
- Automatically install suggested apps (Candy Crush, etc.) = Disabled | |
- Pre-installed apps = Disabled | |
- Show frequently used folders in Quick access = Disabled | |
- Show recently used files in Quick access = Disabled | |
Power Control: | |
- Fast Startup = Disabled | |
- Shutdown Menu Hibernate/Lock/Sleep = Disabled | |
Remove > Components > Windows Apps > Uncheck "Apps" | |
Configure > Features > Media Features > Uncheck | |
Configure > Features > Internet Explorer 11 > Uncheck | |
automatic driver update mode = never | |
automaticically update device drivers and icons over the internet = disabled | |
windows update service download = check for updates but let me choose wether to download and install them |
--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) | |
[60 FPS] | |
author=asasega | |
comment=Requires EE Cycle Rate overclock | |
patch=1,EE,203AD720,word,2C420001 |
Firefox Tweaks
about:config
toolkit.zoomManager.zoomValues
.25,.5,.75,1,1.25,1.33,1.5,1.75,2,2.5,3,4,5
full-screen-api.transition-duration.enter
0
full-screen-api.transition-duration.leave
0
full-screen-api.warning.timeout
0
gfx.color_management.native_srgb
true
media.cache
2000
network.http.http3.recvBufferSize
222111222
media.mediasource.eviction_threshold.video
222111222
media.mediasource.eviction_threshold.audio
111222111
browser.cache.check_doc_frequency
1
https://kb.mozillazine.org/Browser.cache.check_doc_frequency
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers
TdrDelay
from 10
to 20
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /StartComponentCleanup
DISM /Online /Cleanup-Image /RestoreHealth
SFC /scannow
https://www.windowscentral.com/how-use-dism-command-line-utility-repair-windows-10-image
https://www.windowscentral.com/how-use-sfc-scannow-command-fix-problems-windows-10
https://www.rapidtables.com/convert/number/binary-to-hex.html
powershell.exe -Command "Get-WmiObject Win32_process -filter 'name = """Audiodg.exe"""' | ForEach-object{$_.SetPriority(128)};Get-Process Audiodg | ForEach-Object {$_.ProcessorAffinity=0xC00000};return 0;"
24 21 18 15 12 9 6 3
000 000 000 000 111 111 111 111
111 111 111 111 000 000 000 000
000000000000111111111111
111111111111000000000000
= FFF
= FFF000
@echo off
start /abovenormal /affinity FFF notepad.exe
powershell "ForEach($PROCESS in GET-PROCESS firefox) { $PROCESS.ProcessorAffinity=16773120}"
https://docs.google.com/spreadsheets/d/1J2tmV_ZFrhMqzeRlyb6eOUs7a6jwQZRGzA-n6Tr_57o/edit?usp=sharing
https://stackoverflow.com/questions/19187241/change-affinity-of-process-with-windows-script
Cloudflare DNS
IPv4
1.1.1.1
1.0.0.1
IPv6
2606:4700:4700::1111
2606:4700:4700::1001
Google DNS
IPv4
8.8.8.8
8.8.4.4
IPv6
2001:4860:4860::8888
2001:4860:4860::8844
AdGuard
IPv4
94.140.14.14
94.140.15.15
IPv6
2a10:50c0::ad1:ff
2a10:50c0::ad2:ff
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36
bcdedit /set disabledynamictick yes
bcdedit /set useplatformtick yes
bcdedit /deletevalue useplatformclock
TCP Optimizer
https://www.majorgeeks.com/files/details/speedguide_net_tcp_optimizer.html
General Settings > Checksum Offloading = Enabled
Advanced Settings > Gaming Tweak > NetworkThrottlingIndex = Disabled
Advanced Settings > Gaming Tweak > TcpAckFrequency = Disabled: 1
Advanced Settings > Gaming Tweak > TCPNoDelay = Enabled: 1
Extract NTLite\sources\install.wim\
Copy GroupPolicy
folder from currently running Windows\System32
install to NTLite\sources\install.wim\Windows\System32\
DISM /Mount-image /imagefile:C:\project\install.wim /Index:1 /MountDir:C:\project\mountHere
DISM /Unmount-Image /MountDir:C:\project\mountHere /Commit
Run cmd.exe as admin with the following command:
setx __COMPAT_LAYER HighDpiAware /M
This is effectively to
Change high DPI settings > Override high DPI scaling behavior > Application
HIGHDPIAWARE: Disable Display Scaling on High DPI Settings - Scaling performed by: Application (Win7/10)
DPIUNAWARE: Scaling performed by: Application (Win10 build 15002+)
GDIDPISCALING DPIUNAWARE: Scaling performed by: System (Enhanced) (Win10 build 15002+)
Step 1 - Create a CPU Core Affinity Binary Mask
Starts from the right, going to the left:
Note: I've used spaces to ease visualisation. Use Step 2 values for copy-paste.
Cores you do want to use are represented by a 1. Use 0 for "Do not use".
Use the first 16 cores (CCD 1):
0000 0000 0000 0000 1111 1111 1111 1111
Use the last 16 cores (CCD 2):
1111 1111 1111 1111 0000 0000 0000 0000
Step 2 - Binary to Hex Converter
Go to https://www.rapidtables.com/convert/number/binary-to-hex.html
Copy one of the binary values below into the converter.
Use the first 16 cores:
00000000000000001111111111111111 <-- Binary
= FFFF <-- Hex
= 65535 <-- Decimal
Use the last 16 cores:
11111111111111110000000000000000 <-- Binary
= FFF000 <-- Hex
= 4294901760 <-- Decimal
Step 3 - Create a .bat file with your Hex Value
Replace FFFF with your desired hex value.
And don't forget to adjust the file path if your Steam location differs from the default one used below.
Note: Processes (like games) launched through launchers like Steam will inherent the CPU core affinity of the launcher.
Disable Steams autostart in the steam settings and exit it before using the command below.
Only launch Steam via the .bat file.
You can add the Steam.bat file to your Startup folder to get back the ability of automatically launching it after starting your PC.
The main startup folder path (shared by all users) is
%ProgramData%\Microsoft\Windows\Start Menu\Programs\StartUp
The user-specific path is
%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup
Create a Steam.bat file with the following text inside:
CD "C:\Program Files (x86)\Steam"
START /affinity FFFF steam.exe
Step 4 - OPTIONAL - Change the affinity of a running process via Command Prompt
To change the affinity of a running process, copy and paste the below string into a Command Prompt (cmd.exe) window.
You will have to change the processes name firefox and affinity 65535 to your desired ones.
The command uses a decimal value for the affinity, which you can find with the converter of Step 2
Note: Do not attempt to use this string in powershell directly. It will not work.
powershell "ForEach($PROCESS in GET-PROCESS firefox) {$PROCESS.ProcessorAffinity=65535}"
https://gal.vin/posts/2021/w11-ms-store-apps/