Skip to content

Instantly share code, notes, and snippets.

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

Satsuki Akiba anosatsuk124

💜
ℒℴνℯ
View GitHub Profile
@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
}
qemu-img resize -f raw /Users/natevw/Library/Containers/com.utmapp.UTM/Data/Documents/My\ macOS\ VM.utm/Data/disk0.img +30G
# Horrible example of how to interface with a C++ engine ... ;-)
{.link: "/usr/lib/libIrrlicht.so".}
{.emit: """
using namespace irr;
using namespace core;
using namespace scene;
using namespace video;
using namespace io;
#!/usr/bin/env bash
filename="$(basename "$1")"
temp="$(mktemp -d)/$filename"
pandoc -i "$1" -o "$temp".1.html
cat "$temp".1.html | perl -pe 's/<\/?ruby>//g' | perl -pe 's/<\/?rb>//g' | perl -pe 's/<rt>.*<\/rt>//g' | perl -pe 's/<svg.+$//g' > "$temp".2.html
pandoc "$temp".2.html --pdf-engine=lualatex -V documentclass=bxjsarticle -V classoption=pandoc -V pagestyle=empty -o "$filename".pdf