Skip to content

Instantly share code, notes, and snippets.

@kebien6020
kebien6020 / sankaku-ads.user.js
Last active August 23, 2024 03:07
Sankaku ads
// ==UserScript==
// @name Sankaku ads
// @namespace http://tampermonkey.net/
// @version 0.16
// @description Auto close sankaku ads
// @author Baku
// @match https://beta.sankakucomplex.com/*
// @match https://www.sankakucomplex.com/*
// @match https://sankaku.app/*
// @updateURL https://gist.github.com/kebien6020/6e709478155f41901a2f2bd7197f78bd/raw/sankaku-ads.user.js
@0xdevalias
0xdevalias / _deobfuscating-unminifying-obfuscated-web-app-code.md
Last active November 2, 2025 05:46
Some notes and tools for reverse engineering / deobfuscating / unminifying obfuscated web app code
@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)

/*
* Global Media Controls Panel
* Written by Tam710562
*/
(() => {
'use strict';
const gnoh = {
i18n: {
@agyild
agyild / FSR.glsl
Last active October 3, 2025 00:23
AMD FidelityFX Super Resolution v1.0.2 for mpv
// Copyright (c) 2021 Advanced Micro Devices, Inc. All rights reserved.
//
// 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
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
@agyild
agyild / CAS-scaled.glsl
Last active September 30, 2025 16:48
AMD FidelityFX Contrast Adaptive Sharpening v1.0.2 for mpv
// LICENSE
// =======
// Copyright (c) 2017-2019 Advanced Micro Devices, Inc. All rights reserved.
// -------
// 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 furnished to do so, subject to the following conditions:
// -------
// The above copyright notice and this permission notice shall be included in all copies or substantial portions of the
@jix
jix / resolve_tco_links.user.js
Last active July 16, 2024 02:01
User script to resolve t.co links on twitter
@bitingsock
bitingsock / ytdl-preload.lua
Last active September 26, 2025 14:13
Precache the next entry in your playlist if it is a network source by downloading it to a temp file ahead of time. Change Line 20 to temp directory. It will delete the directory on exit.
----------------------
-- #example ytdl_preload.conf
-- # make sure lines do not have trailing whitespace
-- # ytdl_opt has no sanity check and should be formatted exactly how it would appear in yt-dlp CLI, they are split into a key/value pair on whitespace
-- # at least on Windows, do not escape '\' in temp, just us a single one for each divider
-- #temp=R:\ytdltest
-- #ytdl_opt1=-r 50k
-- #ytdl_opt2=-N 5
-- #ytdl_opt#=etc
@TheDrHax
TheDrHax / autosave.lua
Last active September 17, 2025 13:46 — forked from Hakkin/autosave.lua
MPV script that periodically saves "watch later" data during playback
-- autosave.lua
--
-- Periodically saves "watch later" data during playback, rather than only saving on quit.
-- This lets you easily recover your position in the case of an ungraceful shutdown of mpv (crash, power failure, etc.).
--
-- You can configure the save period by creating a "lua-settings" directory inside your mpv configuration directory.
-- Inside the "lua-settings" directory, create a file named "autosave.conf".
-- The save period can be set like so:
--
-- save_period=60
@ntasos
ntasos / kdialog-open-files.lua
Last active June 7, 2025 06:14
KDialog-open-files, a lua script for mpv media player that uses KDE KDialog to open files, subtitles or URLs.
-- This is free and unencumbered software released into the public domain.
-- The software is provided "as is", without warranty of any kind.
-- Anyone is free to copy, modify, publish, use, compile, sell, or
-- distribute this software, either in source code form or as a compiled
-- binary, for any purpose, commercial or non-commercial, and by any means.
-- For more information, please refer to <http://unlicense.org/>
--
-- Use KDE KDialog to add files to playlist, subtitles to playing video or open URLs.
-- Based on 'mpv-open-file-dialog' <https://github.com/rossy/mpv-open-file-dialog>.
--