Skip to content

Instantly share code, notes, and snippets.

View anosatsuk124's full-sized avatar
💜
ℒℴνℯ

Satsuki Akiba anosatsuk124

💜
ℒℴνℯ
View GitHub Profile
-- CC: Tweaked type definitions for Teal
-- Reference: https://tweaked.cc/
-- Enums
global enum Side
"left"
"right"
"top"
"bottom"
@anosatsuk124
anosatsuk124 / README.md
Created February 11, 2026 00:43
Key/Zip Automation (for CFC)

Key/Zip Automation

Scripts to generate name.key from keys.h (matching name.zip -> //name) and add/update both name.key and dl-1425.bin in each target zip.

  • Bash script: make_keys_and_update_zips.sh
  • PowerShell script: make_keys_and_update_zips.ps1

Required Files

Place these in the same folder:

@anosatsuk124
anosatsuk124 / 00-functional-claude.xml
Last active August 1, 2025 01:07
Functional Claude for React/TS
<title>Strict Functional TypeScript/React Coding Standards</title>
<overview>
Based on CUPID (Composable, Unix philosophy, Predictable, Idiomatic, Domain-based) principles, express all logic as pure functions, control side effects explicitly, and maintain a type-safe, immutable codebase.
</overview>
<cupid>
<principle name="Composable">
Divide every piece of logic into pure functions and combine them only via compose or pipe patterns, enforcing single responsibility and explicit side-effect control.
</principle>
<principle name="Unix philosophy">
Ensure each module or file implements exactly one responsibility, executing side effects only at well-defined entry points.
#/bin/sh
monolith -q -c -i -v -a "$1" | pandoc -f html -t gfm
[Unit]
Description=iPad Sunshine Service for configuration: %i
[Service]
Type=simple
ExecStart=/bin/sh -c '/usr/bin/sunshine output_name=%i'
@anosatsuk124
anosatsuk124 / README.md
Last active August 11, 2024 15:01
Sonic Pi config

Configurations

~/.sonic-pi/config
├── audio-settings.toml
├── colour-theme.properties
├── gui-settings.ini
├── init.rb
└── README.md
set -g automatic-rename on
set -g window-status-format '#I:#{?#{m:#W,zsh},#(basename #{pane_current_path}),#W}#F'
set -g window-status-current-format '#I:#{?#{m:#W,zsh},#(basename #{pane_current_path}),#W}#F'
b_< /ɓ;両唇入破音/
d` /ɖ;有声そり舌破裂音/
d_< /ɗ;歯茎入破音/
g_< /ɠ;軟口蓋入破音/
h\ /ɦ;有声声門摩擦音/
j\ /ʝ;有声硬口蓋摩擦音/
l` /ɭ;そり舌側面接近音/
l\ /ɺ;歯茎側面はじき音/
n` /ɳ;そり舌鼻音/
p\ /ɸ;無声両唇摩擦音/
DOCKER_DEFAULT_PLATFORM=linux/amd64 docker build -t <tag> -f <Dockerfile> <context>
{
"trailingComma": "es5",
"tabWidth": 4,
"semi": true,
"singleQuote": true
}