Skip to content

Instantly share code, notes, and snippets.

View amoAHCP's full-sized avatar

Andy Moncsek amoAHCP

View GitHub Profile
@amoAHCP
amoAHCP / llm-wiki-obsidian-setup.md
Created April 27, 2026 19:21 — forked from kennyg/llm-wiki-obsidian-setup.md
LLM-Wiki Obsidian Setup Guide — full implementation of Karpathy's llm-wiki pattern

Setting Up the LLM-Wiki Pattern in Obsidian

Based on Karpathy's llm-wiki pattern — using LLMs to incrementally build and maintain a persistent, interlinked wiki from raw sources rather than re-deriving knowledge on every query.

Quick Start — Paste This Into Your Agent

Copy the prompt below into Claude Code, Codex, or any LLM agent with file access. It will scaffold the wiki, configure the tooling, and update your CLAUDE.md with the schema. Then you just start ingesting sources.

I want to set up the llm-wiki pattern in my Obsidian vault. Follow this guide exactly:
@amoAHCP
amoAHCP / claude-code-token-saving-guide.md
Created February 4, 2026 20:55 — forked from artemgetmann/claude-code-token-saving-guide.md
Practical workflow for reducing token usage in Claude Code while preserving session continuity. Includes compacting strategies, CLAUDE.md structure, modular context management, and prompt engineering tips.

🧠 How to Save Context Tokens When Using Claude Code

This is a personal reference workflow for minimizing token usage while maintaining project continuity across Claude Code (Sonnet 4 with file access).


✅ Setup: Populate CLAUDE.md

Claude loads CLAUDE.md automatically at session start.

@amoAHCP
amoAHCP / profiling-jvm-kubernetes-visualvm.md
Created November 2, 2023 09:55 — forked from anderson-custodio/profiling-jvm-kubernetes-visualvm.md
Profiling JVM on Kubernetes using VisualVM

Profiling JVM on Kubernetes using VisualVM

Enable JMX server

Edit Dockerfile to enable JMX server and change the hostname with the IP where the container will run:

FROM openjdk:8-jre-alpine
ADD ./target/app.jar app.jar
EXPOSE 8080
ENTRYPOINT java -Dcom.sun.management.jmxremote.rmi.port=9090 -Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.port=9090 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.local.only=false -Djava.rmi.server.hostname=192.168.1.2 -jar app.jar
@amoAHCP
amoAHCP / Dockerfile
Created June 20, 2018 07:01 — forked from brendan-rius/Dockerfile
DeamonSet for setting inotify config in each nodein k8s
FROM alpine
COPY configure-node.sh configure-node.sh
CMD ["/bin/sh", "configure-node.sh"]
@amoAHCP
amoAHCP / BoundsPlayground.java
Created September 22, 2015 19:22 — forked from jewelsea/BoundsPlayground.java
Demo for understanding JavaFX Layout Bounds
import javafx.application.Application;
import javafx.beans.property.DoubleProperty;
import javafx.beans.property.ObjectProperty;
import javafx.beans.property.ReadOnlyObjectProperty;
import javafx.beans.property.SimpleObjectProperty;
import javafx.beans.value.ChangeListener;
import javafx.beans.value.ObservableValue;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.event.EventHandler;
@amoAHCP
amoAHCP / Frosty.java
Last active August 29, 2015 14:13 — forked from jewelsea/Frosty.java
import javafx.animation.*;
import javafx.application.Application;
import javafx.beans.property.*;
import javafx.geometry.Rectangle2D;
import javafx.scene.*;
import javafx.scene.Node;
import javafx.scene.control.Label;
import javafx.scene.effect.*;
import javafx.scene.image.*;
import javafx.scene.input.ScrollEvent;