Skip to content

Instantly share code, notes, and snippets.

@he3als
he3als / .gitattributes
Last active November 15, 2022 16:17
Fix batch scripts in GitHub repos
*.bat eol=crlf
*.cmd eol=crlf
@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,
@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 / menu.ps1
Created May 13, 2023 23:19
Simple page switching script for PowerShell
<#
The MIT License (MIT)
Copyright (c) 2023 he3als
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
@he3als
he3als / storage.reg
Last active May 21, 2023 09:47
Storage Sense reference
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\StorageSense\Parameters\StoragePolicy]
; enable Storage Sense
; also the Automatic User content cleanup option
"01"=dword:00000001
; schedule of Storage Sense
; 0 = During low free disk space
; 1 = Every day
; 7 = Every week