start new:
tmux
start new with session name:
tmux new -s myname
(defn uuid [] (str (java.util.UUID/randomUUID))) |
// First argument (or array element for nested arrays) is tag name. | |
// Second can optionally be an object, in which case it is used to | |
// supply attributes. All others are added to the tag's body. | |
html("p", {"class": "foo"}, "hello world", "!") | |
'<p class="foo">hello world!</p>' | |
// Shortcuts for denoting id and class attributes | |
html("p#foo.bar.baz", "hello world!") | |
'<p id="foo" class="bar baz">hello world!</p>' |