Skip to content

Instantly share code, notes, and snippets.

View krmcbride's full-sized avatar

Kevin McBride krmcbride

View GitHub Profile
@chardskarth
chardskarth / cursor_blaze.glsl
Created June 28, 2025 13:42
Awesome cursor animation shaders in Ghostty
float ease(float x) {
return pow(1.0 - x, 10.0);
}
float sdBox(in vec2 p, in vec2 xy, in vec2 b)
{
vec2 d = abs(p - xy) - b;
return length(max(d, 0.0)) + min(max(d.x, d.y), 0.0);
}
@KartikTalwar
KartikTalwar / Documentation.md
Last active September 10, 2025 11:02
Rsync over SSH - (40MB/s over 1GB NICs)

The fastest remote directory rsync over ssh archival I can muster (40MB/s over 1gb NICs)

This creates an archive that does the following:

rsync (Everyone seems to like -z, but it is much slower for me)

  • a: archive mode - rescursive, preserves owner, preserves permissions, preserves modification times, preserves group, copies symlinks as symlinks, preserves device files.
  • H: preserves hard-links
  • A: preserves ACLs