Skip to content

Instantly share code, notes, and snippets.

@ezmiller
ezmiller / Datomic News Updates
Created March 12, 2017 17:25 — forked from k1m190r/Datomic News Updates
Datomic update examples against a social news database
;; Datomic example code
;; demonstrates various update scenarios, using a news database
;; that contains stories, users, and upvotes
;; grab an in memory database
(use '[datomic.api :only (q db) :as d])
(def uri "datomic:mem://foo")
(d/create-database uri)
(def conn (d/connect uri))
@ezmiller
ezmiller / gist:3289017
Created August 7, 2012 20:26 — forked from robflaherty/gist:1129904
Stylus conversion of Normalize.css
/*
* Normalize.css converted to Stylus
* http://github.com/necolas/normalize.css
*/
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section
display: block
audio, canvas, video
display: inline-block
@ezmiller
ezmiller / index.html
Created July 25, 2012 01:38 — forked from anonymous/index.html
css3 translate expanding menu
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>CodePen &middot; Pen</title>
<!--
Copyright (c) 2012 Mahroof Ali, http://codepen.io/anon
Permission is hereby granted, free of charge, to any person obtaining