Mercurial > thoughts
view org/steph.org @ 136:46bc0f596b91
ideas from reading /life in the frozen state/.
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sun, 07 Sep 2014 21:35:52 -0700 |
parents | 8714919e1e52 |
children |
line wrap: on
line source
1 #+title: Gooodbye2 #+author: Robert McIntyre3 #+email: rlm@mit.edu4 #+setupfile: ../../aurellem/org/setup.org5 #+include: ../../aurellem/org/level-0.org7 [[../images/steph.jpg]]9 #+begin_src clojure :results output :exports both10 (import '(org.joda.time DateMidnight Interval))12 (def steph-birth (DateMidnight. 1990 12 2))14 (def steph-death (DateMidnight. 2012 7 26))16 (def life (Interval. steph-birth steph-death))18 (printf19 "%d days."20 (.getStandardDays (.toDuration life)))21 #+end_src23 #+results:24 : 7906 days.26 Goodbye Stephanie. I will miss you.