Skip to content

Instantly share code, notes, and snippets.

View Nadiar's full-sized avatar
😃
Focusing

Dan Janssen Nadiar

😃
Focusing
View GitHub Profile
@Nadiar
Nadiar / BOOTSTRAP.md
Created October 14, 2025 09:02
Drop these in your workspace root in .claude. I use a multi-root project layout where inside of my main workspace I have projects in their own folder.

Bootstrapping the Context System

This guide shows how to implement the two-tier context system (workspace + projects) in a new multi-root workspace.

Quick Overview

The context system consists of:

  • Machine-optimized context maps - Auto-generated, compressed memory files
  • SessionStart hooks - Automatically regenerate context on every session
  • Two-tier structure - Workspace-wide + project-specific contexts
@Nadiar
Nadiar / dynamic-api-browse.py
Created March 1, 2024 02:50
Quick and easy way to browse and interact with an API, in this case the Kapowarr API. Stores successful prior attempts in a log for reference or copy pasting and running with CLI arguments
#!/usr/bin/python3
# -*- coding: utf-8 -*-
# Author github.com/Nadiar
import argparse
import json
import requests
import os
from os.path import isfile, join
from datetime import datetime
@Nadiar
Nadiar / comicrack2kapowarr.py
Last active March 4, 2024 23:45
python script for importing comicrack comicDB.xml into kapowarr
#!/usr/bin/python
# -*- coding: utf-8 -*-
"""
Intro:
Original Author: github.com/Nadiar
Feburary 28th 2024
Description: Import all comics from a ComicRack ComicDB.xml

Keybase proof

I hereby claim:

  • I am Nadiar on github.
  • I am nadiar (https://keybase.io/nadiar) on keybase.
  • I have a public key whose fingerprint is 3B23 4113 26B7 311B 5386 C2E5 BE90 F2A2 9802 A805

To claim this, I am signing this object: