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 escherize.kenning | |
(:require [selmer.parser :as parser])) | |
(defmacro ^:private env-map [] | |
`(apply zipmap [(mapv keyword (quote ~(keys &env))) (vector ~@(keys &env))])) | |
(defn ^:private resolve-kw [env kw] | |
(when-let [found-sym (or | |
(get env kw nil) | |
(try (eval (symbol kw)) |
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
;; Middleware is a way to define a stack of operations applied to a function | |
;; call. It's a common pattern for parsing and handling http requests. A | |
;; handler function is wrapped by a middleware function. Let's narrow in on | |
;; http handling, then: | |
;; Let's call a 'handler function' a function that accepts as its input a | |
;; request, and returns a response. | |
(defn my-handler-fn [request] | |
{:status 200 :body "42"}) |
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
===== begin copy ===== | |
Dear Hiring Manager, | |
I would like to express my interest in the {{position}} position posted in the career section of your site. I have enclosed my resume detailing my unique skill set for you. | |
I recently graduated from the User Experience Design Immersive program at General Assembly where I improved my skills in most every facet of user experience design. I esspecially excelled at {{user research methods, prototyping, wireframing, user flows, and interaction design}}. Plus, I hold a BFA in Digital Art from the University of Washington. I have an insatiable passion for designing great digital products and to cultivate myself at {{company}} in a design capacity would be a dream for me. | |
As a design consultant for Centro Community Partners, I was given the opportunity to use my skills in interaction design and product development to lay plans for a mobile application for business consultants. I developed {{features, user research, personas, site map, wireframes ,user flows, and many it |
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
{:nov-21 | |
[["9:00AM - 9:10AM" {:speaker "Welcome"}] | |
["9:10AM - 9:50AM" | |
[{:speaker "Derek Troy-West", | |
:title "Follow the Data: Product Development in Clojure", | |
:link "http://2019.clojure-conj.org/speaker-derek-troy-west/"}]] | |
["10:00AM - 10:40AM" | |
[{:speaker "Ariel Ortiz", | |
:title "The Hitchhikers Guide to Multiparadigm Programming", | |
:link "http://2019.clojure-conj.org/speaker-ariel-ortiz/"}]] |
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 super-sratch.minstack) | |
(defprotocol Stack (push [this x]) (peek [this]) (pop [this])) | |
(defprotocol FindMin (find-min [this])) | |
(defprotocol FindMax (find-max [this])) | |
(defrecord fmm-stack [stack minstack maxstack] | |
Stack | |
(push [this x] | |
(merge this {:stack (vec (conj stack x))} |
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
import CoreGraphics | |
var display_id = CGMainDisplayID(); | |
// "BGRA" | |
print(display_id); |
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
import CoreGraphics | |
var display_id = CGMainDisplayID(); | |
print(display_id); |
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
import CoreGraphics | |
var id = CGMainDisplayID(); | |
print(id); |
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
import CoreGraphics | |
Any id = CGMainDisplayID(); | |
print(id) |