(time/duration dur-str)
(def event-time-zone (java.time.ZoneId/of "Europe/Brussels"))
Find People Born in the Fifties | |
Using the sandbox on the right, write and execute a query to return people born in the 1950’s (1950 - 1959) that are both Actors and Directors. | |
How many Person nodes are returned? | |
``` | |
MATCH(p:Actor) | |
WHERE p:Director AND date('1950-01-01') <= date(p.born) < date('1959-12-31') | |
RETURN count(p) | |
``` |
(ns myproject | |
"FIXME: my new org.corfield.new/scratch project." | |
(:require [clojure.walk :as walk])) | |
(def tree | |
(list #:cil{:id 2 | |
:children | |
(list #:citl{:id 2 :ip 2 | |
:children | |
(list #:citl{:id 5 :tp 2} |
[:customer-invoice | |
[:div.bg-violet-100.m-2.p-2.flex | |
[:p.flex-auto "Reference-number: invoice 1"] | |
[:p.flex-auto "status: unreleased"]] | |
[:customer-invoice-line | |
[:div.bg-violet-100.m-2.p-2.flex | |
[:p.flex-auto "Id: 1"] | |
[:p.flex-auto "Invoice: invoice 1"] | |
[:p.flex-auto "Amount: 2000"]] | |
[:customer-invoice-tax-line |
(ns myproject | |
"FIXME: my new org.corfield.new/scratch project." | |
(:require [clojure.walk :as walk])) | |
(def lines | |
(list {:reference-number "invoice 1" | |
:status "unreleased"} | |
(list {:invoice "invoice 1" | |
:account "100" | |
:desp "customer invoice line" |
REPLWARE 建議的資料分析技術棧 (modern data stack) 主要有下列特色:
; using Clojure 1.9 | |
(require '[clojure.pprint :as pprint]) | |
(defn xform-dep [[lib version & korks]] | |
(let [args (into {} (apply hash-map korks))] | |
[lib (merge {:mvn/version version} args)])) | |
(defn xform-deps | |
"deps.edn utility function by @theronic 2018-02-28 | |
Transforms a collection of project.clj :dependencies to deps.edn style |
應用軟體開發是很容易遇到坑而做不好、做不快,容易犯下所謂的應用軟體開發七宗罪