Skip to content

Instantly share code, notes, and snippets.

View chrisblatchley's full-sized avatar

chris blatchley chrisblatchley

View GitHub Profile
@chrisblatchley
chrisblatchley / fucking.bb
Created December 22, 2022 06:45
FDI: Fucking do it. use openAI codex to help jog your memory for those less used commands
#!/usr/local/bin/bb
(require '[babashka.curl :as curl])
(require '[babashka.process :refer [sh]])
; assume your api-key is stored in ~/openai.edn
(def openai-cfg (clojure.edn/read-string (slurp (str (System/getProperty "user.home") "/.openai.edn"))))
(defn pre-prompt
[prompt]
@chrisblatchley
chrisblatchley / keybase.md
Last active May 25, 2017 04:00
keybase.md

Keybase proof

I hereby claim:

  • I am chrisblatchley on github.
  • I am chrisblatchley (https://keybase.io/chrisblatchley) on keybase.
  • I have a public key whose fingerprint is B67B 2569 E59B D0D5 08A3 C2AB 1FE6 2B9B C719 7563

To claim this, I am signing this object: