Skip to content

Instantly share code, notes, and snippets.

@realgenekim
realgenekim / datasets.md
Created September 22, 2025 20:06
Data sets for Vibe Coding Workshop for Leaders

Fantastic—here’s a compact, copy‑pasteable doc you can hand to tech‑leader participants. Every dataset below is (a) free, (b) downloadable for local/offline analysis on a dev‑class laptop, and (c) has a clear “what it’s good for.” I include at least one option for each topic you asked for, plus a bonus section with public backlogs/tickets/incident datasets.


Vibe‑Coding Workshop Datasets (Local/Offline Friendly)

1) Jira / Backlog Data

Primary (recommended): The Public Jira Dataset (anonymized, 2025 release)

@realgenekim
realgenekim / get-claude-code-data.md
Created September 5, 2025 18:35
Instructions to retrieve Claude Code data

⏺ The instructions for retrieving Claude Code prompts are in /Users/genekim/src.local/mdparse/docs/claude-code-logs.md. Key locations:

Primary data storage:

  • ~/.claude/projects/ - Project-specific sessions as JSONL files
  • ~/.claude.json - Session index and configuration

To find your prompts:

List your Claude projects

ls -la ~/.claude/projects/

@realgenekim
realgenekim / expo-av-workarounds.md
Created August 20, 2025 17:11
Claude Code on CLJS difficulties wrapping expo-av

expo-av Sound Class Workaround for ClojureScript/React Native

Problem Discovery

When trying to use expo-av’s Audio.Sound class in a ClojureScript React Native app (using shadow-cljs), we encountered a persistent error:

TypeError: Cannot read property ‘prototype’ of undefined

This error occurred when trying to:

@realgenekim
realgenekim / add-to-claude-code.md
Created August 14, 2025 17:36
giving Claude Code power of nrepl access

nREPL Client Script (nrepl.clj)

A fast Babashka script for interacting with the running nREPL server. Located at server/nrepl.clj.

Usage

The script automatically reads the port from .nrepl-port file.

Command line argument (fastest for one-off commands):

./nrepl.clj '(+ 1 2 3)'
./nrepl.clj '(require '\''[podcast.db :as db]) (count (db/get-recent-episodes 10))'
@realgenekim
realgenekim / deps.edn
Last active June 10, 2025 21:18
create plotly graph from clojurecreate plotly from clojure, using libpython-clj
{:paths ["src"]
:deps {org.clojure/clojure {:mvn/version "1.11.1"}
clj-python/libpython-clj {:mvn/version "2.026"}}
:aliases
{:dev {:jvm-opts ["--enable-native-access=ALL-UNNAMED"]}}}
@realgenekim
realgenekim / electric-clojure-v3-context.txt
Created January 18, 2025 18:40
All Electric Clojure v3 tutorial sample apps in one file, to easily copy/paste into Claude context
./forms_inline.cljc:
(ns electric-tutorial.forms-inline ; used in form_explainer
(:require #?(:clj [datascript.core :as d])
[hyperfiddle.electric3 :as e]
[hyperfiddle.electric-dom3 :as dom]
[hyperfiddle.electric-forms3 :as forms :refer
[Input! Checkbox! Checkbox* Form! Service try-ok effects*]]
[dustingetz.trivial-datascript-form :refer
[#?(:clj ensure-conn!) #?(:clj transact-unreliable)]]))
@realgenekim
realgenekim / hyperfiddle.cljc
Last active August 12, 2024 22:06
Getting hyperfiddle RCF working in CLJS (Fulcro app)
(ns com.example.hyperfiddle
(:require
[hyperfiddle.rcf]
[taoensso.timbre :as log]))
; wait to enable tests until after app namespaces are loaded
(defn rcf-enable []
(hyperfiddle.rcf/enable!))
@realgenekim
realgenekim / example.clj
Created November 6, 2023 21:07
Simple example of using wkok/openai-clojure library in streaming mode
(ns openai.a01-async-openai
(:require
[com.fulcrologic.guardrails.core :refer [>defn >defn- >def | ? =>]]
[wkok.openai-clojure.api :as api]
[openai.companies :as companies]
[diehard.core :as dh]
[clojure.data.json :as json]
[clojure.edn :as edn]
[clojure.spec.alpha :as s]
[clojure.core.async :as a :refer [<!! >!! <! >!]]
@realgenekim
realgenekim / wiring-winning-org-prompt.md
Last active November 4, 2023 18:12
Prompt I've been using on OpenAI GPT-4 and GPT3.5, and Claude 2. Maybe I'll put into a separate repo, because I'm modifying it all the time.

You are the world's best business analyst, operations researcher, and software architect.

Gene Kim (co-author of "Phoenix Project," "DevOps Handbook, etc.) and Steve Spear (author of "High Velocity Edge" and "Decoding the DNA of the Toyota Production System") wrote a new book together: "Wiring the Winning Organization."

In this book, they describe three mechanism:

  • Slowification: problem-solving is pulled back from fast-paced operations to more deliberate planning and practice (e.g., tabletop exercises, simulation, paper prototypes, fire drills, disaster recovery drills, Netflix Chaos Monkey). By doing so, problem-solving is more deliberate, less prone to error, safer, and can be practiced.

  • Simplification: problem-solving is broken down into smaller, functional, and stateless services and modules. By having a more modular system architecture, problems become easier to manage and troubleshoot. Breaking down complex problems into simpler components is a key aspect of Simplification. There ar

@realgenekim
realgenekim / gist:b83a378dbe4a7ca91fb67adfd14908f7
Created October 20, 2023 04:21
tampermonkey script for Piwaa: messaging for linkedin: put in keyboard accelerator to archive message
// ==UserScript==
// @name Piwaa: Linkedin Messages: keyboard accelerators
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Script to accept all the follow requests
// @author You
// @match https://app.piwaa.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=linkedin.com
// @grant none
// ==/UserScript==