I hereby claim:
- I am kaffein on github.
- I am kaffein (https://keybase.io/kaffein) on keybase.
- I have a public key ASDlbYgwx23bB7NrYR67hntdDOaP1XhPzzG1dR3Xsxuw1Qo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
(require '[clj-http.client :as http]) | |
(require '[clojure.core.async :as a]) | |
(require '[clojure.string :as string]) | |
(require '[clojure.java.io :as io]) | |
(import '[java.io InputStream]) | |
(def event-mask (re-pattern (str "(?s).+?\r\n\r\n"))) | |
(defn- parse-event [raw-event] | |
(->> (re-seq #"(.*): (.*)\n?" raw-event) |
(ns yetibot.commands.scala | |
(:require | |
[taoensso.timbre :refer [info warn error]] | |
[yetibot.core.hooks :refer [cmd-hook]] | |
[clj-http.client :as client] | |
[clojure.string :as s] | |
[cheshire.core :as json] | |
[kvlt.core :as kvlt] | |
[clojure.core.async :as async])) |
(async/<!! | |
(async/go-loop [n 0 acc {}] | |
(if (< n 10) | |
;; keep aggregating values | |
(recur (inc n) (assoc acc n (* n n))) | |
;; done aggregating, return the accumulated values | |
acc))) |
shibuya.el | |
dazza.el | |
elpa/ | |
places | |
eshell/ | |
.smex-items | |
ac-comphist.dat | |
projectile-bookmarks.eld |
package ch.deepimpact; | |
import java.io.IOException; | |
import java.nio.file.Files; | |
import java.nio.file.Paths; | |
import java.util.List; | |
import java.util.Vector; | |
import java.util.stream.Collectors; |