Skip to content

Instantly share code, notes, and snippets.

@s-mage
s-mage / wezterm-foreman.lua
Last active August 2, 2026 12:42
emulate foreman in wezterm. Not very successfully. TODO: try again when https://github.com/wezterm/wezterm/issues/1970 is solved
-- Helper function to parse Procfile lines
local function parse_procfile(dir)
local commands = {}
local file_path = dir .. '/Procfile.dev'
local f = io.open(file_path, 'r')
if f then
for line in f:lines() do
if line ~= '' and not line:match('^%s*#') then
local name, cmd = line:match('^%s*([%w%-_]+)%s*:%s*(.+)$')
@s-mage
s-mage / coding-conventions.mdc
Created September 10, 2026 08:52
coding-conventions.md from cursor
---
description: Coding conventions and style preferences
alwaysApply: true
---
# Coding Conventions
## Rails
- Prefer Rails conventions (named routes, resourceful controllers, callbacks, etc.)
@s-mage
s-mage / gogh.yaml
Created September 13, 2026 10:23
Gogh preferences — https://gogh.website
schema_version: 1
gogh:
name: Gogh
website: https://gogh.website
repository: https://github.com/Gogh-Co/Gogh
metadata:
created_at: 2026-09-13T10:23:26.704Z
updated_at: 2026-09-13T10:23:26.704Z
favorites: []