Skip to content

Instantly share code, notes, and snippets.

💭
Coding up a storm.

Sean Johnson belucid

  • Chapel Hill, NC
Block or report user

Report or block belucid

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@belucid
belucid / gist:5900746
Created Jul 1, 2013
Define a macro with defmacro, and see what expands to with macroexpand.
View gist:5900746
=> (defmacro test-it [& body] `(do (def foo "bar") ~@body))
#'fcms.app/test-it
fcms.app=> (test-it (println foo))
bar
nil
> (macroexpand '(test-it (println foo)))
(do (def fcms.app/foo "bar") (println foo))
@belucid
belucid / gist:2419995
Created Apr 19, 2012 — forked from axelav/gist:1839777
Sublime Text 2 - Useful Shortcuts
View gist:2419995

Sublime Text 2 – Shortcuts (Mac OS X)

Keys

control
alt
command
shift
enter
You can’t perform that action at this time.