Skip to content

Instantly share code, notes, and snippets.

@tildebyte
tildebyte / GitHub PR template.md
Last active December 10, 2025 16:29
WIP template for GitHub PRs. IMO *the absolute bare minimum required*. If you can't handle this, take up knitting.
  1. Everything below this line is ! REQUIRED !, except the "If applicable" section.

  2. Please remove the texts beginning with > NOTE:, and replace them with your response.

  • Put an x in this box to acknowledge that you've read the above

Summary / Description

NOTE: Your summary/description here

Fira Code liga & calt test w/ various configs

Also useful for testing other fonts, but config is up to the reader.

Latin Pangram: Waltz, Bad Nymph, For Quick Jigs Vex

Similarity test

ce, gq, mn, yz, DO, TI, 0O, 1iIlL, 2Z, 4A, 5S, 7TZ, 8B, @ :; ,. "'`
@tildebyte
tildebyte / README.md
Last active October 26, 2025 22:20
Hack custom applications into LOGITECH LGHUB config so that they *actually work*. Also fix apps which aren't being correctly discovered on your system.

The magic happens in 'C:\Program Files\LGHUB\data\applications.json'

The important thing to note is the per-entry "detection" object, which is a list of detection methods, e.g.

Key:

  • c = character
  • d = digit
  • "/ppp/ppp" = path
  • {uuu} = UUID
@tildebyte
tildebyte / Laplace's Rule of Succession.md
Last active August 23, 2025 02:27
Laplace's Rule of Succession or: How to Quickly and Easily Evaluate Star Reviews

Laplace's Rule of Succession or: How to Quickly and Easily Evaluate Star Reviews

e.g. Amazon, EBay, etc.

If you’ve observed 8 ravens and they’ve all been black, how certain should you be the next raven you see will also be black?

According to the Rule of Succession, 90%.

In general, the probability is

@tildebyte
tildebyte / Don’t shop here.md
Created December 3, 2024 18:54
Don’t shop here

Don’t shop here

These are companies/owners/CEOs/major shareholders which

  • Made large donations to the Republican Party/Trump/Project 2025 PACs
  • Did NOT make any donations to the Democratic Party/progressive causes

(FYI, many companies "cover thier bets" by donating equally to both parties)

Source https://youtu.be/vz6lHO4ezy8

@tildebyte
tildebyte / lunar.py
Created November 22, 2024 23:26
lunar phase calc
# Output the current moon phase as an emoji for your prompt.
import juliandate as jd
from datetime import datetime
def calc_phase(year: int, month: int, day: int) -> int:
fixed_date = 694039.09 # NON-JULIAN days since 1900-01-01 🤷
days_per_cal_month = 30.436875
Julian_Y2K = 2451544.5 # Julian 2000-01-01T1200
@tildebyte
tildebyte / inference.ipynb
Last active May 6, 2023 01:33
Running inference against DeepFloyd's IF on RunPod
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tildebyte
tildebyte / Klipper vs Prusa Slicer.md
Last active June 27, 2024 09:14
Klipper vs. Prusa Slicer tips and info

Klipper vs. Prusa Slicer tips and info

Jank scraped and collated from the Klipper Discord

[printer]
kinematics: cartesian
max_velocity: 250
max_accel: 1800
max_accel_to_decel:1800
@tildebyte
tildebyte / GShade.ini
Created January 3, 2023 21:01
GShade ini for GW2
[ADDON]
[email protected]
[DEPTH]
DepthCopyBeforeClears=0
UseAspectRatioHeuristics=0
[GENERAL]
EffectFrameDelay=500
EffectSearchPaths=C:\Guild Wars 2\addons\reshade\gshade-shaders\Shaders,C:\Guild Wars 2\addons\reshade\gshade-shaders\ComputeShaders
@tildebyte
tildebyte / enable-long-paths-in-windows-11-10.md
Created November 1, 2022 22:34
Enable long paths in Windows 11, 10

Make Windows accept File Paths over 260 characters Enable Win32 Long Paths through Regedit

To enable Win32 long paths through Regedit-

Open Regedit
Paste the path for the file system folder
Find the LongPathsEnabled DWORD file and double click on it
Change to value from 0 to 1 and click OK