Skip to content

Instantly share code, notes, and snippets.


Brendon Walsh niamu

View GitHub Profile
niamu / beats.cljs
Last active Mar 24, 2017
Swatch Internet Time (Beats Time)
View beats.cljs
(defn beats
(let [d (js/Date.)]
(->> (/ (+ (.getUTCSeconds d)
(* (.getUTCMinutes d) 60)
(* (inc (.getUTCHours d)) 3600))
(.floor js/Math))))

Keybase proof

I hereby claim:

  • I am niamu on github.
  • I am niamu ( on keybase.
  • I have a public key whose fingerprint is E115 849B 95B4 52AF 1C9F 3C4E BA93 F75E ED4D 48FE

To claim this, I am signing this object: