Skip to content

Instantly share code, notes, and snippets.

View Jaid's full-sized avatar
Streaming coding sessions on Twitch!


Streaming coding sessions on Twitch!
View GitHub Profile
Jaid /
Last active July 9, 2024 06:00
bmaltais/kohya_ss preset commands

SDXL - LoRA AI_characters standard v1.1

accelerate launch --num_cpu_threads_per_process=2 "./" --enable_bucket --min_bucket_reso=256 --max_bucket_reso=2048 --pretrained_model_name_or_path="stabilityai/stable-diffusion-xl-base-1.0" --train_data_dir="D:/git/.fork/kohya-gradio/img" --resolution="1024,1024" --output_dir="D:/git/.fork/kohya-gradio/out" --logging_dir="D:/git/.fork/kohya-gradio/out/log" --network_alpha="32" --training_comment="3 repeats. More info:" --save_model_as=safetensors --network_module=networks.lora --text_encoder_lr=3e-05 --unet_lr=3e-05 --network_dim=32 --output_name="last" --lr_scheduler_num_cycles="50" --no_half_vae --learning_rate="3e-05" --lr_scheduler="constant" --train_batch_size="3" --max_train_steps="67" --save_every_n_epochs="1" --mixed_precision="fp16" --save_precision="fp16" --caption_extension=".t
Jaid /
Last active June 21, 2024 06:14
groups_merged.txt files (for GGUF imatrix quantization)
Jaid /
Last active June 20, 2024 00:15
Current best open-source AI models
"format_version": "1.2",
"target_page": "",
"headers": [
"url_contains": "",
"action": "delete",
"header_name": "referer",
"header_value": "-",
"comment": "4CHAN",
Jaid / oxipngHelp.txt
Created April 12, 2024 14:52
oxipng help
Losslessly improve compression of PNG files
Usage: oxipng.exe [OPTIONS] <files>...
File(s) to compress (use '-' for stdin)
-o, --opt <level>
Jaid / cjxlHelp.txt
Created April 11, 2024 20:58
cjxl help
JPEG XL encoder v0.10.0 89ca2201 [AVX2,SSE4,SSE2]
Usage: D:\git\.foreign\autobuildSuite\local64\bin-global\cjxl.exe INPUT OUTPUT [OPTIONS...]
the input can be PNG, APNG, GIF, JPEG, PPM, PFM, PAM, PGX, or JXL
the compressed JXL output file
Basic options:
-d DISTANCE, --distance=DISTANCE
Target visual distance in JND units, lower = higher quality.
Jaid / fdHelp.txt
Created March 21, 2024 05:00
`fd --help`
A program to find entries in your filesystem
Usage: fd.exe [OPTIONS] [pattern] [path]...
the search pattern which is either a regular expression (default) or a glob pattern (if
--glob is used). If no pattern has been specified, every entry is considered a match. If
your pattern starts with a dash (-), make sure to pass '--' first, or it will be
considered as a flag (fd -- '-foo').
Jaid / android_16.png
Last active March 9, 2024 17:35
Windows Terminal Settings
Jaid / wireguardClientCustomAuthenticDNS.conf.ini
Last active February 25, 2024 20:47
AllowedIPs setting for excluding destinations in the local network from being routed through Wireguard
# Based on this tool:
# The DNS resolution is routed through VPN, thus more secure and authentic
# Allowed IPs:, ::/0
# Disallowed IPs:, fd00::/8
AllowedIPs =,,,,,,,,::/1,8000::/2,c000::/3,e000::/4,f000::/5,f800::/6,fc00::/8,fe00::/7
Jaid / de-ch.klc
Last active February 5, 2024 14:25
Windows default KLC files (exported from Microsoft Keyboard Layout Creator 1.4)
KBD Layout01 "Swiss German - Custom"
COPYRIGHT "(c) 2024 Company"
COMPANY "Company"
LOCALEID "00000807"