Skip to content

Instantly share code, notes, and snippets.

View Slyyxp's full-sized avatar
👻

... Slyyxp

👻
  • Scotland
  • 04:29 (UTC +01:00)
  • X @slyyxp
View GitHub Profile
@Slyyxp
Slyyxp / HideUploadBot.js
Created January 5, 2023 14:26
HideUploadBot
// ==UserScript==
// @name Hide Upload Bot in Unread Forum Posts
// @namespace http://tampermonkey.net/
// @version 0.1
// @author jpopsuki
// @match *://*jpopsuki.eu/forums.php*
// @icon https://www.google.com/s2/favicons?sz=64&domain=jpopsuki.eu
// @grant none
// ==/UserScript==
@Slyyxp
Slyyxp / CleanUnreadPosts.js
Created January 5, 2023 14:07
CleanUnreadPosts
// ==UserScript==
// @name CleanUnreadPosts
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Delete Upload Bot messages in unread posts
// @author Slyyxp
// @match https://jpopsuki.eu/forums.php?action=viewunread
// @match http://jpopsuki.eu/forums.php?action=viewunread
// @icon https://www.google.com/s2/favicons?sz=64&domain=jpopsuki.eu
// @grant none
@Slyyxp
Slyyxp / reqbot.js
Last active June 10, 2024 08:53
Autofill request template.
// ==UserScript==
// @name Reqbot Userscript
// @namespace http://tampermonkey.net/
// @version 0.2
// @description Autofill reqbot template on requests.php
// @author Slyyxp
// @match https://jpopsuki.eu/forums.php?action=new&forumid=28
// @icon https://www.google.com/s2/favicons?sz=64&domain=jpopsuki.eu
// @grant none
// ==/UserScript==
@Slyyxp
Slyyxp / melon_client.py
Created June 20, 2022 03:57
Melon.co.kr client
import requests
# epoints
# https://play.melon.com/cds/delivery/android/streaming_path.json
class Client:
def __init__(self):
self.session = requests.Session()
self.session.headers.update({
"User-Agent": "Mozilla/5.0 (Linux; Android 5.1.1; SM-G973N Build/PPR1.190810.011; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/74.0.3729.136 Mobile Safari/537.36",
@Slyyxp
Slyyxp / git-prompt.sh
Last active March 2, 2022 08:21
Personal PS1 git-prompt.sh
if test -f /etc/profile.d/git-sdk.sh
then
TITLEPREFIX=SDK-${MSYSTEM#MINGW}
else
TITLEPREFIX=$MSYSTEM
fi
if test -f ~/.config/git/git-prompt.sh
then
. ~/.config/git/git-prompt.sh