Skip to content

Instantly share code, notes, and snippets.

View andnils's full-sized avatar

Anders Nilsson andnils

  • Växjö, Sweden
View GitHub Profile
@borkdude
borkdude / text_xform.clj
Created September 1, 2017 13:07
Clojure text files transducer
(ns text-xform
(:require [clojure.java.io :as io]
[clojure.string :as str]
[cheshire.core :as json])
(:import [java.io BufferedReader]))
;;;; inspired by https://tech.grammarly.com/blog/building-etl-pipelines-with-clojure
(def db (atom 0))
(ns ical.core
(:require
[om.core :as om :include-macros true]
[om.dom :as dom :include-macros true]
[sablono.core :as html :refer-macros [html]]))
(enable-console-print!)
(def weekdays ["saturday" "monday" "tuesday" "wednesday" "thursday" "friday" "sunday"])