Skip to content

Instantly share code, notes, and snippets.

View aabmass's full-sized avatar

Aaron Abbott aabmass

  • Google
  • Boston, MA
  • 13:06 (UTC -04:00)
View GitHub Profile
@mikera
mikera / gist:1104578
Created July 25, 2011 16:57
Clojure quick tutorial
;; Objective
;; 1. Learn Clojure by doing Clojure
;;
;; Pre-requisites
;; You need to have a running Clojure REPL
;; see: http://clojure.org/getting_started
; Hello World in Clojure
(println "Hello World")
@howardjohn
howardjohn / otel-auto-trace.sh
Created July 8, 2023 00:04
A terrible terrible hack to automatically trace shell function exeuction
#!/bin/bash
export OTEL_EXPORTER_OTLP_ENDPOINT=localhost:4317
function gen-uid() {
tr -dc 'a-f0-9' < /dev/urandom | head -c$1
}
trace=`gen-uid 32`
spans=()
starts=()