Skip to content

Instantly share code, notes, and snippets.

@joekarma
Last active August 29, 2015 14:00
Show Gist options
  • Save joekarma/11027912 to your computer and use it in GitHub Desktop.
Save joekarma/11027912 to your computer and use it in GitHub Desktop.
Linking projects to cliki articles.
(defparameter *quicklisp-updated-projects*
"access, alexandria, architecture.hooks, asdf-dependency-grovel, asdf-encodings, babel, caveman, cffi, cffi-objects, cl+ssl, cl-6502, cl-algebraic-data-type, cl-ana, cl-autorepo, cl-autowrap, cl-blapack, cl-charms, cl-colors, cl-data-format-validation, cl-dbi, cl-emb, cl-erlang-term, cl-indeterminism, cl-isaac, cl-lastfm, cl-launch, cl-murmurhash, cl-nxt, cl-olefs, cl-plplot, cl-prime-maker, cl-qprint, cl-quickcheck, cl-randist, cl-rethinkdb, cl-sdl2, cl-sendmail, cl-smtp, cl-syslog, cl-yaclyaml, cl-zmq, clache, clack, clack-errors, cletris, clfswm, climc, climon, clinch, closer-mop, clsql, coleslaw, com.informatimago, common-lisp-stat, dartsclhashtree, define-json-expander, defmacro-enhance, defstar, drakma, elf, ernestine, esrap-liquid, fare-memoization, fare-quasiquote, fare-utils, firephp, fnv, fset, gbbopen, gendl, graph, gtk-cffi, hu.dwim.def, hu.dwim.logger, hu.dwim.util, inferior-shell, integral, iolib, jsown, lambda-reader, lisp-matrix, lisp-unit2, lisp-zmq, lla, lquery, mcclim, monkeylib-prose-diff, more-conditions, optima, paiprolog, pgloader, postmodern, projectured, qmynd, repl-utilities, rutils, scribble, secure-random, single-threaded-ccl, slime, stumpwm, sxql, teepeedee2, trivial-channels, trivial-gray-streams, trivial-ldap, vgplot, weblocks, weblocks-examples, weblocks-stores, weblocks-utils, wookie, xml.location")
(format t "~{~a~^, ~}"
(mapcar (lambda (p) (concatenate 'string
"<a href=\"http://www.cliki.net/"
(drakma:url-encode p :utf8)
"\">"
p
"</a>"))
(ppcre:split ",\\s*" *quicklisp-updated-projects*)))
#|
output:
<a href="http://www.cliki.net/access">access</a>, <a href="http://www.cliki.net/alexandria">alexandria</a>, <a href="http://www.cliki.net/architecture.hooks">architecture.hooks</a>, <a href="http://www.cliki.net/asdf-dependency-grovel">asdf-dependency-grovel</a>, <a href="http://www.cliki.net/asdf-encodings">asdf-encodings</a>, <a href="http://www.cliki.net/babel">babel</a>, <a href="http://www.cliki.net/caveman">caveman</a>, <a href="http://www.cliki.net/cffi">cffi</a>, <a href="http://www.cliki.net/cffi-objects">cffi-objects</a>, <a href="http://www.cliki.net/cl%2Bssl">cl+ssl</a>, <a href="http://www.cliki.net/cl-6502">cl-6502</a>, <a href="http://www.cliki.net/cl-algebraic-data-type">cl-algebraic-data-type</a>, <a href="http://www.cliki.net/cl-ana">cl-ana</a>, <a href="http://www.cliki.net/cl-autorepo">cl-autorepo</a>, <a href="http://www.cliki.net/cl-autowrap">cl-autowrap</a>, <a href="http://www.cliki.net/cl-blapack">cl-blapack</a>, <a href="http://www.cliki.net/cl-charms">cl-charms</a>, <a href="http://www.cliki.net/cl-colors">cl-colors</a>, <a href="http://www.cliki.net/cl-data-format-validation">cl-data-format-validation</a>, <a href="http://www.cliki.net/cl-dbi">cl-dbi</a>, <a href="http://www.cliki.net/cl-emb">cl-emb</a>, <a href="http://www.cliki.net/cl-erlang-term">cl-erlang-term</a>, <a href="http://www.cliki.net/cl-indeterminism">cl-indeterminism</a>, <a href="http://www.cliki.net/cl-isaac">cl-isaac</a>, <a href="http://www.cliki.net/cl-lastfm">cl-lastfm</a>, <a href="http://www.cliki.net/cl-launch">cl-launch</a>, <a href="http://www.cliki.net/cl-murmurhash">cl-murmurhash</a>, <a href="http://www.cliki.net/cl-nxt">cl-nxt</a>, <a href="http://www.cliki.net/cl-olefs">cl-olefs</a>, <a href="http://www.cliki.net/cl-plplot">cl-plplot</a>, <a href="http://www.cliki.net/cl-prime-maker">cl-prime-maker</a>, <a href="http://www.cliki.net/cl-qprint">cl-qprint</a>, <a href="http://www.cliki.net/cl-quickcheck">cl-quickcheck</a>, <a href="http://www.cliki.net/cl-randist">cl-randist</a>, <a href="http://www.cliki.net/cl-rethinkdb">cl-rethinkdb</a>, <a href="http://www.cliki.net/cl-sdl2">cl-sdl2</a>, <a href="http://www.cliki.net/cl-sendmail">cl-sendmail</a>, <a href="http://www.cliki.net/cl-smtp">cl-smtp</a>, <a href="http://www.cliki.net/cl-syslog">cl-syslog</a>, <a href="http://www.cliki.net/cl-yaclyaml">cl-yaclyaml</a>, <a href="http://www.cliki.net/cl-zmq">cl-zmq</a>, <a href="http://www.cliki.net/clache">clache</a>, <a href="http://www.cliki.net/clack">clack</a>, <a href="http://www.cliki.net/clack-errors">clack-errors</a>, <a href="http://www.cliki.net/cletris">cletris</a>, <a href="http://www.cliki.net/clfswm">clfswm</a>, <a href="http://www.cliki.net/climc">climc</a>, <a href="http://www.cliki.net/climon">climon</a>, <a href="http://www.cliki.net/clinch">clinch</a>, <a href="http://www.cliki.net/closer-mop">closer-mop</a>, <a href="http://www.cliki.net/clsql">clsql</a>, <a href="http://www.cliki.net/coleslaw">coleslaw</a>, <a href="http://www.cliki.net/com.informatimago">com.informatimago</a>, <a href="http://www.cliki.net/common-lisp-stat">common-lisp-stat</a>, <a href="http://www.cliki.net/dartsclhashtree">dartsclhashtree</a>, <a href="http://www.cliki.net/define-json-expander">define-json-expander</a>, <a href="http://www.cliki.net/defmacro-enhance">defmacro-enhance</a>, <a href="http://www.cliki.net/defstar">defstar</a>, <a href="http://www.cliki.net/drakma">drakma</a>, <a href="http://www.cliki.net/elf">elf</a>, <a href="http://www.cliki.net/ernestine">ernestine</a>, <a href="http://www.cliki.net/esrap-liquid">esrap-liquid</a>, <a href="http://www.cliki.net/fare-memoization">fare-memoization</a>, <a href="http://www.cliki.net/fare-quasiquote">fare-quasiquote</a>, <a href="http://www.cliki.net/fare-utils">fare-utils</a>, <a href="http://www.cliki.net/firephp">firephp</a>, <a href="http://www.cliki.net/fnv">fnv</a>, <a href="http://www.cliki.net/fset">fset</a>, <a href="http://www.cliki.net/gbbopen">gbbopen</a>, <a href="http://www.cliki.net/gendl">gendl</a>, <a href="http://www.cliki.net/graph">graph</a>, <a href="http://www.cliki.net/gtk-cffi">gtk-cffi</a>, <a href="http://www.cliki.net/hu.dwim.def">hu.dwim.def</a>, <a href="http://www.cliki.net/hu.dwim.logger">hu.dwim.logger</a>, <a href="http://www.cliki.net/hu.dwim.util">hu.dwim.util</a>, <a href="http://www.cliki.net/inferior-shell">inferior-shell</a>, <a href="http://www.cliki.net/integral">integral</a>, <a href="http://www.cliki.net/iolib">iolib</a>, <a href="http://www.cliki.net/jsown">jsown</a>, <a href="http://www.cliki.net/lambda-reader">lambda-reader</a>, <a href="http://www.cliki.net/lisp-matrix">lisp-matrix</a>, <a href="http://www.cliki.net/lisp-unit2">lisp-unit2</a>, <a href="http://www.cliki.net/lisp-zmq">lisp-zmq</a>, <a href="http://www.cliki.net/lla">lla</a>, <a href="http://www.cliki.net/lquery">lquery</a>, <a href="http://www.cliki.net/mcclim">mcclim</a>, <a href="http://www.cliki.net/monkeylib-prose-diff">monkeylib-prose-diff</a>, <a href="http://www.cliki.net/more-conditions">more-conditions</a>, <a href="http://www.cliki.net/optima">optima</a>, <a href="http://www.cliki.net/paiprolog">paiprolog</a>, <a href="http://www.cliki.net/pgloader">pgloader</a>, <a href="http://www.cliki.net/postmodern">postmodern</a>, <a href="http://www.cliki.net/projectured">projectured</a>, <a href="http://www.cliki.net/qmynd">qmynd</a>, <a href="http://www.cliki.net/repl-utilities">repl-utilities</a>, <a href="http://www.cliki.net/rutils">rutils</a>, <a href="http://www.cliki.net/scribble">scribble</a>, <a href="http://www.cliki.net/secure-random">secure-random</a>, <a href="http://www.cliki.net/single-threaded-ccl">single-threaded-ccl</a>, <a href="http://www.cliki.net/slime">slime</a>, <a href="http://www.cliki.net/stumpwm">stumpwm</a>, <a href="http://www.cliki.net/sxql">sxql</a>, <a href="http://www.cliki.net/teepeedee2">teepeedee2</a>, <a href="http://www.cliki.net/trivial-channels">trivial-channels</a>, <a href="http://www.cliki.net/trivial-gray-streams">trivial-gray-streams</a>, <a href="http://www.cliki.net/trivial-ldap">trivial-ldap</a>, <a href="http://www.cliki.net/vgplot">vgplot</a>, <a href="http://www.cliki.net/weblocks">weblocks</a>, <a href="http://www.cliki.net/weblocks-examples">weblocks-examples</a>, <a href="http://www.cliki.net/weblocks-stores">weblocks-stores</a>, <a href="http://www.cliki.net/weblocks-utils">weblocks-utils</a>, <a href="http://www.cliki.net/wookie">wookie</a>, <a href="http://www.cliki.net/xml.location">xml.location</a>
|#
@Devon7
Copy link

Devon7 commented Apr 18, 2014

(format t "~{<a href='http://www.cliki.net/~A'>~A</a>~^, ~}"
        (mapcan (lambda (p)
                  "What, no html-encode?"
                  (list (drakma:url-encode p :utf8)
                        p))
                (ppcre:split ",\\s*" *quicklisp-updated-projects*)))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment