Skip to content

Instantly share code, notes, and snippets.

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

Jaid

🔴
Streaming coding sessions on Twitch!
View GitHub Profile
@Jaid
Jaid / appVersions.yml
Last active November 11, 2023 20:12
Latest app versions
apps:
photoshop: '24.0.1' # https://helpx.adobe.com/photoshop/kb/uptodate.html
illustrator: '27.1' # https://helpx.adobe.com/illustrator/release-notes.html
lightroomClassic: '12.0' # https://helpx.adobe.com/lightroom-classic/help/whats-new.html
acrobatPro: '22.003.20282' # https://www.adobe.com/devnet-docs/acrobatetk/tools/ReleaseNotesDC/index.html#continuous-track-installers
premierePro: '23.1' # https://helpx.adobe.com/premiere-pro/using/whats-new.html
afterEffects: '23.1' # https://helpx.adobe.com/after-effects/release-note/release-notes-after-effects.html
mediaEncoder: '23.1' # https://helpx.adobe.com/media-encoder/using/whats-new.html
audition: '23.1' # https://helpx.adobe.com/audition/using/whats-new.html
bridge: '13.0.1' # https://helpx.adobe.com/bridge/using/whats-new.html
@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 / npm-aliases.bash
Created January 21, 2019 07:27
Aliases for npm, pnpm, Yarn and Lerna. Little abstraction if their own CLI grammar with commands r, i, i-force, dep, dev, global and u.
alias npm-r="npm run"
alias npm-i="npm install"
alias npm-i-force="rm -rf node_modules && rm package-lock.json && npm-i"
alias npm-dep="npm install --save"
alias npm-dev="npm install --save-dev"
alias npm-global="npm install --global"
alias npm-u="npm uninstall"
alias pnpm-r="pnpm run"
alias pnpm-i="pnpm install --child-concurrency=8"
@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 / daemon.json
Last active August 5, 2023 14:38
Sane configuration for Docker daemon on Debian servers (very important, otherwise container logs may flood the root partition over night)
{
"features": {
"buildkit": true
},
"builder": {
"gc": {
"defaultKeepStorage": "4GB",
"enabled": true
}
},
@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
@Jaid
Jaid / .env
Last active June 30, 2023 03:31
.env file template for user home directory, sourced in ~/.bashrc and ~/.zshrc
#!/bin/bash
function add {
regex="[[:space:]]+"
printf 'export %s=' "$1"
if [[ $2 =~ $regex ]]; then
printf %s "'$2'"
else
printf %s "$2"
fi