Skip to content

Commit

Permalink
notebooks
Browse files Browse the repository at this point in the history
  • Loading branch information
awb99 committed Apr 17, 2024
1 parent 2787f97 commit 36ff56d
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 22 deletions.
7 changes: 7 additions & 0 deletions resources/demo/notebook/clojure_edn.cljs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
(ns demo.notebook.clojure-edn
(:require
[clojure.edn :as edn]))

(def x (pr-str {:a 1 :b true :name "harry potter"}))

(edn/read-string x)
21 changes: 0 additions & 21 deletions resources/demo/notebook/format.cljs

This file was deleted.

3 changes: 2 additions & 1 deletion resources/demo/notebook/tick.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
[tick.core :as t]
[tick.helper :refer [dt-format]]))

(dt-format "YYYYMMdd HH:mm:ss" (t/now))
(dt-format "YYYYMMdd HH:mm:ss" (t/now))

10 changes: 10 additions & 0 deletions resources/demo/notebook/to_fixed.cljs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
(ns demo.notebook.to-fixed
(:require
[pinkgorilla.repl.cljs.js :refer [to-fixed]]))




(to-fixed 2.511 3)
(to-fixed 2.511 2)
(to-fixed 2.511 0)

0 comments on commit 36ff56d

Please sign in to comment.