Skip to content

Instantly share code, notes, and snippets.

@Chooks22
Chooks22 / kemono-party-cache.user.js
Last active August 26, 2022 14:25
Cache Creators for Kemono.Party
// ==UserScript==
// @name Cache Creators for Kemono.Party
// @namespace https://kemono.party/
// @version 1.0.4
// @description Intercept API call to cache creator data and speed up search index load times.
// @updateURL https://gist.githubusercontent.com/Choooks22/714d98e8125990a41f17ea58055e60d2/raw
// @downloadURL https://gist.githubusercontent.com/Choooks22/714d98e8125990a41f17ea58055e60d2/raw
// @author Chooks22 <[email protected]> (https://github.com/Choooks22)
// @match https://kemono.party/artists
// @icon https://kemono.party/favicon.ico
@Chooks22
Chooks22 / koikatsu-linux-howto.md
Last active December 30, 2024 03:44
How To Run Koikatsu in Linux using Bottles

How To Run Koikatsu in Linux using Bottles

Installing Bottles

Bottles is a Graphical Frontend for managing your Wine Applications.

Basically it's an app that allows you to click buttons to play games instead of typing random commands you don't understand that you copy-pasted from the internet into your terminal.

For Ubuntu-based distros (apt install)

@Chooks22
Chooks22 / kemono-party-downloader.user.js
Last active April 1, 2025 18:31
Bulk Downloader for Kemono.Party
// ==UserScript==
// @name Kemono Toolkit
// @namespace http://kemono.su/
// @version 5.0.2-beta
// @author Chooks22 <[email protected]> (https://github.com/Choooks22)
// @description Adds features and QoL improvements to kemono.su.
// @icon https://www.google.com/s2/favicons?sz=64&domain=kemono.su
// @downloadURL https://gist.githubusercontent.com/Chooks22/6f28904bebe7f7cdc0a2a2b4cf6a6df1/raw
// @updateURL https://gist.githubusercontent.com/Chooks22/6f28904bebe7f7cdc0a2a2b4cf6a6df1/raw
// @match https://kemono.su/*
@Chooks22
Chooks22 / 0_index.ts
Last active March 3, 2024 18:53
TypeScript Pascal Case to Screaming Snake Case
type PascalToScreamingSnake<T extends string, TInit = true, TMulti = false> = T extends `${infer Head}${infer Rest}`
? `${
TInit extends true
? Uppercase<Head>
: Head extends Uppercase<Head>
? TMulti extends false
? `_${Head}`
: Rest extends `${infer Next}${string}`
? Next extends Uppercase<Next>
? Head