annotate org/steph.org @ 7:68ce1f2eb7a6

added image.
author Robert McIntyre <rlm@mit.edu>
date Mon, 17 Sep 2012 21:20:35 -0400
parents ed2906578cd6
children 5676533b82d8
rev   line source
rlm@6 1 #+title: Gooodbye
rlm@6 2 #+author: Robert McIntyre
rlm@6 3 #+email: rlm@mit.edu
rlm@6 4 #+setupfile: ../../aurellem/org/setup.org
rlm@6 5 #+include: ../../aurellem/org/level-0.org
rlm@6 6
rlm@6 7
rlm@7 8
rlm@7 9 [[../images/steph.jpg]]
rlm@7 10
rlm@6 11 #+begin_src clojure :results output :exports both
rlm@6 12 (def steph-birth (DateMidnight. 1990 12 2))
rlm@6 13
rlm@6 14 (def steph-death (DateMidnight. 2012 7 26))
rlm@6 15
rlm@6 16 (def life (Interval. steph-birth steph-death))
rlm@6 17
rlm@6 18 (printf
rlm@6 19 "%d days."
rlm@6 20 (.getStandardDays (.toDuration life)))
rlm@6 21 #+end_src
rlm@6 22
rlm@6 23 #+results:
rlm@6 24 : 7906 days.
rlm@6 25
rlm@7 26 Goodbye Stephanie. I will miss you always.
rlm@6 27