Skip to content

Instantly share code, notes, and snippets.

@Jaid
Jaid / android_16.png
Last active March 9, 2024 17:35
Windows Terminal Settings
android_16.png
@Jaid
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: https://www.procustodibus.com/blog/2021/03/wireguard-allowedips-calculator
# The DNS resolution is routed through VPN, thus more secure and authentic
# Allowed IPs: 0.0.0.0/0, ::/0
# Disallowed IPs: 10.0.0.0/8, fd00::/8
[Peer]
AllowedIPs = 0.0.0.0/5,8.0.0.0/7,11.0.0.0/8,12.0.0.0/6,16.0.0.0/4,32.0.0.0/3,64.0.0.0/2,128.0.0.0/1,::/1,8000::/2,c000::/3,e000::/4,f000::/5,f800::/6,fc00::/8,fe00::/7
@Jaid
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"
LOCALENAME "de-CH"
LOCALEID "00000807"
@Jaid
Jaid / bashScript.json
Last active December 19, 2023 04:35
VSCode tasks.json snippets
{}
@Jaid
Jaid / schedulers.lines
Created October 15, 2023 13:29
List of scheduler IDs in InvokeAI 3.3.0
ddim
ddpm
deis
dpmpp_2m
dpmpp_2m_k
dpmpp_2m_sde
dpmpp_2m_sde_k
dpmpp_2s
dpmpp_2s_k
dpmpp_sde
@Jaid
Jaid / readme.md
Last active September 19, 2023 09:53
webpack-config-jaid example outputs

webpack-config-jaid example outputs

Development

Command

DEBUG=webpack-config-jaid DEBUG_DEPTH=7 npm run build:dev
@Jaid
Jaid / template.ts
Last active September 14, 2023 00:15
TypeScript CLI entry point template
import type {ArgumentsCamelCase, Argv, CommandBuilder} from 'yargs'
import yargs from 'yargs'
import {hideBin} from 'yargs/helpers'
// Don’t fully understand this, taken from here: https://github.com/zwade/hypatia/blob/a4f2f5785c146b4cb4ebff44da609a6500c53887/backend/src/start.ts#L47
export type Args = (typeof builder) extends CommandBuilder<any, infer U> ? ArgumentsCamelCase<U> : never
const handler = async (args: Args) => {
}
@Jaid
Jaid / readme.md
Last active September 13, 2023 17:55
Banned and canceled 𝕏 (Twitter) bots
@Jaid
Jaid / readme.md
Last active August 5, 2023 18:03
Coqui TTS command line help

Retrieved with:

MSYS_NO_PATHCONV=1 docker run --rm --entrypoint /bin/bash ghcr.io/coqui-ai/tts -o errexit -o xtrace -c 'tts --help; python3 /root/TTS/server/server.py --help; python3 /root/TTS/bin/train_tts.py --help'
@Jaid
Jaid / models.txt
Last active August 4, 2023 10:29
Coqui models
Name format: type/language/dataset/model
1: tts_models/multilingual/multi-dataset/your_tts
2: tts_models/multilingual/multi-dataset/bark
3: tts_models/bg/cv/vits
4: tts_models/cs/cv/vits
5: tts_models/da/cv/vits
6: tts_models/et/cv/vits
7: tts_models/ga/cv/vits
8: tts_models/en/ek1/tacotron2
9: tts_models/en/ljspeech/tacotron2-DDC