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
;;;;;;;;;;; day 01 ;;;;;;;;;;;;;;; | |
;; half 1 of day 01 | |
;; init sequence | |
(def captcha "823936645345581272695677318513459491834641129844393742672553544439126314399846773234845535593355348931499496184839582118817689171948635864427852215325421433717458975771369522138766248225963242168658975326354785415252974294317138511141826226866364555761117178764543435899886711426319675443679829181257496966219435831621565519667989898725836639626681645821714861443141893427672384716732765884844772433374798185955741311116365899659833634237938878181367317218635539667357364295754744829595842962773524584225427969467467611641591834876769829719248136613147351298534885563144114336211961674392912181735773851634298227454157885241769156811787611897349965331474217223461176896643242975397227859696554492996937235423272549348349528559432214521551656971136859972232854126262349381254424597348874447736545722261957871275935756764184378994167427983811716675476257858556464755677478725146588747147857375293675711575747132471727933773512571368467386 |
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
<configuration debug="false" scan="true" scanPeriod="30 seconds"> | |
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender"> | |
<encoder> | |
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern> | |
<!-- <pattern>{ :time #inst "%d{yyyy-MM-dd'T'HH:mm:ss.SSS'Z'}", :host "${HOSTNAME}", :level "%level", :logger "%logger{36}", :msg %msg}%n</pattern> --> | |
</encoder> | |
</appender> | |
<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
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 test01.core | |
(:gen-class) | |
(:require [org.httpkit.server :as kit] | |
[org.httpkit.client :as kit-client] | |
[sieppari.core :as sieppari] | |
[sieppari.context] | |
[muuntaja.interceptor] | |
[clojure.core.async :as a :refer [go chan <! <!! >! >!! timeout close! put! take! alts! alts!!]] | |
[reitit.ring :as ring] | |
[reitit.http :as http] |
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 jline3.demo | |
(:gen-class) | |
(:import (org.jline.terminal TerminalBuilder Terminal$SignalHandler Terminal) | |
(org.jline.reader LineReaderBuilder LineReader LineReader$Option) | |
(org.jline.reader.impl LineReaderImpl) | |
(org.jline.utils InfoCmp$Capability))) | |
(defn new-terminal | |
"creates new JLine3 Terminal. | |
returns terminal object" |