This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use_bpm 80 | |
live_loop :metro do | |
sample :drum_heavy_kick | |
sleep 1 | |
end | |
define :introStrumAsus2b6 do | |
play :e4, release: 0.5 | |
sleep 0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(load "@lib/http.l" "@lib/xhtml.l" "@lib/form.l") | |
(class +Task +Entity) | |
(rel nr (+Need +Key +Number)) | |
(rel ttl (+IdxFold +String)) | |
(rel sts (+Sn +IdxFold +String)) | |
(rel tgs (+Sn +IdxFold +String)) | |
(rel dt (+Need +Ref +Date)) | |
(rel upds (+List +Joint) tsk (+Update)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(de parse-json () | |
(skip) | |
(case (peek) | |
("\"" (read-string)) | |
("{" (read-object)) | |
("[" (read-array)) | |
("t" (read-bare-word "true")) | |
("f" (read-bare-word "false")) | |
("n" (read-bare-word "null")) | |
(T (read-number)))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns protocol | |
(:require-macros [cljs.core.async.macros :refer [go go-loop]]) | |
(:require | |
[goog.net.XhrIo :as xhr] | |
[goog.json :as gjson] | |
[cljs.core.async :as async :refer [chan close! <! >!]])) | |
(defn do-request [endpoint method headers body] | |
(let [ch (chan)] | |
(xhr/send endpoint |