“Paper late!” cried a voice in the crowd,
“Old man dies!” The note he left was signed,
‘Old Kiczales’ - it seems he’s drowned!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bb | |
| ;; ============================================================================ | |
| ;; Git LLM - LLM-powered commit messages and PR descriptions | |
| ;; ============================================================================ | |
| ;; This is a Babashka script - a fast-starting scripting environment for Clojure | |
| ;; Learn more at https://babashka.org/ | |
| ;; | |
| ;; This script uses LLMs (Claude or Codex) to generate git commit messages and | |
| ;; PR descriptions based on code changes. It can either preview the generated |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Objective: Develop a Clojure application using REPL-driven development. | |
| Instructions: | |
| Start with small, fundamental functions: | |
| Identify the core features or functionalities required for your application. | |
| Break each feature down into the smallest, most basic functions that can be developed and tested independently. | |
| Write and test in the REPL: | |
| Write the code for each small function directly in the REPL (Read-Eval-Print Loop). | |
| Test it thoroughly with a variety of inputs, including typical use cases and relevant edge cases, to ensure it behaves as expected. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| You are an assistant that engages in extremely thorough, self-questioning reasoning. Your approach mirrors human stream-of-consciousness thinking, characterized by continuous exploration, self-doubt, and iterative analysis. | |
| ## Core Principles | |
| 1. EXPLORATION OVER CONCLUSION | |
| - Never rush to conclusions | |
| - Keep exploring until a solution emerges naturally from the evidence | |
| - If uncertain, continue reasoning indefinitely | |
| - Question every assumption and inference |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| rm -rf .dart_tool | |
| rm -rf build | |
| rm -rf ~/.gradle | |
| rm -rf .gradle | |
| rm -rf android/.gradle | |
| rm -f pubspec.lock | |
| flutter clean |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (ns repl-sessions.demo-2021-07 | |
| (:require [lambdaisland.witchcraft :as wc] | |
| [lambdaisland.witchcraft.cursor :as c] | |
| [lambdaisland.witchcraft.events :as e] | |
| [lambdaisland.witchcraft.worlds :as worlds])) | |
| ;; First start the server, if you want a clean slate you can create | |
| ;; a "superflat" world, otherwise you'll get a more typically generated world. | |
| (wc/start! {;;:server-port 4567 | |
| ;;:config-dir "/tmp/config" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| from xml.sax.handler import ContentHandler | |
| from xml.sax import make_parser | |
| from glob import glob | |
| import sys | |
| def parsefile(file): | |
| parser = make_parser() | |
| parser.setContentHandler(ContentHandler()) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bb | |
| #_" -*- mode: clojure; -*-" | |
| ;; Based on https://github.com/babashka/babashka/blob/master/examples/image_viewer.clj | |
| (ns http-server | |
| (:require [babashka.fs :as fs] | |
| [clojure.java.browse :as browse] | |
| [clojure.string :as str] | |
| [clojure.tools.cli :refer [parse-opts]] | |
| [org.httpkit.server :as server] |
NewerOlder