A carousel is a representation of actions cards, with an optional image card and a title.
Actions for a carousel are represented by an ActionsCollection
.
Since these collections of actions aren't necessarily rendered via a carousel, the ActionsCollection
DTO is independent of front end concerns.
type Action = {
I hereby claim:
- I am iantruslove on github.
- I am iantruslove (https://keybase.io/iantruslove) on keybase.
- I have a public key ASCHv0Fr-8GYr23bj7u5BqSAnBn1sbMe_ayza9qIWzjx9Qo
To claim this, I am signing this object:
Two terminal windows open, one with a bunch of long running watch tasks, the other with an editor. Each of the terminals is a view into one of two windows in a tmux session. Useful for having a vertically split screen with editor on right, and switching between a browser and other command windows on the left.
In first terminal:
tmux new-session -s first
tmux rename-window editor
emacs
or whatever
In second terminal:
tmux new-session -t first -s second
Shown at Feb '14 Den of Clojure
So you've read the blogs and thought how fun it would be to write web front ends with your favorite lisp. Perhaps you've even fired up the repl and done a little playing. But how do you get from there to a
(ns specfoo.core | |
(:require [clojure.spec.gen.alpha :as gen] | |
[clojure.spec.alpha :as s])) | |
(distinct (remove coll? (gen/sample (s/gen any?) 100))) |
;; ~/.lein/profiles.clj | |
{:user {:source-paths ["/Users/ian/.lein/src"] | |
:injections [(require 'spyscope.core)] | |
:dependencies [[evalive "1.1.0"] | |
[spyscope "0.1.7-SNAPSHOT"]] | |
}} |
Check out this (sadly unmerged) PR: | |
https://github.com/hchbaw/eval-sexp-fu.el/pull/3/files | |
replacing preceding-sexp with elisp--preceding-sexp by danielschranz · Pull Request #3 · hchbaw/eval-sexp-fu.el | |
This is to avoid the obsolete warning in Emacs 25.1 (see: http://doc.endlessparentheses.com/Fun/preceding-sexp.html) | |
find your eval-sexp-fu source file, and patch it - there's 2 replacements of preceding-sexp with elisp--preceding-sexp | |
the file is something like ~/.emacs.d/elpa/eval-sexp-fu-20131230.1351/eval-sexp-fu.el |