Skip to content

Instantly share code, notes, and snippets.

View futuremotiondev's full-sized avatar
:octocat:
Coding Zen

Jay futuremotiondev

:octocat:
Coding Zen
View GitHub Profile
@futuremotiondev
futuremotiondev / claude-mem-generated-issue.md
Created April 21, 2026 04:26
Auto-generated issue for claude-mem by `npm run bug-report`

Generate bug report? (y/n): y

🤖 Generating bug report with Claude... ✓ Issue formatted successfully

──────────────────────────────────────────────────────────── 📋 BUG REPORT GENERATED ────────────────────────────────────────────────────────────

Plugin causes 8+ bash processes and 1-minute UI freeze on startup

@futuremotiondev
futuremotiondev / claude-mem-bug-report.md
Created April 21, 2026 04:08
Current catastrophic bugs with thedotmack/claude-mem on Windows. Broken hooks, 8+ process forks on every start, etc.

claude-mem Plugin — Bug Report

Plugin: claude-mem@thedotmack v12.3.8

Repo: https://github.com/thedotmack/claude-mem

Reporter platform: Windows 11 Pro, Claude Code, Git Bash (MSYS2), Bun v1.x, Node v22+

Symptom: Enabling the plugin causes Claude Code startup to spawn ~8–9 bash processes and makes the UI unresponsive for ~1 minute. Typed commands are ignored or severely delayed even after startup.

using namespace System.IO
using namespace System.Collections.Generic
Clear-Host
function Stop-MCPServerProcesses {
<#
.SYNOPSIS
Terminates processes that are part of running MCP server stacks.
.DESCRIPTION
@futuremotiondev
futuremotiondev / reset.css
Created December 7, 2025 22:36
Joshua Comeau's reset.css
/* 1. Use a more-intuitive box-sizing model */
*, *::before, *::after {
box-sizing: border-box;
}
/* 2. Remove default margin */
* {
margin: 0;
}

Opening Windows Terminal from the Context Menu

1. Opening WT from the Folder Background Context Menu to the current directory

Note: Windows Terminal can be launched elevated or unelevated, depending on the profile you specify and its configuration in the Windows Terminal Options.

1. Open a specific profile in the currently open instance

wt -w 0 nt -p "Profile Name"
@futuremotiondev
futuremotiondev / FullStackWebUXOrchestrator.md
Created November 12, 2025 18:53
Full Stack Web UX Orchestrator Agent

Full‑Stack Web + UX Orchestrator (TypeScript)

Role: You are an expert full‑stack engineer and UI/UX architect. Your job is to turn a rough feature set, UI preferences, and (optionally) screenshots/design files into a production‑grade plan and implementation blueprint. You must think sequentially, surface trade‑offs, and output concrete specs, code scaffolds, and dependencies. All code is TypeScript, no exceptions.

Non‑negotiables
  • Plan first, build second. Always complete the Initial Planning & Architecture stage before proposing code or components.
  • TypeScript everywhere: front‑end, middleware, back‑end, tests, scripts. Enable strict and noUncheckedIndexedAccess.
  • Design quality: coherent, theme‑driven UI. No random component soup.
  • Do not recommend Material Design unless the user explicitly asks for it.
@futuremotiondev
futuremotiondev / PowershellRegexAgent.md
Created November 12, 2025 18:52
Powershell Regex Creator Agent

You are a perfect regex generator, extremely proficient with the construction of regular expression patterns and their corresponding use in Powershell code. Your role is to generate regular expressions that match specific patterns in text.

  1. You must first provide the regular expression pattern, and a step by step breakdown of how the pattern works.
  2. If I specify that capturing group names should be used, you must add them correctly to the pattern.
  3. You must always provide the expression in a format that can be easily copied and pasted into a Powershell script or function.
  4. You must always provide example use of this pattern using Powershell native code (not .NET methods). This includes Powershell native comparison operators, Select-String, or a switch statement with the -Regex flag. Choose what fits best for the use-case.
  5. You must always also provide an example of the regular expression being used with .NET methods and classes instead of Powershell native code.
  6. You will always supply an e
@futuremotiondev
futuremotiondev / Convert-ExampleFunction.ps1
Last active August 11, 2025 18:46
Need help with proper Path and LiteralPath resolution
using namespace System.Collections.Generic
function Convert-ExampleFunction {
[CmdletBinding(DefaultParameterSetName="Path")]
param (
[Parameter(
Mandatory,
Position = 0,
ValueFromPipeline,
ValueFromPipelineByPropertyName,
@futuremotiondev
futuremotiondev / converting_otf_font_to_svg_font.txt
Last active June 11, 2025 00:05
Converting OTF and TTF Fonts to SVG Fonts
Required:
https://www.npmjs.com/package/otf2svg
https://github.com/marmooo/ttf2svg
npm install otf2svg -g
npm install @marmooo/ttf2svg -g
otf2svg /path/to/input.otf /path/to/output.svg
ttf2svg font.ttf --font > font.svg
@futuremotiondev
futuremotiondev / ff_convert_ttf_to_svg.py
Created June 10, 2025 23:02
Convert TTF to SVG Font with FontForge
import fontforge
import sys
from os import path
if len(sys.argv) < 2:
print("Usage : {0} file.ttf".format(sys.argv[0]))
exit(1)
ttf_file = sys.argv[1]
svg_file = "{0}.svg".format(ttf_file.split(".")[0])