Skip to content

Instantly share code, notes, and snippets.

@oki
oki / gist:de005b58ce7abea049eb24f54bb185a0
Last active October 16, 2026 06:12
Signing GitHub commits with GPG

Signing GitHub commits with GPG

Setup (macOS + GPG)

1. Get your key ID (if you don't have a key yet, create one with gpg --full-generate-key)

gpg --list-secret-keys --keyid-format=long
# sec ed25519/3AA5C34371567BD2  <- this is the ID
schema: spec-driven
context: |
Stack: Ruby on Rails
Environment: Docker Compose — all commands via: docker compose run --rm web <command>
Never run Ruby/Rails commands directly on host system.
Git workflow:
- Branch naming: feat/<change-name> or fix/<change-name>
- Conventional commits in English: feat:, fix:, chore:, refactor:, docs:
Analyze this repository and generate openspec/project.md.
Include:
- architecture overview
- main modules and responsibilities
- tech stack
- key flows (request → processing → response)
- important constraints
Be concise and accurate. If unsure, say "unknown".
# /Users/oki/.config/tmuxinator/tb.yml
name: tb
root: ~/dev/work/tachobus
# Optional tmux socket
# socket_name: foo
# Note that the pre and post options have been deprecated and will be replaced by
# project hooks.
[font]
# normal = { family = "Monaco", style = "Regular" }
# normal = { family = "Monooki", style = "Regular" }
# normal = { family = "JetBrains Mono", style = "Regular" }
# normal = { family = "CommitMono Nerd Font Propo", style = "Regular" }
# normal = { family = "CommitMono Nerd Font Mono", style = "Regular" }
normal = { family = "CommitMono Nerd Font", style = "Regular" }
size = 14
# unbind C-b
# set -g prefix C-a
set -g default-terminal "tmux-256color"
set -ag terminal-overrides ",xterm-256color:RGB"
unbind r
bind r source-file ~/.tmux.conf
# set -g prefix C-s
#!/bin/bash
#
# This file echoes a bunch of 24-bit color codes
# to the terminal to demonstrate its functionality.
# The foreground escape sequence is ^[38;2;<r>;<g>;<b>m
# The background escape sequence is ^[48;2;<r>;<g>;<b>m
# <r> <g> <b> range from 0 to 255 inclusive.
# The escape sequence ^[0m returns output to default
setBackgroundColor()
Data for: https://wiki.teltonika-gps.com/view/FMC920_Teltonika_Data_Sending_Parameters_ID
239 => "ignition",
240 => "movement",
80 => "data_mode",
21 => "gsm_signal",
200 => "sleep_mode",
69 => "gnss_status",
181 => "gnss_pdop",
182 => "gnss_hdop",
66 => "external_voltage",
work|⇒ git clone git@github.com:legal-telematics/frontend.git
Cloning into 'frontend'...
remote: Enumerating objects: 79, done.
remote: Counting objects: 100% (79/79), done.
remote: Compressing objects: 100% (53/53), done.
remote: Total 79 (delta 18), reused 70 (delta 12), pack-reused 0 (from 0)
Receiving objects: 100% (79/79), 135.46 KiB | 700.00 KiB/s, done.
Resolving deltas: 100% (18/18), done.
work|⇒ cd frontend
frontend|master ⇒ ls
import = [ "~/.config/alacritty/themes/themes/campbell.toml" ]
[font]
# normal = { family = "Monaco", style = "Regular" }
# normal = { family = "Monooki", style = "Regular" }
# normal = { family = "JetBrains Mono", style = "Regular" }
# normal = { family = "CommitMono Nerd Font Propo", style = "Regular" }
# normal = { family = "CommitMono Nerd Font Mono", style = "Regular" }
normal = { family = "CommitMono Nerd Font", style = "Regular" }