Skip to content

Instantly share code, notes, and snippets.

@raspberrypisig
raspberrypisig / mojo.yaml
Created March 4, 2026 06:24
micro editor mojo
filetype: mojo
detect:
filename: "\\.mojo$"
header: "^#!.*/(env +)?mojo$"
rules:
# 1. Variable Declarations & Modifiers
# Mojo specific: var, let, alias, comptime, raises, capturing
- preproc: "\\b(var|let|alias|comptime|raises|capturing)\\b"
filetype: zc
detect:
filename: "\\.zc$"
rules:
# === KEYWORDS (statement color - usually purple/magenta) ===
# All Zen C keywords from the official language reference
- statement: "\\b(alias|async|await|break|catch|comptime|const|continue|def|defer|else|embed|enum|fn|for|goto|guard|if|impl|import|launch|let|loop|match|module|opaque|ref|return|sizeof|static|struct|test|trait|try|union|unless|use|volatile|while|and|or)\\b"
@raspberrypisig
raspberrypisig / ffmpeg.md
Last active February 27, 2026 00:23
ffmpeg screen recording

In windows cmd, to change title

title boo
ffmpeg -list_devices true -f dshow -i dummy

GL-C-616WL

GL-C-009WL

@raspberrypisig
raspberrypisig / PROMPT.txt
Last active January 14, 2026 07:04
kicad 9 mcp
1. if moo doesn't already exist,
Create a new KiCAD project named moo in C:\Users\mohan\Documents\melbpc\kicad\helloworld
otherwise
Delete the project called moo
then do step 1 again.
Under powershell, the command is: Remove-Item -Path moo.kicad_pro, moo.kicad_sch, moo.kicad_pcb, moo.kicad_prl -Force
2. List all symbol libaries available
3. List all footprints available
4. Find the following symbols: