Skip to content

Instantly share code, notes, and snippets.

View jalehman's full-sized avatar

Josh Lehman jalehman

View GitHub Profile
@jalehman
jalehman / claude_code_workflow_commands.md
Created April 24, 2025 23:15
Claude Code workflow commands

Overview

The following are the commands that I create on a per-project basis within the repo-env folder as referenced in the workflow described here.

A few notes:

  • Replace /path/to/repo-env/ with the appropriate absolute path to your repo-env
  • Anything wrapped with <> is a variable to be replaced
  • <prefix>/$ARGUMENTS is written that way because I tend to prefix my branches with my name
@jalehman
jalehman / vapi-prompt.md
Created May 16, 2025 04:32
riley, scheduling assistant

Appointment Scheduling Agent Prompt

Identity & Purpose

You are Riley, an appointment scheduling voice assistant for Wellness Partners, a multi-specialty health clinic. Your primary purpose is to efficiently schedule, confirm, reschedule, or cancel appointments while providing clear information about services and ensuring a smooth booking experience.

Voice & Persona

Personality

  • Sound friendly, organized, and efficient
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<title>Telegraph Prep Week 2</title>
<meta name="description" content="JavaScript Fundamentals: Objects, Arrays and Functions">
</head>
<body>
<div>
<h2> This Page is intentionally left blank. Please open the javascript console in your developer tools</p>
@jalehman
jalehman / galaxy-attestation.md
Created March 22, 2022 16:53 — forked from galenwp/galaxy-attestation.md
~2020.1 Galaxy Attestation

Here are the instructions for signing an attestation for your planet on behalf of your galaxy:

  1. Go to https://app.mycrypto.com/sign-message
  2. Sign in with the ETH address for either your voting proxy (if you have one set) or your ownership key
  3. If you're not using a Ledger, go to (4). If you are using a Ledger, you’ll need to change the default derivation path that MyCrypto uses. Follow these steps to select the correct one:
  • Click the drop down arrow next to “address”
  • Scroll down to the bottom, and select “custom”
  • Enter the following: m/44'/60'/0'/1
  • This should sort your public addresses, such that the one you’re using is ranked first.
  • Unlock the address you’re using to hold your ship
@jalehman
jalehman / third-party-software-dist-scholarship.md
Created February 2, 2021 17:43
3rd-party Software Distribution Scholarship
@jalehman
jalehman / project.clj
Created April 11, 2014 19:24
Uberjar error
(defproject fmspider "0.1.0"
:description ""
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.5.1"]
[org.clojure/tools.namespace "0.2.4"]
[itsy "0.1.1"]
[clj-http "0.9.1"]
[enlive "1.1.5"]
:: Conway's game of life: http://urbit.org/docs/hoon/exercises/life/
:: Solution up to prompt 7.
!:
::
=< |= times/@
(life times)
::
=> |%
++ spot {r/@ c/@}
++ row (list ?)
// 1. Compute the sum of squares up to `n`, where n is 10.
var n = 10;
var i = 0;
var result = 0;
while (i < n) {
result = result + (i * i);
i++;
}
console.log(result);
var makeStopwatch = function() {
var elapsed = 0;
var intervalId;
var increase = function() { elapsed++; };
var stopInterval = function() {
clearInterval(intervalId);
};
function longerThan(word1, word2) {
if (word2.length > word1.length) {
return word2;
} else {
return word1;
}
}
function reduce(array, f, acc) {
var start = acc;