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
| #!/usr/bin/python | |
| # encoding: utf-8 | |
| # https://github.com/AUTOMATIC1111/stable-diffusion-webui shows a hash next to models | |
| # the way those hashes is calculated was changed in the commit a95f135 (2022-01-14) | |
| # this script shows both the old and new hashes for any checkpoint (ckpt or safetensors) | |
| # just run | |
| # > python show_hash.py path/to/your model | |
| # or drop the checkpoint on show_hash.py if your system supports drag and drop on python scripts |
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
| #!/usr/bin/python | |
| # encoding: utf-8 | |
| # - this script reads the prompt of images generated with https://github.com/AUTOMATIC1111/stable-diffusion-webui | |
| # > 1. drag the image to the icon of the script | |
| # > 2. its prompt will be copied to the clipboard | |
| # - only works on Windows, tested on Windows 10 | |
| # - should work both with Python 2 and Python 3, as long as PIL is installed | |
| # - files with non-latin1 characters (like emojis) in its filename will fail in Python 2 |
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 Load /mlp/ flags on Desuarchive | |
| // @namespace https://desuarchive.org/mlp/thread/ | |
| // @description Add flags to the posts when viewing an archived thread on Desuarchive | |
| // @version 1.0 | |
| // @author Anonymous | |
| // @icon https://s.4cdn.org/image/flags/mlp/anf.gif | |
| // @match https://desuarchive.org/mlp/thread/* | |
| // @run-at document-end | |
| // @grant GM_addStyle |
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
| /* Thread Reanimater | |
| * ================= | |
| * | |
| * Make a dead thread look like it's still alive. | |
| * | |
| * | |
| * How to use | |
| * ========== | |
| * | |
| * If you want to use a board other than /mlp/ or an archive other than Desu, |
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 Better flags on /mlp/ | |
| // @namespace https://boards.4channel.org/mlp/ | |
| // @description Improved flag selector for /mlp/ (requires 4chan X) | |
| // @version 1.1 | |
| // @author Anonymous | |
| // @icon https://s.4cdn.org/image/flags/mlp/anf.gif | |
| // @downloadURL https://gist.github.com/nnuudev/6c4376687572f8627e1e10c5a5323497/raw/Better%2520flags.user.js | |
| // @match https://boards.4channel.org/mlp/* | |
| // @run-at document-start |
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
| # Pastebin downloader 0.1.2 | |
| # - Open a PowerShell window (press the Windows key, write powershell, press enter) | |
| # - Navigate to the folder you want to download the pastes to | |
| # - Copy all the contents from this file and paste them to the window (right click) | |
| # - Use any of the functions here: | |
| # + DownloadPaste expects a valid paste url, it will download a single paste: | |
| # > DownloadPaste https://pastebin.com/xxx | |
| # + DownloadUser expects a valid user url, it will download all the pastes: | |
| # > DownloadUser https://pastebin.com/u/xxx | |
| # + Pastebin can be used as a replacement for both the previous functions, |