Skip to content

Instantly share code, notes, and snippets.

View shinmai's full-sized avatar
😫
coping admirably

Aapo Saaristo shinmai

😫
coping admirably
View GitHub Profile
@shinmai
shinmai / BeMoreSneaky.plugin.js
Last active April 23, 2024 01:43
BetterDiscord addon/plug-in to try and keep from accidentally pinging people
/**
* @name Be More Sneaky
* @description STOP PINGING YOUR FRIENDS!
* @version 0.0.2
* @author shi
* @authorId 142594671078539264
* @website https://shinmai.wtf/
* @source https://gist.github.com/shinmai/4d07a79f4f9ede6659efd470b7662bec/raw/BeMoreSneaky.plugin.js
*/
@shinmai
shinmai / DontBeABother.plugin.js
Last active April 16, 2024 11:33
BetterDiscord addon/plug-in to help trying to keep from being a nuissance
/**
* @name Don't Be A Bother!
* @description Try to be less cringey on Discord
* @version 0.0.2
* @author shi
* @authorId 142594671078539264
* @website https://shinmai.wtf/
* @source https://gist.github.com/shinmai/78df3b2237345d8b273eca671e2135bb/raw/DontBeABother.plugin.js
* @updateUrl https://gist.github.com/shinmai/78df3b2237345d8b273eca671e2135bb/raw/DontBeABother.plugin.js
*/
@shinmai
shinmai / wipe-it-on-a-sock.user.js
Last active April 14, 2024 11:57
Replace Pateron dot com cumstain with an actual logo 🤯
// ==UserScript==
// @name replace cumstain with a logo
// @namespace wtf.shinmai.userscripts
// @version 0.0.4
// @description Replace the Patron dot com cumstain with an actual logotype, for fun
// @author @shinmai - shinmai.wtf
// @match https://www.patreon.com/*
// @icon https://i.imgur.com/jmpscwv.png
// @updateURL https://gist.github.com/shinmai/fbb442875139033f690716044b3814b4/raw/wipe-it-on-a-sock.user.js
// @downloadURL https://gist.github.com/shinmai/fbb442875139033f690716044b3814b4/raw/wipe-it-on-a-sock.user.js
@shinmai
shinmai / LHF-autoplay.user.js
Last active January 8, 2024 21:00
Low Hanging Fruit: the Soundgasm Gaylewdst Userscript
// ==UserScript==
// @name Low Hanging Fruit: the Soundgasm Gaylewdst Userscript (autoplay)
// @namespace rip.aapo.userscript
// @version 0.0.2
// @description sometimes you need more than one 🤔 (it hacks a simple playist into Soundgasm)
// @author @shinmai - shinmai.wtf
// @match https://soundgasm.net/u/*/*
// @updateURL https://gist.github.com/shinmai/487d2de059d8b4ae0b90cfab21e0d75e/raw/LHF-autoplay.user.js
// @downloadURL https://gist.github.com/shinmai/487d2de059d8b4ae0b90cfab21e0d75e/raw/LHF-autoplay.user.js
// @grant none
@shinmai
shinmai / sndgsm.user.js
Last active December 5, 2023 18:33
soundgasm page reTITler
// ==UserScript==
// @name soundgasm page reTITler
// @namespace rip.aapo.userscript
// @version 0.0.2
// @description change soundgasm audio pages' title to show uploader username and audio title
// @author @shinmai - shinmai.wtf
// @match https://soundgasm.net/u/*/*
// @grant none
// @updateURL https://gist.github.com/shinmai/dab42de2e205b897f9548bd0e01ff9e1/raw/sndgsm.user.js
// @downloadURL https://gist.github.com/shinmai/dab42de2e205b897f9548bd0e01ff9e1/raw/sndgsm.user.js
@shinmai
shinmai / chronotoot.user.js
Last active October 20, 2023 11:22
Mastodon absolute timestamps
// ==UserScript==
// @name Mastodon absolute timestamps
// @namespace rip.aapo.userscripts
// @version 0.1
// @description show absolute time on posts on Mastodon
// @author @shinmai - https://shinmai.wtf
// @match https://tech.lgbt/*
// @grant none
// @updateURL https://gist.github.com/shinmai/4e57cbb5f1c251f3bbe54adf5ed89481/raw/chronotoot.user.js
// @downloadURL https://gist.github.com/shinmai/4e57cbb5f1c251f3bbe54adf5ed89481/raw/chronotoot.user.js
@shinmai
shinmai / _nullcon-HackIM-CTF-Goa-2023-writeups.md
Last active August 20, 2023 08:26
nullcon HackIM CTF Goa 2023 writeups
@shinmai
shinmai / README.md
Created August 2, 2023 09:29
Setting up a WebAmp player with custom skin on GitHub Pages

Step 1 - Gathering the files

You'll need the following:

  • an HTML page to place the player into
  • music files to play (e.g. MP3 files with IDv3 tags for artist & track name)
  • a .wsz WinAmp skin file (the WinAmp Skin Museum has a ton)

Step 2 - the code

Assuming your html file is hosted at the address https://domain.tld/webamp/, your skin file is named skin.wsz, and your music files are named track01.mp3 and track02.mp3 and all are in the same folder as the HTML file, and the HTML element on your page you want the player centered on has the id main, the code to spawn a WebAmp player with the skin applied and the two tracks in the playlist is:

@shinmai
shinmai / shaddap-algorithm.user.js
Last active June 7, 2023 11:49
Hide "Discover More" tweets
// ==UserScript==
// @name Hide "Discover More" tweets
// @namespace rip.aapo.userscripts
// @version 0.0.2
// @description install a mutation listener on Twitter pages that looks for added nodes, and removes any tweets that are below a "Discover more" heading
// @author @shinmai - https://shinmai.wtf
// @match https://twitter.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=twitter.com
// @grant none
// @updateURL https://gist.github.com/shinmai/6f56595a6f116bca91368ea31da6f384/raw/shaddap-algorithm.user.js