http://codekata.com/kata/kata09-back-to-the-checkout/
- One requirement at a time
- Must have a passing test
- Once the requirement is verified, a new requirement will be given
http://codekata.com/kata/kata09-back-to-the-checkout/
clojure.lang.ExceptionInfo: Could not resolve symbol: impl/LoggerFactory | |
{:type :sci/error, :line 202, :column 3, :message "Could not resolve symbol: impl/LoggerFactory", :sci.impl/callstack #object[clojure.lang.Volatile 0x495819d3 {:status :ready, :val ({:line 198, :column 1, :ns #object[sci.lang.Namespace 0x22328391 "clojure.tools.logging.test"], :file "/home/jmglov/Documents/code/clojure/awno-api/src/clojure/tools/logging/test.clj"} {:line 198, :column 1, :ns #object[sci.lang.Namespace 0x22328391 "clojure.tools.logging.test"], :file "/home/jmglov/Documents/code/clojure/awno-api/src/clojure/tools/logging/test.clj", :sci.impl/f-meta {:ns #object[sci.lang.Namespace 0x60734cc4 "clojure.core"], :macro true, :sci/built-in true, :name defn, :doc "Same as (def name (fn [params* ] exprs*)) or (def\n name (fn ([params* ] exprs*)+)) with any doc-string or attrs added\n to the var metadata. prepost-map defines a map with optional keys\n :pre and :post that contain collections of pre or post conditions.", :arg |
{:cause src/page_views.clj | |
:via [{:type java.nio.file.NoSuchFileException, :message "src/page_views.clj", :at [sun.nio.fs.UnixCopyFile copy "UnixCopyFile.java" 548]}] | |
:trace [[sun.nio.fs.UnixCopyFile copy "UnixCopyFile.java" 548] | |
[sun.nio.fs.UnixFileSystemProvider copy "UnixFileSystemProvider.java" 258] | |
[java.nio.file.Files copy "Files.java" 1295] | |
[babashka.fs$copy invokeStatic "fs.cljc" 361] | |
[babashka.fs$copy invoke "fs.cljc" 346] | |
[babashka.fs$copy invokeStatic "fs.cljc" 352] | |
[babashka.fs$copy invoke "fs.cljc" 346] | |
[sci.lang.Var invoke "lang.cljc" 182] |
build-deps {:docs "Builds a layer for dependencies" | |
:requires ([clojure.java.shell :refer [sh]] | |
[clojure.edn :as edn]) | |
:task (let [{:keys [deps-path target-dir work-dir]} (th/parse-args) | |
deps-zipfile (th/deps-zipfile target-dir)] | |
(when-not deps-path | |
(th/error "Mising required argument: --deps-path")) | |
(fs/create-dirs target-dir work-dir) |
[java.io.BufferedOutputStream flushBuffer BufferedOutputStream.java 81] | |
[java.io.BufferedOutputStream flush BufferedOutputStream.java 142] | |
[babashka.pods.impl$write invokeStatic impl.clj 23] | |
[babashka.pods.impl$invoke invokeStatic impl.clj 109] | |
[babashka.pods.impl$bencode__GT_vars$fn__27137$fn__27142 doInvoke impl.clj 134] | |
[clojure.lang.RestFn invoke RestFn.java 408] | |
[sci.lang.Var invoke lang.cljc 176] | |
[sci.impl.analyzer$return_call$reify__5207 eval analyzer.cljc 1205] | |
[sci.impl.fns$fun$arity_0__3012 doInvoke fns.cljc 83] | |
[clojure.lang.RestFn invoke RestFn.java 397] |
// ==UserScript== | |
// @name Tja | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
const elementType = { | |
bottomBar: 'aeG', | |
categoryList: 'nH oy8Mbf nn aeN', | |
chromeDivs: 'nH nn', |
defmodule Config do | |
defmacro __using__(_) do | |
quote do | |
import unquote(__MODULE__), only: :macros | |
end | |
end | |
defmacro cfg(key, type \\ :string) do | |
quote do | |
defp unquote(key)() do |
'-?>'(X, Fs) -> | |
reduce( | |
fun({F, A}, Acc) -> apply(F, [Acc|A]); | |
({M, F, A}, Acc) -> apply(M, F, [Acc|A]); | |
(F, Acc) when is_function(F, 1) -> F(Acc) | |
end, X, Fs). |
openapi: "3.0.0" | |
info: | |
version: "0.1" | |
title: clj-prod-YOURNAME | |
description: Checkout reporting API | |
paths: | |
/events: | |
put: | |
summary: Publish new events |
(defmethod json-schema/accept-spec 'clojure.spec.alpha/keys [_ spec children _] | |
(let [name (comp #(clojure.string/replace % "-" "_") name) | |
{:keys [req req-un opt opt-un]} (impl/parse-keys (impl/extract-form spec)) | |
names-un (map name (concat req-un opt-un)) | |
names (map impl/qualified-name (concat req opt)) | |
required (map impl/qualified-name req) | |
required-un (map name req-un) | |
all-required (not-empty (concat required required-un))] | |
(#'json-schema/maybe-with-title | |
(merge |