Skip to content

Instantly share code, notes, and snippets.

@S1M0N38
S1M0N38 / strategy.schema.json
Created December 26, 2025 14:41
BalatroLLM strategy schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "BalatroLLM Strategy Manifest",
"description": "Schema for strategy manifest.json files in BalatroLLM",
"type": "object",
"required": ["name", "description", "author", "version", "tags"],
"additionalProperties": false,
"properties": {
"name": {
"type": "string",
@S1M0N38
S1M0N38 / fixtures.schema.json
Last active December 11, 2025 16:06
Fixtures Schema for BalatroBot and BalatroLLM
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "BalatroBot and BalatroLLM Test Fixtures Schema",
"type": "object",
"properties": {
"$schema": {"type": "string"}
},
"additionalProperties": {
"type": "object",
"additionalProperties": {
@S1M0N38
S1M0N38 / life.c
Created August 6, 2025 17:44
Simple Game of Life
#include <stdio.h>
#include <unistd.h>
#define COLS 25
#define ROWS 25
#define ALIVE 1
#define DEAD 0
void printgrid(char *grid) {
printf("\033[H\033[2J");
@S1M0N38
S1M0N38 / balatro.sh
Created July 23, 2025 09:30
Start Balatro with Mods in backgroud with MacOS
#!/bin/bash
# Check if running on macOS
if [[ "$OSTYPE" != "darwin"* ]]; then
echo "Error: This script is only supported on macOS" >&2
exit 1
fi
# Cleanup function for signal handling
cleanup() {
@S1M0N38
S1M0N38 / wezterm.lua
Created May 5, 2025 13:36
Fuzzy projects / Workspaces
local wezterm = require("wezterm")
local config = wezterm.config_builder()
local action = wezterm.action
--------------------------------------------------------------------------------
-- Workspaces
--------------------------------------------------------------------------------
local function project_dirs()
local projects = { wezterm.home_dir }
"""
title: Install Deps
author: S1M0N38
date: 2024-09-29
version: 1.0
license: MIT
description: A dummy pipeline just to install deps
requirements: llama-index
"""
@S1M0N38
S1M0N38 / downlaod-alacritty-themes.sh
Created September 21, 2024 20:56
Alacritty themes
# Tokionight
curl -L -o $XDG_CONFIG_HOME/alacritty/themes/tokyonight.toml https://raw.githubusercontent.com/folke/tokyonight.nvim/refs/heads/main/extras/alacritty/tokyonight_moon.toml
curl -L -o $XDG_CONFIG_HOME/alacritty/themes/tokyonight-moon.toml https://raw.githubusercontent.com/folke/tokyonight.nvim/refs/heads/main/extras/alacritty/tokyonight_moon.toml
curl -L -o $XDG_CONFIG_HOME/alacritty/themes/tokyonight-day.toml https://raw.githubusercontent.com/folke/tokyonight.nvim/refs/heads/main/extras/alacritty/tokyonight_day.toml
curl -L -o $XDG_CONFIG_HOME/alacritty/themes/tokyonight-night.toml https://raw.githubusercontent.com/folke/tokyonight.nvim/refs/heads/main/extras/alacritty/tokyonight_night.toml
curl -L -o $XDG_CONFIG_HOME/alacritty/themes/tokyonight-storm.toml https://raw.githubusercontent.com/folke/tokyonight.nvim/refs/heads/main/extras/alacritty/tokyonight_storm.toml
# Catppuccin
curl -L -o $XDG_CONFIG_HOME/alacritty/themes/catppuccin-frappe.toml https://raw.githubusercontent.com/catppuccin/alacrit
@S1M0N38
S1M0N38 / molten-issues-232-setup.sh
Created September 6, 2024 06:40
Molten issues 232 setup script
#!/bin/bash
NVIM_APPNAME=test-nvim
XDG_DATA_HOME="$HOME/.local/share"
echo "--------------------------------------------------------------------------------"
echo "0. Remove file from previous tests"
rm -rf ~/.config/$NVIM_APPNAME
rm -rf ~/.local/share/$NVIM_APPNAME
@S1M0N38
S1M0N38 / install-lua-luarocks-on-macos.sh
Last active November 10, 2025 12:21 — forked from zirkuswurstikus/lua_build_macos.sh
A simple script to install Lua and Luarocks from source in a custom dir
#!/bin/bash
# This scripts installs Lua, LuaRocks, and some Lua libraries on macOS.
# The main purpose is to install Busted for testing Neovim plugins.
# After the installation, you will be able to run test using busted:
# busted --lua nlua spec/mytest_spec.lua
################################################################################
# Dependencies
################################################################################

Slash Commands

The following are some notes taken while testing and intercepting requests from the Zed Assistant Panel (Zed version 0.150.4) to their server hosting Claude 3.5 Sonnet model.