Skip to content

Instantly share code, notes, and snippets.

View kernkraft235's full-sized avatar

kernkraft kernkraft235

View GitHub Profile
@kernkraft235
kernkraft235 / BaselineTest.txt
Created October 2, 2025 15:16 — forked from JuneKelly/BaselineTest.txt
Full text of the Baseline Test from Blade Runner 2049
A blood black nothingness began to spin.
Began to spin.
Let's move on to system.
System.
Feel that in your body.
/*
By kenharris from TypingMind Discord.
TypingMind Extension: Model Search & Full Model Names
Model Search Functionality: The model selector now includes a search
bar at the top. You can easily search and filter models by typing in
their names
## Download SD's models, loras, textual inversions to Runpod's machine
# Checkpoints
cd /workspace/stable-diffusion-webui/models/Stable-diffusion
wget -O AbsoluteReality.safetensors https://civitai.com/api/download/models/132760?type=Model&format=SafeTensor&size=pruned&fp=fp16
wget -O RealisticVision-v51.safetensors https://civitai.com/api/download/models/130072?type=Model&format=SafeTensor&size=full&fp=fp16
wget -O CyberRealistic.safetensors https://civitai.com/api/download/models/114429?type=Model&format=SafeTensor&size=pruned&fp=fp32
wget -O EpicRealism.safetensors https://civitai.com/api/download/models/127742?type=Model&format=SafeTensor&size=pruned&fp=fp16
wget -O MajicMIX.safetensors https://civitai.com/api/download/models/94640?type=Model&format=SafeTensor&size=pruned&fp=fp16
wget -O URPM.safetensors https://civitai.com/api/download/models/15640?type=Model&format=SafeTensor&size=full&fp=fp16
@kernkraft235
kernkraft235 / opnsense-i226-nic-tunables.md
Last active October 8, 2024 14:03 — forked from jorisvervuurt/opnsense-i226-nic-tunables.txt
OPNsense - Intel i226 NIC tunables
@kernkraft235
kernkraft235 / EmulateTyping.ahk
Created August 16, 2024 04:14 — forked from JamoCA/EmulateTyping.ahk
AutoHotKey Script to emulate typing. Use CTRL+SHIFT+V to paste clipboard character-by-character as if typing.
^+v:: ; paste text and emulate typing (CTRL+SHIFT+V)
AutoTrim,On
string = %clipboard%
Gosub,ONLYTYPINGCHARS
StringSplit, charArray, string
Loop %charArray0%
{
this_char := charArray%a_index%
Send {Text}%this_char%
Random, typeSlow, 1, 3
@kernkraft235
kernkraft235 / macos-shitty-bootstrap.sh
Last active March 19, 2024 15:37 — forked from saetia/gist:1623487
Clean Install – Sonoma (edited from an El Capitan)
#!/usr/bin/env zsh
### OS X Preferences
# Enable character repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false
# Set a shorter Delay until key repeat
defaults write NSGlobalDomain InitialKeyRepeat -int 12
# Set a blazingly fast keyboard repeat rate
@kernkraft235
kernkraft235 / README
Created March 7, 2024 16:12 — forked from jmatsushita/README
Setup nix, nix-darwin and home-manager from scratch on an M1 Macbook Pro
###
### [2023-06-19] UPDATE: Just tried to use my instructions again on a fresh install and it failed in a number of places.
###. Not sure if I'll update this gist (though I realise it seems to still have some traffic), but here's a list of
###. things to watch out for:
### - Check out the `nix-darwin` instructions, as they have changed.
### - There's a home manager gotcha https://github.com/nix-community/home-manager/issues/4026
###
# I found some good resources but they seem to do a bit too much (maybe from a time when there were more bugs).
# So here's a minimal Gist which worked for me as an install on a new M1 Pro.

App Install Plan

Critical

#!/usr/bin/env zsh
#
# Disable the “Are you sure you want to open this application?” dialog
defaults write com.apple.LaunchServices LSQuarantine -bool false
# Disable Resume system-wide
defaults write NSGlobalDomain NSQuitAlwaysKeepWindows -bool false

Drag Dashboard Widgets onto the Desktop

defaults write com.apple.dashboard devmode YES

Disable Auto-window-restore annoying feature

This is actually a pain in the as since has to be done for each application.