Mercurial > thoughts
view org/steph.org @ 72:ace7f097eb6c
add chess idea.
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 09 Nov 2013 03:18:26 -0500 |
parents | 5676533b82d8 |
children | 8714919e1e52 |
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.org9 [[../images/steph.jpg]]11 #+begin_src clojure :results output :exports both12 (import '(org.joda.time DateMidnight Interval))14 (def steph-birth (DateMidnight. 1990 12 2))16 (def steph-death (DateMidnight. 2012 7 26))18 (def life (Interval. steph-birth steph-death))20 (printf21 "%d days."22 (.getStandardDays (.toDuration life)))23 #+end_src25 #+results:26 : 7906 days.28 Goodbye Stephanie. I will miss you always.