Skip to content

Instantly share code, notes, and snippets.

@syrm
syrm / Jezail-Cornix---Ergol---Layer-2-Purple.kbd.json
Created April 25, 2026 17:52
Jezail Cornix - Ergol - Layer 2 Purple
[
{
"backcolor": "#1a1a1f",
"name": "Jezail Cornix - Ergol - Layer 2 Purple",
"author": "srm"
},
[
{
"x": 3,
"c": "#4c5567",
@syrm
syrm / Jezail-Cornix---Ergol---Layer-1-Green.kbd.json
Last active April 26, 2026 13:29
Jezail Cornix - Ergol - Layer 1 Green
[
{
"backcolor": "#1a1a1f",
"name": "Jezail Cornix - Ergol - Layer 1 Green",
"author": "srm"
},
[
{
"x": 3,
"c": "#4c5567",
@syrm
syrm / Jezail-Cornix---Ergol---Layer-0.kbd.json
Last active April 30, 2026 08:15
Jezail Cornix - Ergol - Layer 0
[
{
"backcolor": "#1a1a1f",
"name": "Jezail Cornix - Ergol - Layer 0",
"author": "srm"
},
[
{
"x": 3,
"c": "#4c5567",
@syrm
syrm / starship-jj.toml
Created September 3, 2025 07:15
JJ prompt for Starship
# .config/starship-jj/starship-jj.toml
# cargo install starship-jj --locked
module_separator = " "
reset_color = true
[bookmarks]
search_depth = 100
exclude = []
@syrm
syrm / .gitconfig
Last active April 27, 2026 09:08
Proton Pass Git with PAT
[credential]
helper = !~/src/git-proton-pass-credential.sh 'pass://Personal/Github/pat'
@syrm
syrm / stream-ffmpeg.sh
Created April 29, 2025 14:56
stream-ffmpeg.sh
# Résolution et FPS
RESOLUTION="2560x1440"
FPS="30"
# Entrée vidéo (par exemple, votre webcam)
WEBCAM_SOURCE="/dev/video0"
WEBCAM_VIDEO_WIDTH=1920
WEBCAM_VIDEO_HEIGHT=1080
WEBCAM_WIDTH="548"
WEBCAM_HEIGHT="308"
name: raft
services:
debug:
image: debian:latest
command: ["sleep", "36000000"]
networks:
- raft-network
node1:
name: deploy
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches:
- 'main'
@syrm
syrm / 1.zig-http-ok-readme.txt
Last active August 29, 2024 14:00
zig http ok
zig build-exe main.zig -O ReleaseSmall
ls -lh
total 56K
-rw-r--r-- 1 srm srm 221 Aug 29 13:21 Dockerfile
-rwxr-xr-x 1 srm srm 17K Aug 29 15:58 main
-rw-r--r-- 1 srm srm 28K Aug 29 15:58 main.o
-rw-r--r-- 1 srm srm 665 Aug 29 15:39 main.zig
ldd main
@syrm
syrm / basic.lua
Created June 14, 2024 08:41
sound linux setup
-- .config/m2i/basic.lua
-- https://gitlab.com/enetheru/midi2input
--[[ global settings ]]--
-- autoconnect: can be true, false, or a named jack port. default = true
autoconnect = true
Knob_1 = 11.0
Knob_2 = 12.0
Knob_3 = 13.0