This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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== |