Mercurial > rlm
view src/rlm/identify.clj @ 3:c8e35134bf8e
working on qotd.
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Wed, 18 Jan 2012 05:18:57 -0700 |
parents | 78a630e650d2 |
children |
line wrap: on
line source
1 (ns rlm.identify2 "I want to be able to tell what computer I'm using.3 I do this with a magic file."4 {:author "Robert McIntyre"}5 (use [clojure [string :only [trim-newline]]]))7 (def magic-file "/home/r/.identify-computer")9 (defn identify []10 (trim-newline (slurp magic-file)))