Skip to content

Instantly share code, notes, and snippets.

View DaniruKun's full-sized avatar
:octocat:
Processing...

danirukun DaniruKun

:octocat:
Processing...
View GitHub Profile
@DaniruKun
DaniruKun / dragon.clj
Created May 20, 2020 20:47
Dragon Autopilot control driver demo
(defn roll
"Roll the Crew Dragon left or right (CCW or CW)."
([driv dir max-roll-rate]
(if (or
(< (math/abs (@tel/telem :roll-rate)) max-roll-rate)
(and
(pos? (@tel/telem :roll-rate)) (= dir "left"))
(and
(neg? (@tel/telem :roll-rate)) (= dir "right")))
@DaniruKun
DaniruKun / adoc_status_badge
Last active April 9, 2020 09:18
Asciidoc status badge
image:path.svg?style=svg["Alt", link="link"]
@DaniruKun
DaniruKun / enable_chime.sh
Created February 26, 2020 18:49
macOS Enable Startup Chime
sudo nvram StartupMute=%00
.neonHeader {
filter: drop-shadow(0px 0px 10px #ff0000);
}