FIXME: description
Download from http://example.com/FIXME.
# simple-cdd.conf detailed configuration file | |
# Note: this is an example list of configuration options: it is *strongly* | |
# advised to merely create a new file using only the options you actually need. | |
# Note: Variables in lowercase are only used by simple-cdd. | |
# Profile Selection | |
# | |
# The following four files get included on the CD if present: |
code { | |
white-space: pre-wrap; | |
background-color: #dddddd; | |
border-radius: .4em; | |
} | |
.block { | |
display: block; | |
} |
FIXME: description
Download from http://example.com/FIXME.
table { | |
font-family: arial, sans-serif; | |
border-collapse: collapse; | |
width: 100%; | |
} | |
td, th { | |
border: 1px solid #dddddd; | |
text-align: left; | |
padding: 8px; |
.passing { | |
background-color: #6EFF75; | |
} | |
.warning { | |
background-color: #E8C359; | |
} | |
.failed { | |
background-color: #FF4D4D; | |
} |
(import 'java.security.MessageDigest | |
'java.math.BigInteger) | |
(defn md5 [s] | |
(let [algorithm (MessageDigest/getInstance "MD5") | |
size (* 2 (.getDigestLength algorithm)) | |
raw (.digest algorithm (.getBytes s)) | |
sig (.toString (BigInteger. 1 raw) 16) | |
padding (apply str (repeat (- size (count sig)) "0"))] | |
(str padding sig))) |
#VIM Shortcuts
##How to Exit
Command | Description |
---|---|
:q[uit] | Quit Vim. This fails when changes have been made. |
:q[uit]! | Quit without writing. |
:cq[uit] | Quit always, without writing. |
:wq | Write the current file and exit. |
<!doctype html> | |
<title>Site Maintenance</title> | |
<style> | |
body { text-align: center; padding: 150px; } | |
h1 { font-size: 50px; } | |
body { font: 20px Helvetica, sans-serif; color: #333; } | |
article { display: block; text-align: left; width: 650px; margin: 0 auto; } | |
a { color: #dc8100; text-decoration: none; } | |
a:hover { color: #333; text-decoration: none; } | |
</style> |
(defn stringmap->keymap | |
"Converts a map with strings as keys into a map with keywords" | |
[m] | |
(into {} | |
(for [[k v] m] | |
[(keyword k) v]))) |