Skip to content

Instantly share code, notes, and snippets.

(defelem circle [{:keys [id circle css click] :as attr} _]
(with-let [c (svg/circle
:id id
:cx (cell= (:x circle))
:cy (cell= (:y circle))
:r (cell= (:radius circle))
:fill (cell= (:fill circle))
:css (cell= css)
:click click)]
(with-init!
0 <?xml version="1.0" encoding="UTF-8"?><web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" metadata-complete="true" xsi:schem
1 <display-name>boot-webapp</display-name>
2 <description>boot-webapp</description>
3 <servlet>
4 <servlet-name>boot-webapp</servlet-name>
5 <servlet-class>tailrecursion.ClojureAdapterServlet</servlet-class>
6 <init-param>
7 <param-name>create</param-name>
8 <param-value>tsp-api.init/init-server</param-value>
9 </init-param>
(set-env!
:dependencies '[[adzerk/bootlaces "0.1.11" :scope "test"]
[com.novemberain/monger "2.0.0"]
[com.taoensso/faraday "1.6.0"]
[com.taoensso/carmine "2.9.0"]
[com.datomic/datomic-free "0.9.5153"]
]
:target-path "target"
(set-env!
:wagons '[[s3-wagon-private "1.1.2"]]
:repositories #(conj % ["private" {:url "s3p://rsw-hdfs/releases/"
:username (System/getenv "REPO_KEY")
:passphrase (System/getenv "REPO_SECRET")}]
["clojars-upload" {:url "https://clojars.org/repo"
:username (System/getenv "CLOJARS_USERNAME")
:passphrase (System/getenv "CLOJARS_PASSWORD")}]))
clojure.lang.ExceptionInfo: org.sonatype.aether.deployment.DeploymentException: Failed to deploy artifacts: Could not transfer artifact org.clojars.rowtr:geo-cache:pom.asc:0.0.8 from/to clojars-upload (https://clojars.org/repo): Failed to transfer file: https://clojars.org/repo/org/clojars/rowtr/geo-cache/0.0.8/geo-cache-0.0.8.pom.asc. Return code is: 401, ReasonPhrase:Unauthorized. {:file "/var/folders/pc/jchb0j_104b2dftmydk1p6c80000gn/T/boot.user3496374743084449796.clj", :line 19}
at clojure.core$ex_info.invoke(core.clj:4403)
at boot.main$_main$fn__1104.invoke(main.clj:168)
at boot.main$_main.invoke(main.clj:161)
at clojure.lang.Var.invoke(Var.java:394)
at org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl.invoke(ClojureRuntimeShimImpl.java:138)
at org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl.invoke(ClojureRuntimeShimImpl.java:129)
at boot.App.runBoot(App.java:231)
at boot.App.main(App.java:338)
Caused by: java.util.concurrent.ExecutionException: org.sonatype.aether.deployment.DeploymentEx
Compiling Hoplon pages...
• index.html.hl
clojure.lang.ExceptionInfo: java.lang.IllegalArgumentException: No implementation of method: :make-reader of protocol: #'clojure.java.io/IOFactory found for class: nil {:file "/var/folders/pc/jchb0j_104b2dftmydk1p6c80000gn/T/boot.user2372897079995526106.clj", :line 19}
at clojure.core$ex_info.invoke(core.clj:4403)
at boot.main$_main$fn__1104.invoke(main.clj:168)
at boot.main$_main.invoke(main.clj:161)
at clojure.lang.Var.invoke(Var.java:394)
at org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl.invoke(ClojureRuntimeShimImpl.java:138)
at org.projectodd.shimdandy.impl.ClojureRuntimeShimImpl.invoke(ClojureRuntimeShimImpl.java:129)
at boot.App.runBoot(App.java:231)
(defelem profile
[{:keys [user]} _]
(let [uname (cell= (join " " [(:first-name user) (:last-name user)]))
image (cell= (:icon user))
ujob (cell= (:title user))]
(cell= (.log js/console "in defelem" (clj->js uname)))
(div :class "dropdown profile-element"
(span (img :alt uname :class "img-circle" :src image))
(a :data-toggle "dropdown" :class "dropdown-toggle" :href "#"
(span :class "clear"
<nav.profile user='{{ app/user }}'/>
(defelem solution-form [{:keys [depots mappings] :as attr} kids]
(let [current-solution (cell nil)
prop (cell {:files nil})
solution-schema {:id nil :label nil :depot nil :mapping nil :file nil :files nil}]
(form/with-form [{:keys [data error state exception loading] :as form-machine}
(workflow/form-machine
:current current-solution
:action (fn [& x] (.log js/console (clj->js x)))
:schema solution-schema
:success #(.log js/console "Success!"))]
<configuration>
<appender name="SYSLOG-TLS" class="com.papertrailapp.logback.Syslog4jAppender">
<layout class="ch.qos.logback.classic.PatternLayout">
<pattern>%-5level %logger{35}: %m%n%xEx</pattern>
</layout>
<syslogConfig class="org.productivity.java.syslog4j.impl.net.tcp.ssl.SSLTCPNetSyslogConfig">
<!-- remote system to log to -->
<host>logs3.papertrailapp.com</host>
<!-- remote port to log to -->