Skip to content

Instantly share code, notes, and snippets.

@doubledup
doubledup / clisp_hex_encoding.cl
Created March 16, 2018 15:49
A scratchpad for (string <-> hex number) conversion
(format nil "~{~c~}"
(mapcar (lambda (dec)
(code-char dec))
(mapcar (lambda (hex)
(parse-integer hex :radix 16))
'("48" "61" "70" "70" "79" "20" "42" "69" "72" "74" "68" "64" "61" "79" "20" "44" "61" "76" "69" "64" "20" "44" "75" "6E" "6E"))))
(defun encode-string (input-string)
(format nil "~S"
(mapcar (lambda (code)
@doubledup
doubledup / keybase.md
Created March 5, 2018 14:23
Keybase identity proof

Keybase proof

I hereby claim:

  • I am doubledup on github.
  • I am doubledup (https://keybase.io/doubledup) on keybase.
  • I have a public key whose fingerprint is 7E20 954D 6B93 5AAA 5E1E 0CA1 CCAA 90A5 6EBD 2191

To claim this, I am signing this object: