Skip to content

Instantly share code, notes, and snippets.

View gorango's full-sized avatar
👋
🌍

Goran gorango

👋
🌍
  • undefined
View GitHub Profile
@gorango
gorango / mousegrid
Last active April 28, 2025 20:49
Mouse control with the keyboard using a grid overlay.
#!/usr/bin/env python3
# linux deps: python-gobject gtk3 picom
# i3/config:
# exec_always --no-startup-id picom -b
# for_window [title="MouseGrid"] floating enable, border none
import gi
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk, Gdk, GLib
import cairo
@gorango
gorango / fly.toml
Last active February 3, 2026 20:54
gitea on fly.io
app = "<name>"
primary_region = "cdg"
kill_timeout = 5
[build]
# NOTE: Rootless avoids a hard port-22 collision that breaks Fly’s own SSH
image = "docker.gitea.com/gitea:1.25-rootless"
[env]