Skip to content

Instantly share code, notes, and snippets.

View jmeyer1980's full-sized avatar

Bellok jmeyer1980

View GitHub Profile
@jmeyer1980
jmeyer1980 / README.md
Last active February 25, 2026 00:42
python-imports-reporter

Imports Reporter

imports_reporter.py is a general-purpose Python dependency audit tool.

You can point it at any Python project to:

  • list imported top-level modules,
  • compare imports against a requirements.txt (including nested -r includes),
  • highlight likely missing/unused dependencies,
  • output in json, text, or csv.
@jmeyer1980
jmeyer1980 / remove_duplicate_lines.py
Created February 20, 2026 12:20
Remove duplicate lines from a file while preserving order.
#!/usr/bin/env python3
"""
remove_duplicate_lines.py — remove duplicate lines from a file while preserving order.
Usage:
python remove_duplicate_lines.py input.txt output.txt
python remove_duplicate_lines.py --in-place input.txt
"""
import argparse
from pathlib import Path

Story Testing for MetVanDamn

This directory contains story-testing tools based on Tiny Walnut Games' mental model adherence philosophy.

Philosophy

Story testing validates that the implementation matches the claimed mental model. It's not just about code coverage—it's about ensuring the project delivers on its architectural promises.

Running Story Tests

@jmeyer1980
jmeyer1980 / README.md
Last active October 11, 2025 21:43
Deprecated-WSL2 + Solo/Team LLM Local Serve bootstrapping

Local LLM Ritual — Four-Scroll Doctrine

⚠️ Deprecated Notice: As of 2025-10-11 This gist has evolved and now lives at a new home. Please visit the updated repository here: jmeyer1980/vLLM-Bootstrap for the latest version and improvements.

doctrine-version: 2025.10.11

License: MIT Status: Production Ready Testing: Pending

// @Description: Example ECS System Stub with Mental Model + Compile-Blocker
// @SystemType: ECS
// @Role: System
// @ScribedBy: <YourNameOrTeam>
// @ScribeDate: <YYYY-MM-DD>
// @Version: 0.1.0
// @License: <YourLicense>
// @File: <Path/To/SystemFile.cs>
using Unity.Burst;
#nullable enable
using System;
using System.Collections.Generic;
using System.IO;
using UnityEditor;
using UnityEditor.Callbacks;
using UnityEngine;
namespace Editor
{
@jmeyer1980
jmeyer1980 / Living Developer Log.md
Last active August 1, 2025 16:30
LivingDevLog (LDL) A Development Log Template for shared teams and AI-Enhanced Workflow (includes example use case)

The Living Development Log (TLDL or just LDL) Template

Original Author: @Bellok, aka Jerry Meyer, of Tiny Walnut Games

Purpose

This document serves as a source of truth for your project, designed to streamline your workflow when integrated with an AI agent in your IDE. By maintaining a centralized, structured log, you can ensure continuity, clarity, and efficiency in your development process, even when dealing with frequent context resets or complex debugging scenarios.

Compatible with: Unity 2020.3+, .NET Framework 4.7.1+, Modern C# syntax

@jmeyer1980
jmeyer1980 / CSVtoJSONConverter.cs
Last active June 11, 2025 15:27
CSV to JSON Conversion Window and Helper
#if UNITY_EDITOR
using System.Collections.Generic;
using System.IO;
using UnityEngine;
using Newtonsoft.Json;
namespace TinyWalnutGames.Tools
{
/// <summary>
/// Converts a CSV file to a JSON string.
@jmeyer1980
jmeyer1980 / SpriteRendererToImageComponentConverter.cs
Created June 8, 2025 16:50
[Tool] Sprite Renderer Component to Image Component Conversion with Undo support. Useful for quickly converting a game object that has a sprite render component into an image component instead for UI purposes.
#if UNITY_EDITOR
using UnityEditor;
using UnityEngine;
using UnityEngine.UI;
/// <summary>
/// Editor utility for converting a SpriteRenderer component to a UI Image component on the same GameObject.
/// </summary>
/// <remarks>
/// <para>
@jmeyer1980
jmeyer1980 / BatchSpriteSlicer.cs
Created June 4, 2025 19:48
[Tool] Batch Sprite Sheet Slicer for Unity
// This script is intended to be used in the Unity Editor only, stored in an Editor folder to ensure it is not included in builds.
#if UNITY_EDITOR
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEditor;
using UnityEditor.U2D.Sprites; // this script requires com.unity.2d.sprite package be imported to work.
/// <summary>
/// Batch Sprite Slicer