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
| javascript:(function() { | |
| let selection = window.getSelection(); | |
| if (selection.toString()) { | |
| const spongebobText = selection.toString() | |
| .split('') | |
| .map((char, index) => index % 2 === 0 ? char.toLowerCase() : char.toUpperCase()) | |
| .join(''); | |
| document.execCommand('insertText', false, spongebobText); | |
| } else { |
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/env bash | |
| set -e #Exit on any error | |
| # Ensure required directories exist for models used by Comfy | |
| mkdir -p "./models/checkpoints" | |
| mkdir -p "./models/clip" | |
| mkdir -p "./models/vae" | |
| mkdir -p "./models/loras" | |
| mkdir -p "./models/controlnet" | |
| mkdir -p "./models/upscale_models" |
OlderNewer