Skip to content

Instantly share code, notes, and snippets.

@S1M0N38
S1M0N38 / morningstreams.py
Created August 23, 2022 10:19
Expose acestreams from morningstream in you local network
#!/usr/bin/env python3
"""
This content is not affiliated with, endorsed, sponsored, or specifically
approved by Morningstreams.
This is the simple script from where
https://github.com/S1M0N38/morningstreams originates.
MIT License

EVENTS.md — pi-ask Event System

Design

pi-ask emits events on pi.events at ask-flow boundaries. Other extensions listen with plain pi.events.on() — no imports from pi-ask needed.

Two events:

Channel Payload When
@S1M0N38
S1M0N38 / install-lua-luarocks-on-macos.sh
Last active March 23, 2026 07:31 — 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
################################################################################
@S1M0N38
S1M0N38 / example.yaml
Created February 24, 2026 23:13
Example config for BalatroBench Twitch Stream
################################################################################
# GAME PARAMETERS
################################################################################
seed:
- AAAAAAA
deck:
- RED
@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 / openvpn.md
Last active November 7, 2025 10:59
Configuring Nord VPN using openvpn

Installations and downloads

Update the system and install openvpn and unzip

sudo apt update && sudo apt upgrade
sudo apt install openvpn
sudo apt install unzip

Now reboot the raspberry (this fix TUN/TAP error).

sudo reboot
@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 }