Skip to content

Instantly share code, notes, and snippets.

View GabrielVidal1's full-sized avatar

Gabriel Vidal GabrielVidal1

View GitHub Profile
@GabrielVidal1
GabrielVidal1 / README.md
Last active October 13, 2024 21:13 — forked from aronson/README.md
Cogmind Wineskin for Apple Silicon

Downloading and Running Cogmind on macOS

Cogmind can be run as a self-contained app on macOS with the modern version of Wineskin Server.

If you are interested in only the performance mods skip to here.

Downloading Cogmind windows file from MacOs

The macos Steam app will prevent you from installing the windows version of the game, so you have to do it programatically.

@GabrielVidal1
GabrielVidal1 / setCorrectDate.sh
Created October 12, 2022 08:22
Set correct date to glanceback downloaded pictures
#!/bin/bash
find . -name '*.png' -type f -exec sh -c '
for file do
touch -t $(echo "${file%.*}0900" | sed -E "s/-//g" | cut -c3-) ${file}
done' sh {} +
import os.path
import modules.scripts as scripts
import gradio as gr
from modules import sd_samplers, shared
from modules.processing import Processed, process_images
class Script(scripts.Script):
# Vars
ROOT=/workspace
SD_DIR=sd
MODEL_DIR=$ROOT/$SD_DIR/models/Stable-diffusion
VENV=env
GRADIO_AUTH=user:password123
SD_REPO=https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
# Install packages
apt update