Skip to content

Instantly share code, notes, and snippets.

Avatar

Tyler Wardhaugh tylerw

  • Capital Rx
View GitHub Profile
@tylerw
tylerw / update-clj-tools.bb
Created Jun 18, 2022
Quick-and-dirty script to update all Clojure -Ttools
View update-clj-tools.bb
#!/usr/bin/env bb
;;;
; A babashka script to update all clojure -Ttools to the latest versions
; author: Tyler Wardhaugh
;;;
(ns update-clj-tools
(:require [babashka.fs :as fs]
[babashka.process :refer [process]]))
View bipe
#!/usr/bin/env bash
# temp file
t=/tmp/bipe.$$.txt
touch $t
# read from stdin
if [ ! -t 0 ]; then
cat > $t