Skip to content

Instantly share code, notes, and snippets.

View Katzenwerfer's full-sized avatar
🤒
Out sick

Jones Katzenwerfer

🤒
Out sick
View GitHub Profile
html {
-moz-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%
}
body {
background: #ffe url(/image/fade.png) top center repeat-x;
color: maroon;
font-family: arial, helvetica, sans-serif;
@Katzenwerfer
Katzenwerfer / YotsubaEx.json
Last active February 24, 2024 00:47
Yotsuba theme for KurobaEx
{
"name": "YotsubaEx",
"is_light_theme": true,
"light_nav_bar": false,
"light_status_bar": false,
"accent_color": "#000080",
"primary_color": "#000000",
"back_color": "#FFFFEE",
"back_color_secondary": "#F0E0D6",
"post_details_color": "#800000",
@Katzenwerfer
Katzenwerfer / discord-mobile.css
Last active April 25, 2024 21:12
Modifies the size of some elements in the Discord mobile UI using Vencord's theming capabilities and the ThemeAttributes plugin
[class*="pictureInPicture_"]+[class*="container_"],
[id*="message-reply-context-"]>[class*="botTag_"] {
display: none !important;
}
[class*="replyBar_"]>div:nth-child(1) {
display: grid !important;
}
[id*="message-reply-context-"]>[class*="username_"] {
// ==UserScript==
// @name YouTube - Search Results Cleaner
// @description Hides most of the random, unrelated videos which YouTube injects into search results, but still allows you to access them. This script gathers videos from categories like "People also watched" and "For you" and collapses them into thin boxes on-screen so they won't distract from actual search results. Hover the mouse over these boxes to show their contents.
// @namespace lednerg
// @version 24.1.11.2
// @author lednerg
// @license CC-BY-NC-SA-4.0
// @grant GM_addStyle
// @run-at document-start
// @include http://youtube.com/*
@Katzenwerfer
Katzenwerfer / discord-cleaner.css
Last active April 24, 2024 23:36
Removes elements that annoy me from the Discord UI using Vencord's theming capabilities and the ThemeAttributes plugin
/* ----------------------------- */
/* Hides super reaction elements */
/* ----------------------------- */
[class*=reaction_]:has([aria-label*="super reaction"]),
[class*=burstToggle_] {
display: none;
}
/* ------------------------- */
@Katzenwerfer
Katzenwerfer / SteamCloud.txt
Last active August 1, 2023 20:52
Steam Cloud File Deletion
https://web.archive.org/web/20170605001825/http://forums.steampowered.com:80/forums/showthread.php?t=2470784
HOW TO DELETE FILES STORED IN STEAM CLOUD SERVERS
Context:
I've read many times on this forum topics with concerns about the fact that it's impossible to manage files stored in Steam Cloud servers. This can be very annoying if you want to know exactly what files are in the Cloud or to solve sync problems such as savegame overwriting. Since no good solution was available, I've decided to look at the issue and try to understand how Steam Cloud works.
Presentation of Steam Cloud:
Steam Cloud is used to backup config files and savegames online in order to access them from every computer. It's a feature that can be enabled/disabled through two different dialogs:
- Steam > Settings > Downloads + Cloud > Enable Steam Cloud synchronization for games which support it (will affect all the games)
@Katzenwerfer
Katzenwerfer / Litterbox-Request.ps1
Created April 19, 2023 06:02
Send a request to Litterbox's API using curl.exe
function Litterbox-Request {
param (
[Parameter(
Mandatory,
Position = 0,
ValueFromPipeline = $true,
HelpMessage = "Path to a file or a media URL."
)]
[ValidateNotNullOrEmpty()]
[string]
@Katzenwerfer
Katzenwerfer / Catbox-Request.ps1
Last active February 15, 2023 18:30
Send a request to Catbox's API using curl.exe
function Catbox-Request {
param (
[Parameter(
Mandatory,
Position = 0,
ValueFromPipeline = $true,
HelpMessage = "Path to a file or a media URL."
)]
[ValidateNotNullOrEmpty()]
[string]
@Katzenwerfer
Katzenwerfer / New-Link.ps1
Last active April 25, 2023 14:46
Wrapper for the MKLINK command from the legacy cmd.exe terminal
@Katzenwerfer
Katzenwerfer / Get-Hash.ps1
Last active April 19, 2023 06:01
Wrapper function for the certutil.exe program to compute the hash of a file
function Get-Hash {
[Alias("hash")]
param (
[Parameter(
Mandatory,
Position = 0,
ValueFromPipeline = $true,
HelpMessage = "Path to a file."
)]
[ValidateNotNullOrEmpty()]