Skip to content

Instantly share code, notes, and snippets.

@he3als
he3als / DPC Latency.cmd
Last active June 5, 2024 09:09
DPC latency script using xperf
<# : batch portion
@echo off & cls
:: script made by he3als
:::::::::::::::::::
:: Configuration ::
:::::::::::::::::::
set "tempDir=%windir%\Temp"
@he3als
he3als / fileDitch.ts
Created March 26, 2023 12:23
FileDitch Vencord Uploader Plugin - https://fileditch.com/
/*
* Vencord, a modification for Discord's desktop app
* Copyright (c) 2022 Samu
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
# SPDX-FileCopyrightText: Copyright (c) 2023 ave9858 <[email protected]>
# SPDX-License-Identifier: CC0-1.0
$ErrorActionPreference = "Stop"
$regView = [Microsoft.Win32.RegistryView]::Registry32
$microsoft = [Microsoft.Win32.RegistryKey]::OpenBaseKey([Microsoft.Win32.RegistryHive]::LocalMachine, $regView).
OpenSubKey('SOFTWARE\Microsoft', $true)
$edgeUWP = "$env:SystemRoot\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe"
$uninstallRegKey = $microsoft.OpenSubKey('Windows\CurrentVersion\Uninstall\Microsoft Edge')
$uninstallString = $uninstallRegKey.GetValue('UninstallString') + ' --force-uninstall'
# $VerbosePreference = "continue"
$TestValues = [System.Collections.ArrayList](
[PSCustomObject]@{
Description = "Short, Fixed, High foreground boost."
HexValue = "2A"
DecValue = "42"
},
[PSCustomObject]@{
Description = "Short, Fixed, Medium foreground boost."