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 Reddit Post Summarizer with Ollama & Model Dropdown | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.5 | |
| // @description Summarize Reddit posts with Ollama, select model from dropdown | |
| // @match https://www.reddit.com/* | |
| // @grant GM.xmlHttpRequest | |
| // @connect 127.0.0.1 | |
| // @connect 127.0.0.1:11434 | |
| // ==/UserScript== |
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 Remove /?tl=tr from Reddit URLs and reload | |
| // @namespace https://example.com/ | |
| // @version 1.1 | |
| // @description Automatically remove /?tl=tr from Reddit URLs and reload the clean version | |
| // @match *://www.reddit.com/* | |
| // @match *://reddit.com/* | |
| // @run-at document-start | |
| // @grant none | |
| // ==/UserScript== |
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
| import json | |
| from tkinter import filedialog | |
| import shutil | |
| import urllib.parse | |
| import urllib.request | |
| import os | |
| def download(modId, fileId, fn): |
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
| # Put this script on the same folder as .json theme files. | |
| # for example: sdrpp_windows_x64\res\colormaps | |
| # run .py and change themes with arrow keys -> <- | |
| # Dependencies: | |
| # pip install pillow | |
| # pip install pygame | |
| import json, pygame, os |