
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On Sat, Jan 24, 2009 at 7:01 AM, Wirt Wolff wrote:
On Fri, Jan 23, 2009 at 9:50 PM, Gwern Branwen wrote:
.... a repo on haskell.org or keep sending around tarballs, I decided to write a script using the mediawiki Haskell binding which would look up http://haskell.org/haskellwiki/Xmonad/Config_archive and download all the xmonad.hs files for one to peruse at leisure. (This had the advantage of keeping configs centralized at that one page.)
Unfortunately it turns out haskell.org doesn't support the MediaWiki API. Oops. So I wrote it using Tagsoup: ....
I hope this will be useful for people interested at looking at large numbers of xmonad.hs files.
Nice! Thanks, gwern. Handy to have shell accessible configs so easily. As I started discovering neat things perusing the files I found myself wondering which files they belonged to, but also felt messing with fancier file naming wouldn't be worth it. Anyhow, did tweak your program a little to include the url as a comment at the first line of the file. Figured others might want it so hs file is attached.
Cool. I've added a section on it to here: http://haskell.org/haskellwiki/Xmonad/Config_archive#Downloading - -- gwern -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEAREKAAYFAkl7L04ACgkQvpDo5Pfl1oIQkgCcDMrh1We0jcnrxTb9v2GBkmO2 EVcAnjDkr1WOHfDwoNjDwbqnE1I9Tuvr =Ui4S -----END PGP SIGNATURE-----