Skip to content

Instantly share code, notes, and snippets.

@papuSpartan
papuSpartan / 0001-patch-in-callbacks-for-SAG-to-dev.patch
Created May 4, 2023 01:24
SAG patch for auto1111(dev) 335428c2c8139dfe07ba096a6defa75036660244
From cef07987cc6e1776d3c3d88691ce94c8fc2c3a0c Mon Sep 17 00:00:00 2001
From: papuSpartan <30642826+papuSpartan@users.noreply.github.com>
Date: Wed, 3 May 2023 20:06:27 -0500
Subject: [PATCH] patch in callbacks for SAG to dev
---
modules/script_callbacks.py | 31 ++++++++++++++++++++++++++++++-
modules/sd_samplers_kdiffusion.py | 9 ++++++++-
2 files changed, 38 insertions(+), 2 deletions(-)
@papuSpartan
papuSpartan / distributed.patch
Last active March 6, 2023 22:04
patch for stable-diffusion-webui-distributed compatibility
diff --git a/modules/script_callbacks.py b/modules/script_callbacks.py
index 4bb45ec..22640d3 100644
--- a/modules/script_callbacks.py
+++ b/modules/script_callbacks.py
@@ -74,6 +74,8 @@ callback_map = dict(
callbacks_infotext_pasted=[],
callbacks_script_unloaded=[],
callbacks_before_ui=[],
+ callbacks_before_image_processed=[],
+ callbacks_after_image_processed=[]
@papuSpartan
papuSpartan / sdwui_ext_pretty.json
Created November 13, 2022 19:33
Prettified SDWUI Extensions Index with addition
{
"about": "This file is used by Web UI to show the index of available extensions. It's in JSON format and is not meant to be viewed by users directly. If you edit the file you must ensure that it's still a valid JSON.",
"tags": {
"script": "a general extension that adds functionality",
"localization": "a localization extension that translates web ui into another language",
"tab": "adds a tab",
"ads": "contains ads"
},
"extensions": [
{
@papuSpartan
papuSpartan / README.md
Last active November 10, 2022 00:41 — forked from Saturate/README.md
Generate Workshop Items from Steam Workshop Collection

Generate Workshop Items from Steam Workshop Collection

This snippet will generate a list suited for the Project Zomboid config from a Steam Workshop Collection, but can also be used for other formats. Just change the separator variable in order to suit your needs.

How to use:

  1. Navigate to your collection (eg. https://steamcommunity.com/sharedfiles/filedetails/?id=2871262277)
  2. Copy the code in console.js
  3. Open the devtools for your browser (F12)
  4. Paste and run the code
  5. Copy the output
  6. Paste the config line into your config.
@papuSpartan
papuSpartan / crashlog.txt
Created May 13, 2021 20:00
fabric crashlog
actions.js:2652 [14:58:18] [main/INFO]: Loading for game Minecraft 1.16.5
actions.js:2652 [14:58:18] [main/INFO]: [FabricLoader] Loading 48 mods: fabric-networking-blockentity-v0@0.2.8+ca58154a7d, fabric-screen-handler-api-v1@1.1.5+9354966b7d, minecraft@1.16.5, fabric-renderer-api-v1@0.4.2+2868a2287d, fabric-keybindings-v0@0.2.1+ca58154a7d, fabric-command-api-v1@1.1.1+351679a77d, fabricloader@0.11.3, fabric-screen-api-v1@1.0.0+c045166c7d, fabric-tool-attribute-api-v1@1.2.7+8183d3957d, fabric-renderer-indigo@0.4.4+ca58154a7d, fabric-structure-api-v1@1.1.4+ca58154a7d, fabric-containers-v0@0.1.11+9354966b7d, fabric-dimensions-v1@2.0.6+61336ba97d, fabric-object-builder-api-v1@1.9.5+c88702897d, java@8, fabric-crash-report-info-v1@0.1.3+ca58154a7d, fabric-events-interaction-v0@0.4.2+ca58154a7d, fabric-item-api-v1@1.2.1+ca58154a7d, wthit@2.9.1, fabric-game-rule-api-v1@1.0.6+ca58154a7d, fabric-entity-events-v1@1.1.0+c88702897d, fabric-api-base@0.3.0+c88702897d, fabric-rendering-v0@1.1.2+ca58154a7d, fabric-key-bindi