mcmonkey4eva’s gists

{
"sdxlofficial/anime": {
"author": "local",
"title": "sdxlofficial/anime",
"description": "SDXL Official \"Anime\" Style",
"preview_image": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgKCgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/2wBDAQMDAwQDBAgEBAgQCwkLEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBD/wAARCAEAAQADAREAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAI

This is a bare minimum 10-minute slap together. It doesn't work well and I don't intend to maintain it, it's just posted for if you want to look at it or reference it for a slap-together of your own.

I absolutely did not do things properly when making this.

grid:
title: Dynamic Threshold
author: mcmonkey
description: Testing of the Dynamic Thresholding (CFG Scale Fix) extension
format: jpg
params:
dynamicthresholdenable: true
axes:
prompt:
title: prompt
{
"__metadata__": {
"format": "pt"
},
"alphas_cumprod": {
"dtype": "F32",
"shape": [
1000
],
"data_offsets": [

lexica.art scraper

  • 1: open https://lexica.art/
  • 2: open browser console
  • 3: paste in the JavaScript, hit enter
  • 4: expand the output and copy it to a text file
  • 5: optionally, repeat with multiple sets of pages
  • 6: Save the .cs and .csproj files together in a folder, open the .csproj in Visual Studio
  • 7: Edit the run(... inputs to your file paths
  • 8: Run it
// Toss this into browser console after loading all guild data locally. It's a mess, yaehp.
var out = "";
Array.prototype.forEach.call(document.getElementsByClassName('leaderboardPlayersList')[0].children[0].children, function(elem) {
console.log("try " + elem.textContent);
var userData = elem.children[0].children[0];
var statData = elem.children[0].children[1];
var avatarData = userData.children[1].children[0].src;
var nameData = userData.children[2].textContent.replaceAll('`', '_');
var xpData = statData.children[1].children[1].textContent;