Skip to content

Instantly share code, notes, and snippets.

View pythoninthegrass's full-sized avatar

pythoninthegrass

View GitHub Profile
@pythoninthegrass
pythoninthegrass / config.toml
Last active June 4, 2026 01:06
herdr config
# herdr configuration
# Place this file at ~/.config/herdr/config.toml
# Show first-run notification setup on startup.
# Missing also shows onboarding; set false after you've chosen.
# onboarding = true
[theme]
# Built-in themes: catppuccin, terminal, tokyo-night, dracula, nord,
# gruvbox, one-dark, solarized, kanagawa, rose-pine,
@pythoninthegrass
pythoninthegrass / config.yml
Created June 1, 2026 22:51
Goodnight Have Fun (gnhf) config
# ~/.gnhf/config.yml
# Agent to use by default (claude, codex, rovodev, opencode, copilot, pi)
agent: pi
# Custom paths to agent binaries (optional)
# Paths may be absolute, bare executable names on PATH,
# ~-prefixed, or relative to this config directory.
# Note: rovodev overrides must point to an acli-compatible binary.
# agentPathOverride:
@pythoninthegrass
pythoninthegrass / tinygpu-setup.md
Last active May 22, 2026 09:05
TinyGPU Setup on macOS for eGPU

TinyGPU Setup on macOS

Prerequisites

  • Python >= 3.11 (tinygrad 0.12.0 requires it)
  • uv (or pip)
  • numpy

1. Clone tinygrad and install it

Fix resilio sync permissions on synology raid pool

  1. Group membership: rslsync wasn't in the users group. Added it by editing /etc/group directly (synogroup and usermod both failed on DSM):

    sudo sed -i 's/^users:x:100:$/users:x:100:rslsync/' /etc/group
    sudo synopkg restart resiliosync
  2. Synology ACLs: The + on directory permissions indicated ACLs were in effect, which overrode the permissive POSIX bits. The ACL only allowed guest and administrators. Added an explicit entry for rslsync:

@pythoninthegrass
pythoninthegrass / .conkyrc
Created February 13, 2026 22:14
crunchbangplusplus ( #!++ ) Conky config
conky.config = {
-- conky configuration
--
-- The list of variables has been removed from this file in favour
-- of keeping the documentation more maintainable.
-- Check http://conky.sf.net for an up-to-date-list.
--
-- For ideas about how to modify conky, please see:
-- http://conky.sourceforge.net/variables.html
--
@pythoninthegrass
pythoninthegrass / .cirrus.star
Created January 26, 2026 05:04
Starlark config for a Tart macOS Sequoia image used as a GitHub Actions Runner
load("cirrus", "env")
# GitHub Actions Runner configuration
RUNNER_VERSION = "2.331.0"
RUNNER_HASH = "6f56ce368b09041f83c5ded4d0fb83b08d9a28e22300a2ce5cb1ed64e67ea47c"
RUNNER_ARCH = "osx-arm64"
REPO_URL = env.get("REPO_URL", "https://github.com/pythoninthegrass/mt")
def main():
@pythoninthegrass
pythoninthegrass / com.user.headroom.proxy.plist
Created January 14, 2026 21:13
Headroom proxy server launchagent to reduce LLM context size
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.user.headroom.proxy</string>
<key>ProgramArguments</key>
<array>
<string>/Users/lance/.local/bin/headroom</string>
<string>proxy</string>
@pythoninthegrass
pythoninthegrass / com.user.mole.nightly.plist
Created January 14, 2026 21:11
Mole launchagent for nightly macOS cleanup
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.user.mole.nightly</string>
<key>ProgramArguments</key>
<array>
<string>/opt/homebrew/bin/mo</string>
<string>clean</string>
@pythoninthegrass
pythoninthegrass / config.txt
Created November 6, 2025 19:36
Working PiFire DSI config
# For more options and information see
# http://rptl.io/configtxt
# Some settings may impact device functionality. See link above for details
# Uncomment some or all of these to enable the optional hardware interfaces
dtparam=i2c_arm=on # Modified by PiFire Board Configuration Utility
#dtparam=i2s=on
dtparam=spi=on # Modified by PiFire Board Configuration Utility
# Enable audio (loads snd_bcm2835)
@pythoninthegrass
pythoninthegrass / marimo.toml
Created October 28, 2025 19:01
Marimo config
[experimental]
[completion]
copilot = "github"
activate_on_typing = true
[save]
autosave_delay = 3000
format_on_save = false
autosave = "after_delay"