Skip to content

Instantly share code, notes, and snippets.

// ==UserScript==
// @name SparxMaths Questions Download
// @namespace https://maths.sparx-learning.com/
// @version 2025-03-26
// @description Download every questions into screenshots.
// @author Minsu Kim <[email protected]>
// @match https://www.sparxmaths.uk/student/*
// @match https://maths.sparx-learning.com/student/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=maths.sparx-learning.com
// @grant none
@kms0219kms
kms0219kms / converter.py
Created February 12, 2025 12:29
Image converter to WEBP using Python + Pillow
from os import listdir, makedirs
from os.path import exists, dirname, realpath, splitext, join
from PIL import Image
__dirname: str = dirname(realpath(__file__))
if not exists(join(__dirname, "image-input")):
print('Please create a folder named "image-input" and put your images in it.')
exit()
@kms0219kms
kms0219kms / yt-loudness.user.js
Created February 26, 2024 12:15 — forked from fa7ad/yt-loudness.user.js
Disable youtube volume normalization (allow true video 100% volume)
// ==UserScript==
// @name YouTube Disable Normalization
// @namespace https://gist.github.com/fa7ad/fa995474f5cb9fe91fb209686881373d
// @version 0.2
// @description Allows true 100% volume on youtube videos.
// @author Wouter Gerarts
// @match https://www.youtube.com/*
// @match https://youtube.com/*
// @grant none
// ==/UserScript==
🌞 Morning 95 commits β–ˆβ–ˆβ–Žβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 10.9%
πŸŒ† Daytime 215 commits β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 24.7%
πŸŒƒ Evening 477 commits β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 54.9%
πŸŒ™ Night 82 commits β–ˆβ–‰β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 9.4%