Skip to content

Instantly share code, notes, and snippets.

@espeed
espeed / gist:31f33a9c550cb56eb4b8c40d94794455
Created November 10, 2025 04:31
Bitwav Identity Verification
### Bitwav Identity Verification
I am `did:web:bitwav.net:james` on the Bitwav network.
@espeed
espeed / gist:05a40a03b821cb954fdbb35dd8057a4d
Created November 10, 2025 04:21
Bitwav Identity Verification
### Bitwav Identity Verification
I am `did:web:bitwav.net:james` on the Bitwav network.
@espeed
espeed / gist:105f6cc7ffc78e182b82138779983492
Created November 10, 2025 04:20
Bitwav Identity Verification
### Bitwav Identity Verification
I am `did:web:bitwav.net:james` on the Bitwav network.
@espeed
espeed / gist:e08fc5fc73146655a7fe60cd97369095
Created November 10, 2025 04:09
Bitwav Identity Verification
### Bitwav Identity Verification
I am `did:web:bitwav.net:james` on the Bitwav network.
@espeed
espeed / gist:740e07c5caa5f62b554550ddb48008d1
Created November 10, 2025 04:05
Bitwav Identity Verification
### Bitwav Identity Verification
I am `did:web:bitwav.net:james` on the Bitwav network.
@espeed
espeed / png-to-ico.sh
Created November 2, 2014 20:13
ImageMagick command to convert PNG file to transparent favicon.ico
convert app-icon.png
\( -clone 0 -resize 16x16 \)
\( -clone 0 -resize 32x32 \)
\( -clone 0 -resize 48x48 \)
\( -clone 0 -resize 64x64 \)
-delete 0 -alpha on -background transparent favicon.ico
@espeed
espeed / binary16-uuid.clj
Last active July 3, 2024 02:09
Random UUID compressed into a Binary 16 byte array in Clojure.
;; Random UUID compressed into a Binary 16 byte array in Clojure.
;; by James Thornton, http://jamesthornton.com
(ns espeed.uuid
(require [clojure.data.codec.base64 :as b64]))
(defn uuid4 [] (java.util.UUID/randomUUID))
(defn uuid-as-byte-array []
@espeed
espeed / HOTAIRBALLOON
Last active September 26, 2023 11:51
This is the first program I ever wrote... It was on the Commodore 64, and it displays a hot air balloon bouncing around the screen in 16 colors. I was probably 7 or 8. This program is the first example in the "C64 Programmers Reference Guide - Chapter 3: Programming Graphics on the Commodore 64" -- http://www.commodore.ca/manuals/c64_programmers…
10 REM SPRITE EXAMPLE 1...
20 REM THE HOT AIR BALLOON
30 VIC=13*4096:REM THIS IS WHERE THE VIC REGISTERS BEGIN
35 POKEVIC+21,1:REM ENABLE SPRITE 0
36 POKEVIC+33,14:REM SET BACKGROUND COLOR TO LIGHT BLUE
37 POKEVIC+23,1:REM EXPAND SPRITE 0 IN Y
38 POKEVIC+29,1:REM EXPAND SPRITE 0 IN X
40 POKE2040,192:REM SET SPRITE 0'S POINTER
180 POKEVIC+0,100:REM SET SPRITE 0'S X POSITION
190 POKEVIC+l, 100:REM SET SPRITE 0'S Y POSITION
https://www.youtube.com/watch?v=KL3ZLxegIyE 722817 723440 723936 724813 724912 725060 725855 726062 726191 955092085733
https://www.youtube.com/watch?v=KL3ZLxegIyE 722817 723440 723936 724813 724912 725060 725855 726062 726191 955092085733