View race_stats_summary.sql
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
```sql | |
SELECT | |
coalesce( | |
json_agg( | |
"root" | |
ORDER BY | |
"root.pg.rss_elapsed_min" DESC NULLS FIRST | |
), | |
'[]' | |
) AS "root" |
View hodur-visualize-datomic-schema.clj
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 hodure-test.getting-started | |
(:require [hodur-engine.core :as hodur] | |
[hodur-datomic-schema.core :as hodur-datomic] | |
[hodur-graphviz-schema.core :as hodur-graphviz] | |
[clojure.java.io :as io] | |
)) | |
(def person-schema (hodur/init-schema | |
'[^{:datomic/tag-recursive true} | |
Person |
View hodur-datomic-graphviz-schema.edn
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
[ | |
^{:datomic/tag-recursive true | |
:graphviz/tag-recursive true | |
:graphviz/color "lightyellow" | |
:graphviz/stereotype "Person" | |
:graphviz/group "person-group" | |
} | |
Employee | |
[^String name | |
^Float salary |
View pathom3_geojs_accuweather_api.clj
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
[:name "GeoJS and AccuWeather EQL API with Pathom3" | |
:description "Alternative Pathom3 Tutorial using GeoJS and AccuWeather APIs" | |
:version "0.1" | |
:author "Athanassios I. Hatzis" | |
:copyright "(C) Athanassios I. Hatzis 2022-07-02" | |
:license "Eclipse Public License 2.0" | |
:url "http://healis.eu"] | |
(ns weather-tutorial2 | |
(:require |
View fulcro-shadow-cljs.edn
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
{:deps {:aliases [:dev :test :workspaces]} | |
:nrepl {:port 9000} | |
:dev-http {9001 "resources/public"} | |
:jvm-opts ["-Xmx2G"] | |
:builds {:workspaces {:target nubank.workspaces.shadow-cljs.target | |
:ns-regexp "-cards$" | |
:output-dir "resources/public/js/workspaces" | |
:asset-path "/js/workspaces" | |
:compiler-options {:external-config {:fulcro {:html-source-annotations? true}}} | |
:preloads [com.fulcrologic.fulcro.inspect.preload |
View project.clj
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
(defproject figwheel-demo "0.1.0-SNAPSHOT" | |
:description "FIXME: write this!" | |
:url "http://example.com/FIXME" | |
:license {:name "Eclipse Public License" | |
:url "http://www.eclipse.org/legal/epl-v10.html"} | |
:min-lein-version "2.9.1" | |
:dependencies [[org.clojure/clojure "1.10.0"] | |
[org.clojure/clojurescript "1.10.773"] |
View user.clj
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 user | |
(:require | |
[figwheel-sidecar.repl-api :as f])) | |
;; user is a namespace that the Clojure runtime looks for and | |
;; loads if its available | |
;; You can place helper functions in here. This is great for starting | |
;; and stopping your webserver and other development services |
View athanhat.gist
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
One | |
Two | |
Three |