View OpenSymlink.reg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\Directory\shell\OpenSymlink] | |
"MUIVerb"="Open real file location" | |
[HKEY_CLASSES_ROOT\Directory\shell\OpenSymlink\command] | |
@="powershell.exe -NoProfile -Command \"explorer.exe (Get-Item '%1' -Force).Target\"" |
View DeviceProfiles.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[WindowsClient DeviceProfile] | |
TextureLODGroups=(Group=TEXTUREGROUP_World,MinLODSize=0,MaxLODSize=512,MipGenSettings=TMGS_NoMipmaps) | |
TextureLODGroups=(Group=TEXTUREGROUP_WorldNormalMap,MinLODSize=0,MaxLODSize=0,MipGenSettings=TMGS_NoMipmaps) | |
TextureLODGroups=(Group=TEXTUREGROUP_WorldSpecular,MinLODSize=0,MaxLODSize=0,MipGenSettings=TMGS_NoMipmaps) | |
TextureLODGroups=(Group=TEXTUREGROUP_Character,MinLODSize=0,MaxLODSize=512,MipGenSettings=TMGS_NoMipmaps) | |
TextureLODGroups=(Group=TEXTUREGROUP_CharacterNormalMap,MinLODSize=0,MaxLODSize=512,MipGenSettings=TMGS_NoMipmaps) | |
TextureLODGroups=(Group=TEXTUREGROUP_CharacterSpecular,MinLODSize=0,MaxLODSize=512,MipGenSettings=TMGS_NoMipmaps) | |
TextureLODGroups=(Group=TEXTUREGROUP_Weapon,MinLODSize=0,MaxLODSize=256,MipGenSettings=TMGS_NoMipmaps) | |
TextureLODGroups=(Group=TEXTUREGROUP_WeaponNormalMap,MinLODSize=0,MaxLODSize=0,MipGenSettings=TMGS_NoMipmaps) | |
TextureLODGroups=(Group=TEXTUREGROUP_WeaponSpecular,MinLODSize=0,MaxLODSize=0,MipGenSettings=TMGS_NoMipmaps) |
View dumper.bat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set dumper_path=DumpedConfigs\ | |
set process_path=%~1 | |
start "Dump-Inis" "%process_path%" ^ | |
-AHGameSettingsSubsystemIni=%dumper_path%AHGameSettingsSubsystem.ini ^ | |
-ApexDestructionIni=%dumper_path%ApexDestruction.ini ^ | |
-CameraCalibrationCoreIni=%dumper_path%CameraCalibrationCore.ini ^ | |
-CompatIni=%dumper_path%Compat.ini ^ | |
-DefCompatIni=%dumper_path%DefCompat.ini ^ | |
-ComposureIni=%dumper_path%Composure.ini ^ |
View downgrade_steam.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Script based on the information of this STEAM forum post: | |
# https://steamcommunity.com/groups/SteamClientBeta/discussions/3/3710433479207750727/?ctp=44#c3763355849151540150 | |
# Define the package list | |
$URL_LIST = @( | |
"http://media2.steampowered.com/client/bins_cef_win32_win10-64.zip.e95f6a85b5fc78198eb662f54d8673fd0dc8c0e6", | |
"http://media2.steampowered.com/client/bins_codecs_win32.zip.c24511ddbb9b44737097dbf66b8f93d2dfba868e", | |
"http://media2.steampowered.com/client/bins_misc_win32.zip.495f560691a969371f6f81dc8f3aba73c51906cf", | |
"http://media2.steampowered.com/client/bins_webhelpers_win32_win10-64.zip.42464337ec9bcad255e9f5026987d839b2cea16f", | |
"http://media2.steampowered.com/client/bins_win32.zip.afbe8612dfe857ae3e8ba69d1013386f47a5b0c0", |
View DeviceProfiles.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[WindowsNoEditor DeviceProfile] | |
CVars=D3D12.PSO.DiskCache=1 | |
CVars=D3D12.PSO.DriverOptimizedDiskCache=1 | |
CVars=r.ShaderPipelineCache.Enabled=1 | |
CVars=r.ShaderPipelineCache.StartupMode=1 | |
CVars=r.ShaderPipelineCache.PreOptimizeEnabled=1 | |
CVars=r.ShaderPipelineCache.GameFileMaskEnabled=0 | |
CVars=r.ShaderPipelineCache.BatchSize=50 | |
CVars=r.ShaderPipelineCache.BackgroundBatchSize=1 | |
CVars=r.ShaderPipelineCache.PrecompileBatchSize=50 |
View primecache-content.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
read_files_from_textfile() { | |
while IFS=$' \t\r\n' read -r directory || [ -n "$directory" ]; do | |
read_files_from_directory "$directory" | |
done < "$1" | |
} | |
read_files_from_directory() { | |
suffix=$([ $# -gt 1 ] && echo "ies" || echo "y"); |
View trigram-similarity.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const nGram = function(n) { | |
if ( | |
typeof n !== 'number' || | |
Number.isNaN(n) || | |
n < 1 || | |
n === Number.POSITIVE_INFINITY | |
) { | |
throw new Error('`' + n + '` is not a valid argument for `n-gram`') | |
} |
View Install-Hyper-V.bat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
pushd "%~dp0" | |
dir /b %SystemRoot%\servicing\Packages\*Hyper-V*.mum >hyper-v.txt | |
for /f %%i in ('findstr /i . hyper-v.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i" | |
del hyper-v.txt | |
Dism /online /enable-feature /featurename:Microsoft-Hyper-V -All /LimitAccess /ALL |
View Huawei_B525s-23a_name_filler.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Huawei B525s-23a router's 'Domain Name Filter' filler script that allows users to automatically fill Domain Name Filter table with values from a normal hostname list | |
/* | |
# Blacklist example: | |
abtest.mistat.intl.xiaomi.com | |
abtest.mistat.xiaomi.com | |
account.preview.n.xiaomi.net | |
account.xiaomi.com | |
ad1.xiaomi.com | |
ad.mi.com |
View kissMangaAntiAdBlockCF.user.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name KissManga - AdBlock Tampered Cloudflare Challenge Bypass | |
// @version 0.11 | |
// @author Manciuszz | |
// @match *://kissmanga.com/* | |
// @grant unsafeWindow | |
// ==/UserScript== | |
(function() { | |
'use strict'; |
NewerOlder