This file contains 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
"transforms" : { | |
"fetch" : true, | |
"syncFrom" : "https://api.bip.io" | |
} |
This file contains 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
#!/usr/bin/node | |
/* this little script takes as its first -and only- argument a string, which is the output of (System/getProperty "java.class.path") | |
* It takes the string and formats it correctly (by breaking it into one entry per line) so it can be used by Beaker Notebook. | |
* Beaker -> Notebook -> Language Selector -> Clojure -> class path (jar files, one per line) | |
* | |
* USAGE: | |
* step 1: cd <clojure project dir> && lein classpath | |
* step 2: copy the output to the clipboard | |
* step 3: open a new terminal window |
This file contains 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
(ns foo | |
(:import java.security.SecureRandom) | |
(defn trytes | |
[size] | |
(let [tryte-alphabet "9ABCDEFGHIJKLMNOPQRSTUVWXYZ"] | |
(apply str (take size (repeatedly #(.charAt tryte-alphabet (.nextInt (SecureRandom.) 27))))))) | |
;; > (trytes 81) |
This file contains 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
.iota{ | |
border-radius: 0; | |
display: inline-block; | |
width: 1px; | |
height: 1px; | |
box-shadow: 0px 0px rgba(0,0,0,0),0px 1px rgba(0,0,0,0),0px 2px rgba(0,0,0,0),0px 3px rgba(0,0,0,0),0px 4px rgba(0,0,0,0),0px 5px rgba(0,0,0,0),0px 6px rgba(0,0,0,0),0px 7px rgba(0,0,0,0),0px 8px rgba(0,0,0,0),0px 9px rgba(0,0,0,0),0px 10px rgba(0,0,0,0),0px 11px rgba(0,0,0,0),0px 12px rgba(0,0,0,0),0px 13px rgba(0,0,0,0),0px 14px rgba(0,0,0,0),0px 15px rgba(0,0,0,0),0px 16px rgba(0,0,0,0),0px 17px rgba(0,0,0,0),0px 18px rgba(0,0,0,0),0px 19px rgba(0,0,0,0),0px 20px rgba(0,0,0,0),0px 21px rgba(0,0,0,0),0px 22px rgba(0,0,0,0),0px 23px rgba(0,0,0,0),0px 24px rgba(0,0,0,0),0px 25px rgba(0,0,0,0),0px 26px rgba(0,0,0,0),0px 27px rgba(0,0,0,0),0px 28px rgba(0,0,0,0),0px 29px rgba(0,0,0,0),0px 30px rgba(0,0,0,0),0px 31px rgba(0,0,0,0),0px 32px rgba(0,0,0,0),0px 33px rgba(0,0,0,0),0px 34px rgba(0,0,0,0),0px 35px rgba(0,0,0,0),0px 36px rgba(0,0,0,0),0px 37px rgba(0,0,0,0),0px 38px rgba(0,0,0,0),0px 39px rgba(0,0,0,0),0px 40px rgba(0,0,0,0),0 |