Skip to content

Instantly share code, notes, and snippets.

View dantheobserver's full-sized avatar
🤖
I have a mission

dantheobserver dantheobserver

🤖
I have a mission
View GitHub Profile
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active August 28, 2025 11:38
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@gorsuch
gorsuch / gist:1418850
Created December 1, 2011 18:37
clojure uuid
(defn uuid [] (str (java.util.UUID/randomUUID)))
@hns
hns / hiccup-examples.js
Created October 29, 2010 19:29
Simple hiccup implementation in JavaScript
// 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>'