Last active
August 29, 2015 14:24
-
-
Save thomas-shares/048fdb2eabac62844074 to your computer and use it in GitHub Desktop.
How many ways are there to say "morning" in Clojure?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(->> ((->> [0 2 5 1 -4 1 -6] (map #(partial + %)) (apply juxt)) 109) byte-array (String.))` | |
morning | |
(loop [txt ""] (if (= 1803412773 (hash txt)) txt (recur (apply str (repeatedly 7 (fn [] (char (rand-nth [114 105 110 111 109 103])))))))) | |
(->> "bW9ybmluZw==" | |
.getBytes | |
(.decode (java.util.Base64/getDecoder)) | |
(new String)) | |
(apply str (map (fn* [p1__779#] (char (Integer/parseInt (apply str p1__779#) 2))) (partition 8 "01101101011011110111001001101110011010010110111001100111"))) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment