Skip to content

Instantly share code, notes, and snippets.

View cs-deathmatch's full-sized avatar

Lise cs-deathmatch

View GitHub Profile
::gonna be honest i just ai generated this because who the fuck actually knows how bat files work. language created by the devil
::requires yt-dlp to be installed and configured in your PATH https://www.java.com/en/download/help/path.html
::works with playlists or individual songs
::downloads in the highest possible quality (.opus), and bakes the thumbnail in, cropped to 1:1. also fills in the proper metadata
::and cuts out any non-music with sponsorblock
::only can do so much though, if the upload had bad metadata (thumbnail that doesn't look good cropped, wrong artist, etc),
::you'll need to add that stuff manually. i like mp3tag
::doesn't specify an output folder, it'll go to your user folder. otherwise, add a config.txt to C:\Users\YOU\AppData\Roaming\yt-dlp
::i like -o 'C:\Users\Lise\Videos\yt-dlp\%(title)s.%(ext)s' but you can really do whatever
::if you'd rather mp3, change line 26 to mp3 from opus
@cs-deathmatch
cs-deathmatch / quick.css
Created March 26, 2025 23:59
Restore discord server list size
/* Install vencord if you haven't already https://vencord.dev/ */
/* Go to settings > Themes > Edit QuickCSS */
/* Paste the contents of this file into the box that appears, then close it */
/* Made by my friend, i just shamelessly stole their css. check them out at https://ranid.space/ */
:root {
--custom-guild-list-padding: 8px; /* set this to whatever u want */
--new-size: 48; /* change this value, size in pixels */
--guildbar-avatar-size: calc(var(--new-size) * 1px);
--guildbar-folder-size: calc(var(--new-size) * 1px);
}
@cs-deathmatch
cs-deathmatch / YT UI Tweaks
Last active January 6, 2026 16:09
YouTube UI Tweaks
(these were all written by my friend @ranidspace, i can't write css to save my life lol. well the first one is mine, but i just used the element zapper)
Install uBlock origin, if you haven't already (you should regardless) https://ublockorigin.com/
Go to the dasboard (extension icon > settings cog), and select the My filters tab
Paste the following into the giant text box. If there's already text there, don't overwrite it, just add these lines below
www.youtube.com###dismissible > .ytd-rich-shelf-renderer.style-scope
!Removes shorts shelf