Skip to content

Instantly share code, notes, and snippets.

View eonist's full-sized avatar
🎯
Focusing

André J eonist

🎯
Focusing
View GitHub Profile
@eonist
eonist / ts-prune-workflow.md
Created October 24, 2025 21:14
ts-prune-workflow.md

AI Coder Checklist: ts-prune Safe Removal

For Each Flagged Export

  1. Grep the codebase for the export name (check for dynamic imports, string refs, config files)[1][2]
  2. Only remove the export keyword - never delete the actual code (⚠️️ DO NOT REMOVE ANY CODE, ONLY export word. EXTREMLY IMPORTANT ⚠️️)
  3. If unsure, skip it and move to the next one

Process

@eonist
eonist / Git worktrees.md
Created October 20, 2025 19:43
Git worktrees

Git worktrees and Git branches are related but fundamentally different in how they let you interact with your code. Both are part of Git, but they solve different workflow challenges.[2][5]

What Are Branches?

Branches are Git's way of diverging from the main line of development to work on different features or fixes. In standard Git branching, you work in a single working directory and switch between branches using commands like git checkout or git switch. When you switch branches, Git updates the files in your current directory to match the branch you're switching to. This means you need to either commit or stash your work-in-progress changes before switching, which can disrupt your workflow.[1][5][2]

What Are Worktrees?

Git worktrees allow you to check out multiple branches from the same repository simultaneously, each in its own separate working directory. Instead of switching branches by changing what's checked out in one directory, you switch branches by literally moving between different d

@eonist
eonist / open_design_format.md
Last active January 18, 2026 14:26
open_design_format.md

Open design format API Documentation

Open design format is a declarative design system that uses JSX-like syntax to create responsive layouts and UI components, specifically designed for Figma integration. Based on the Figma Widget API, it provides a comprehensive set of components for building sophisticated user interfaces with automatic layout management, styling, and effects.

Overview

Open design format enables designers and developers to create UI components using a JSON-based JSX format that maps directly to Figma's widget system. It supports real-time design collaboration through a WebSocket-based communication layer between AI agents and Figma via the Model Context Protocol (MCP).

Architecture

@eonist
eonist / list_of_ai_generated_podcasts.md
Last active October 22, 2024 23:59
List of AI generated podcasts on interesting topics (NotebookLM)
@eonist
eonist / The_essential_startup_kit.md
Last active May 18, 2025 06:43
The essential startup kit
@eonist
eonist / Startup_Tools.md
Last active August 4, 2025 22:33
Startup Tools
@eonist
eonist / My_favorite_ai_design_prompts.md
Last active April 28, 2025 08:10
My_favorite_ai_design_prompts.md
@eonist
eonist / github_stats.py
Last active October 25, 2023 01:48
github_stats.py
import json
import urllib.request
import ssl
username = input("Enter your GitHub username: ")
url = f"https://api.github.com/users/{username}/events"
context = ssl.create_default_context()
context.check_hostname = False
context.verify_mode = ssl.CERT_NONE
@zhwayne
zhwayne / EditMenu.swift
Created September 21, 2023 09:44
EditMenu for SwiftUI
//
// EditMenu.swift
// CalcApp
//
// Created by iya on 2023/6/9.
// Copyright © 2023 wayne. All rights reserved.
//
import SwiftUI
import UIKit