Move from physics.drexel.edu/~wking/unfolding-disasters to blog.tremily.us.
authorW. Trevor King <wking@drexel.edu>
Thu, 15 Dec 2011 18:57:28 +0000 (13:57 -0500)
committerW. Trevor King <wking@drexel.edu>
Thu, 15 Dec 2011 18:57:34 +0000 (13:57 -0500)
Also assorted cleanups and sanitation work.

42 files changed:
ikiwiki.setup [changed mode: 0644->0755]
posts/Bugs.mdwn
posts/Comedi.mdwn
posts/Compose_key.mdwn
posts/DocBook_5.mdwn
posts/Emacs.mdwn
posts/Email_interface_to_bugs_everywhere.mdwn
posts/FOAF/biblio.rdf.asc
posts/FOAF/foaf.rdf
posts/FOAF/foaf.rdf.asc
posts/Gentoo_Prefix_overlay/layman.xml
posts/Gentoo_overlay/layman.xml
posts/Getting_numbers_from_journal_figures.mdwn
posts/Git/notes.org
posts/Giving_up_on_Gompertz_theory.mdwn
posts/Hooke-update-2.mdwn
posts/Hooke-update.mdwn
posts/Numpydoc_and_Sphinx_1.0.mdwn
posts/Parallel_computing.mdwn
posts/Reading_IGOR_binary_waves_from_Python.mdwn
posts/SSI/footer.shtml
posts/SSI/header.shtml
posts/Stripchart.mdwn
posts/Subversion.mdwn
posts/Thesis/Makefile
posts/Tove_overlay.mdwn
posts/Tove_overlay/layman.xml [deleted file]
posts/Xmodmap/Makefile
posts/cookbook.mdwn
posts/dotfiles.mdwn
posts/git-php.mdwn
posts/mdwn_itex.mdwn_itex
posts/mdwn_itex/mdwn_itex-templates.patch [deleted file]
posts/mdwn_itex/mdwn_itex.patch [deleted file]
posts/mdwn_itex/mdwn_itex.pm [deleted file]
posts/problempack.mdwn
posts/problempack/Makefile
posts/rel-vcs/chrome/content/about.xul
posts/rel-vcs/install.rdf
posts/send_pgp_mime.mdwn
sidebar.mdwn
templates/gitrepo.mdwn

old mode 100644 (file)
new mode 100755 (executable)
index 3f728df..b81ff49
@@ -19,11 +19,11 @@ use IkiWiki::Setup::Standard {
        # where to build the wiki
        destdir => 'html',
        # base url to the wiki
-       url => 'http://www.physics.drexel.edu/~wking/unfolding-disasters',
+       url => 'http://blog.tremily.us/',
        # url to the ikiwiki.cgi
-       #cgiurl => 'http://www.physics.drexel.edu/~wking/unfolding-disasters/ikiwiki.cgi',
+       #cgiurl => 'http://blog.tremily.us/cgi-bin/ikiwiki.cgi',
        # filename of cgi wrapper to generate
-       #cgi_wrapper => '/tmp/ikiwiki.build/ikiwiki.cgi',
+       #cgi_wrapper => 'html/cgi-bin/ikiwiki.cgi',
        # mode for cgi_wrapper (can safely be made suid)
        #cgi_wrappermode => '06755',
        # rcs backend to use
@@ -127,9 +127,15 @@ use IkiWiki::Setup::Standard {
 
        # mdwn_itex plugin
        # path to the itex2MML binary
-       #itex2mml => '/usr/local/bin/itex2MML',
-       itex2mml => '/home/wking/bin/itex2MML --unicode-entities',
-       # autonumber \[..\] equations?
+       #itex2mml => '/usr/bin/itex2MML',
+       itex2mml => '/home/wking/bin/itex2MML',
+  # Must return numeric character references (e.g. &#x003B1;) or UTF-8
+  # instead of MathML entities (e.g. &alpha;).  If you're using the
+  # stock itex2MML, you might use a script like this:
+  #    #!/bin/sh
+  #    /usr/bin/itex2MML "${@}" | perl -e 'use MathML::Entities; print name2numbered($_) while(<>);'
+
+       # autonumber \[..\]x equations?
        itex_num_equations => 1,
 
        # recentchanges plugin
@@ -140,7 +146,7 @@ use IkiWiki::Setup::Standard {
 
        # repolist plugin
        # URIs of repositories containing the wiki's source
-       repositories => [qw{http://www.physics.drexel.edu/~wking/code/git/blog.git}],
+       repositories => [qw{git://tremily.us/blog.git}],
 
        # sidebar plugin
        # show sidebar page on all pages?
index 79712fda5166c4c4b4a5aca5769bcc0a55e20935..aeb2e31b9c27b7853f7d407f6400481223f9b063 100644 (file)
@@ -158,7 +158,7 @@ the changes at the time and my changes have bit-rotted since then.
 I'm currently using using the `gitweb` distributed with [[Git]], which
 is why I wasn't on the ball in getting the changes accepted upstream.
 
-[git-php]: http://www.physics.drexel.edu/~wking/code/git/gitweb.cgi?p=git-php.git;a=summary
+[git-php]: http://git.tremily.us/?p=git-php.git;a=summary
 [PV]: http://people.proekspert.ee/peeter/git/git.php?p=git-php.git
 [JDG]: http://github.com/josegonzalez/git-php
 
index eddada961005ce534c7914f641f07f5f68c9afed..a05e61b0ecc92d33861f7acd02fd77e759cef14e 100644 (file)
@@ -23,7 +23,7 @@ and added them to my [[Gentoo overlay]].
 [Comedi]: http://www.comedi.org/
 [6052E]: http://sine.ni.com/nips/cds/view/p/lang/en/nid/2601
 [external]: http://comedi.org/git?p=comedi/comedi.git;a=summary
-[kernel]: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=tree;f=drivers/staging/comedi
+[kernel]: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=tree;f=drivers/staging/comedi;hb=HEAD
 [Debian]: http://packages.debian.org/sid/python-comedilib
 [Ubuntu]: http://packages.ubuntu.com/natty/python-comedilib
 [Gentoo]: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sci-libs/comedilib/?hideattic=0
index 0413487f88b8369a348a7c924a944e376ebafa55..0a614f18f6cf7d2d26fed4b6fc0d3fab60ec12ed 100644 (file)
@@ -100,7 +100,7 @@ an `~/.XCompose` file:
     $ cat ~/.XCompose
     include "%L"
 
-    <Multi_key> <h> <o> <m> <e> : "http://physics.drexel.edu/~wking"  # Home page
+    <Multi_key> <h> <o> <m> <e> : "http://tremily.us/"  # Home page
 
 Read `Compose(5)` for more information.  You may need to log out and
 log back in (or use the [[newgrp]] trick) for your new `~/.XCompose`
index 0534c9410ef7b1d13cb90152367da7c4d7af0aac..511d7e3cbf775b9fcb4893b092cdc529a4334bc9 100644 (file)
@@ -9,14 +9,14 @@ If you are interested in DocBook-based manpages, take a look at my
 documentation.  You can also try the [official BE
 documentation][BE_doc], but that sometimes lags behind my version.
 
-[man]: http://www.physics.drexel.edu/~wking/code/git/git.php?tr=c9ce0b30672d653f46d0a2c269c468e8cffb9a97&tag=0a993be001ab5ff250fae4c5f20bab11f89e30cb&p=be.git&a=jump_to_tag&b=3b5c8d094c4f16257bdf1b4ba3edb6ca7351054c&n=be.1.xml
+[man]: http://git.tremily.us/?p=be.git;a=blob;f=be.1.xml;hb=HEAD
 
 [BE]: http://bugseverywhere.org/
 [DB]: http://www.docbook.org/
 [xsltproc]: http://www.xmlsoft.org/XSLT/
 
-[doc]: http://www.physics.drexel.edu/~wking/code/be/doc/doc.html#man-page
-[install]: http://www.physics.drexel.edu/~wking/code/be/doc/install.html#dependencies
+[doc]: http://doc.be.tremily.us/doc.html#man-page
+[install]: http://doc.be.tremily.us/install.html#dependencies
 
 [BE_doc]: http://docs.bugseverywhere.org/
 
index b3285eb70005554ce194d82f539230a566d9ea37..6a8be75ecdf913aac2ef45611d68d6b4d60d3ab6 100644 (file)
@@ -1,4 +1,3 @@
-
 [Emacs][] is the text exitor that does everything.  Take a look at the
 liki pages on [emacs in general][general], [unicode][], and
 [org-mode][].
index 350fa9c7e71ef961d50aed117f14d2761cf84d34..4de9a8c0700b2bcd61a0b31c4e35fb2c90ac5104 100644 (file)
@@ -31,7 +31,7 @@ with other devs, so I don't have to bother with that ;).
 
 Curious parties can branch my public repo:
 
-    $ bzr branch http://www.physics.drexel.edu/~wking/code/bzr/be-email be.email
+    $ git clone http://www.physics.drexel.edu/~wking/code/bzr/be-email be.email
 
 As a nice side effect of this little project, my [[send_pgp_mime] is
 now much more elegant.
index 3f39dcbc97ede024834974b4e6f84c2261fc6887..b4420ba7674ac720d51bb801966d080e85fee9bf 100644 (file)
@@ -1,7 +1,11 @@
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.11 (GNU/Linux)
+Version: GnuPG v2.0.17 (GNU/Linux)
 
-iEYEABECAAYFAk2nWZQACgkQ/Cm9zfFfW+heCQCgnEgIRw4RSjI9mTYN3MWQR3Se
-GR4AoJZMepIJBCVsl11sS+D0pL0/nnTD
-=4aHg
+iQEcBAABAgAGBQJO4TiuAAoJEPe7CdOcrcTZs0YH/35bxO8bEZfMU+8ir//OXo4R
+pS/rjjDMfp3NO8aA83qkM4c6ufLAyCktFxs/zDH28q6R0+eOo07IWWUpocGQA1vv
+qNHqkKmKH2vTi+4emUIEwkbJBSdfEZdf9zoOl6Sbl2qlatu4Hwn7Tnh8D58dYjt7
+Y9bvZB0AIuerWFffD4cm22a0uUSvaCDXiiZJtibh4B1yrLmBm1whS+00pUEhMkXu
+uYj88kwYVtcdcH5AGocxYMhfMEkT5WN36P0LuLVJ5+7BpdRXwPtjJWS6huTSNYZB
+YDNV14aedYtRowPia0qYjM7lKS3YLTfj66opZzlX3on6pij21HC/KS95bcpgTzs=
+=ND2N
 -----END PGP SIGNATURE-----
index 640ac038e5ec4a5742087073b31a6832a3262555..dc26443ca74ef96db8bc6ea2178be4395c3865ca 100644 (file)
@@ -13,9 +13,9 @@
     <foaf:mbox_sha1sum>031d265f390b454d9b62554ab6ae12978f473f53
     </foaf:mbox_sha1sum>
     <hasKey rdf:nodeID="F15F5BE8"/>
-    <foaf:homepage rdf:resource="http://www.physics.drexel.edu/~wking/"/>
-    <foaf:workplaceHomepage rdf:resource="http://www.physics.drexel.edu/~wking/"/>
-    <foaf:weblog rdf:resource="http://www.physics.drexel.edu/~wking/unfolding-disasters/"/>
+    <foaf:homepage rdf:resource="http://tremily.us/"/>
+    <foaf:workplaceHomepage rdf:resource="http://physics.drexel.edu/~wking/"/>
+    <foaf:weblog rdf:resource="http://blog.tremily.us/"/>
     <foaf:schoolHomepage rdf:resource="http://www.colgate.edu/"/>
     <foaf:schoolHomepage rdf:resource="http://www.rochester.edu/"/>
     <foaf:schoolHomepage rdf:resource="http://www.drexel.edu/"/>
@@ -23,7 +23,7 @@
   </foaf:Person>
   <PubKey rdf:nodeID="F15F5BE8">
     <hex_id>F15F5BE8</hex_id>
-    <pubkeyAddress rdf:resource="http://www.physics.drexel.edu/~wking/pubkey.txt"/>
+    <pubkeyAddress rdf:resource="http://tremily.us/pubkey.txt"/>
   </PubKey>
   <!-- digital signature for this file -->
   <rdf:Description rdf:about="">
index d99ba40d9450c304af5f00aa6f50e93ba7b3dee0..524b86acd37ce29960150927f693da62184a4609 100644 (file)
@@ -1,7 +1,11 @@
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.11 (GNU/Linux)
+Version: GnuPG v2.0.17 (GNU/Linux)
 
-iEYEABECAAYFAk2nW1wACgkQ/Cm9zfFfW+hhKACffzrs5NCiOqcMQPsguGxnCHnn
-qV4An2vMNlrIC5xjs6anse318f/95l3s
-=gz71
+iQEcBAABAgAGBQJO4TiuAAoJEPe7CdOcrcTZmm0H/idVFFzvdG6KWtDW8A/j0Rot
+M9Bn14+39NhnzkO7S0CCk3tl6BbzbjEHVup+HyvdSHph+8DQXhVazcDeR8mr6pkV
+wwjleprWIkyKIHZBPc2oAGO/PyQk1uyTNBN1TXA70j9y7PJ0/ybJrAvW8BevDpUB
+IM8xv5+h0F1Av/joLctZHcEMPZZISVpa/RlyF5aylmfwdCby4GGaBDKknD4I3gLw
+wGwims5UCwtrKX9k2LIUdv2NHtG9Vvj5UXs8SyVlX0sJLQUhDrY0xzJQ4YRI//fw
+9Dtmu3uapgVGk1mxOhWE6dHVg0IMKvfhmcLOtGx1PqY4U/A9HTI6b55N9/4SR7Q=
+=CilW
 -----END PGP SIGNATURE-----
index 35e10a415475187221f910545c579ae446d5887c..87c7e6ecf078e406610117f29d2a13f295695de8 100644 (file)
@@ -5,19 +5,19 @@
     <name>wtk</name>
     <description>W. Trevor King's prefix overlay</description>
     <homepage>
-      http://www.physics.drexel.edu/~wking/unfolding-disasters/posts/Gentoo_Prefix_overlay/
+      http://blog.tremily.us/posts/Gentoo_Prefix_overlay/
     </homepage>
     <owner>
       <email>wking@drexel.edu</email>
     </owner>
     <source type="git">
-      http://www.physics.drexel.edu/~wking/code/git/wtk-prefix-overlay.git
+      git://tremily.us/wtk-prefix-overlay.git
     </source>
     <feed>
-      http://www.physics.drexel.edu/~wking/code/git/gitweb.cgi?p=wtk-prefix-overlay.git;a=atom
+      http://git.tremily.us?p=wtk-prefix-overlay.git;a=atom
     </feed>
     <feed>
-      http://www.physics.drexel.edu/~wking/code/git/gitweb.cgi?p=wtk-overlay.git;a=rss
+      http://git.tremily.us?p=wtk-prefix-overlay.git;a=rss
     </feed>
   </repo>
 </repositories>
index c8886eec9adeba4f328334793bb0bb9822fa5d59..f3d858d2633e53331ad19545fffb09815e835950 100644 (file)
@@ -5,19 +5,19 @@
     <name>wtk</name>
     <description>W. Trevor King's overlay</description>
     <homepage>
-      http://www.physics.drexel.edu/~wking/unfolding-disasters/posts/Gentoo_overlay/
+      http://blog.tremily.us/posts/Gentoo_overlay/
     </homepage>
     <owner>
       <email>wking@drexel.edu</email>
     </owner>
     <source type="git">
-      http://www.physics.drexel.edu/~wking/code/git/wtk-overlay.git
+      git://tremily.us/wtk-overlay.git
     </source>
     <feed>
-      http://www.physics.drexel.edu/~wking/code/git/gitweb.cgi?p=wtk-overlay.git;a=atom
+      http://git.tremily.us/?p=wtk-overlay.git;a=atom
     </feed>
     <feed>
-      http://www.physics.drexel.edu/~wking/code/git/gitweb.cgi?p=wtk-overlay.git;a=rss
+      http://git.tremily.us/?p=wtk-overlay.git;a=rss
     </feed>
   </repo>
 </repositories>
index df4787428bf725bee0db046f28e59b8d760533c8..2e7a8fd002819699128917e32d57c5c7292ef134 100644 (file)
@@ -8,17 +8,17 @@ out of graphs and whatnot that show up in journal articles.
     $ scale_click.sh 0 10 5 20 fig-000.pixels > fig-000.data
 
 Just use your first four clicks in
-[clickloc.tk](http://www.physics.drexel.edu/~wking/code/tcl-tk/clickloc.tk)
-to mark out the x and y minimum and maximum values.  Then use
-[scale_click.sh](http://www.physics.drexel.edu/~wking/code/bash/scale_click.sh)
-to convert the pixel values to the units listed in the figure.  In my
-example, the x axis ran from 0 to 10 units, and the y axis ran from 5
-to 20 units.  Supports log-scaled axes too.
+[[clickloc.tk|clickloc/clickloc.tk]] to mark out the x and y minimum
+and maximum values.  Then use
+[[scale_click.sh|clicloc/scale_click.sh]] to convert the pixel values
+to the units listed in the figure.  In my example, the x axis ran from
+0 to 10 units, and the y axis ran from 5 to 20 units.  Supports
+log-scaled axes too.
 
 Having gotten some numbers, my sawtooth simulator matches up fairly
-well to [Schlierf & Rief's
-results](http://www.biophysj.org/cgi/content/abstract/90/4/L33) on
-both models.  Hooray! ;).
+well to [Schlierf & Rief's results][SR] on both models.  Hooray! ;).
+
+[SR]: http://www.biophysj.org/cgi/content/abstract/90/4/L33
 
 [[!tag tags/linux]]
 [[!tag tags/programming]]
index 82ff927a50a999d7666da0b70b81e00e2f878656..6ec07a4451e4b0248f0dedfb671379c914c90022 100644 (file)
@@ -420,7 +420,7 @@ to =.git/config=, after which you can push with
     : devel$ git push public master
 
 Note that you may need to copy =.git/description= over by hand.  I
-wrote up a [[http://www.physics.drexel.edu/~wking/code/index.shtml#git-publish][git-publish]] script to automate this.
+wrote up a [[http://blog.tremily.us/posts/Git/git-publish.py][git-publish]] script to automate this.
 
 ** Gitting comedi, using Git as a frontend for CVS
 From [[http://issaris.blogspot.com/2005/11/cvs-to-git-and-back.html][Takis blog]]
index 49d28f0f01ef05090319c5e16ae7f4a27e397602..d8aa0372e911a6d7b9987471140c753d8fb3d6f2 100644 (file)
@@ -7,11 +7,11 @@ On to find out about analytic solutions to Kramers' unfolding rates.
 
 Update: I figured out how to use the [NIST reference][] while writing
 my [[sawsim]] paper, listing the mean and standard deviation of the
-Gumbel distribution.  So many names...  Anyway, the `pysawsim` tests
-now use the [improved guessing procedure][].
+Gumbel distribution.  So many names…  Anyway, the `pysawsim` tests
+now use the [improved guessing procedure][guess].
 
 [NIST reference]: http://www.itl.nist.gov/div898/handbook/eda/section3/eda366g.htm
-[improved guessing procedure]: http://www.physics.drexel.edu/~wking/code/git/gitweb.cgi?p=sawsim.git;a=blob;f=pysawsim/test/bell_rate.py;hb=837c425eaeccae280cc7f7784d03dfcfcb03678c#l106
+[guess]: http://git.tremily.us/?p=sawsim.git;a=blob;f=pysawsim/test/bell_rate.py;hb=837c425eaeccae280cc7f7784d03dfcfcb03678c#l106
 
 [[!tag tags/sawsim]]
 [[!tag tags/theory]]
index 0cbfef090cd65cb0d8d7cd5b14d521916ccfa3e5..b99fee81a6e6cd088bc56d477f3dad94e68579d2 100644 (file)
@@ -1,8 +1,7 @@
 In [[an earlier post|Hooke-update]], I reported seeing `surface
 distance (m) (m)` columns in my playlist files, but had been unable to
 reproduce them.  Today, after [fixing bugs with Curve
-copying](http://www.physics.drexel.edu/~wking/code/hg/hgwebdir.cgi/hooke/rev/59390d466f0d),
-I did reproduce them with:
+copying][copy-bug], I did reproduce them with:
 
     $ ./bin/hk.py
         -c 'load_playlist test/data/vclamp_picoforce/playlist'
@@ -26,8 +25,10 @@ curves.
 
 I'll update this post once I've tracked down the culprit.
 
-Update:
-[fixed](http://www.physics.drexel.edu/~wking/code/hg/hgwebdir.cgi/hooke/rev/230d4483c9da).
+Update: [fixed][].
+
+[copy-bug]: http://www.physics.drexel.edu/~wking/code/hg/hgwebdir.cgi/hooke/rev/59390d466f0d
+[fixed]: http://www.physics.drexel.edu/~wking/code/hg/hgwebdir.cgi/hooke/rev/230d4483c9da
 
 [[!tag tags/hooke]]
 [[!tag tags/programming]]
index fd00a016259c44fe96e9d7d9f72829c9570780a1..66f356ce05623518eb1721895837db554afe399b 100644 (file)
@@ -1,5 +1,5 @@
-Minor tweaks to Hooke's [command
-stacks](http://www.physics.drexel.edu/~wking/code/hg/hgwebdir.cgi/hooke/rev/8c0882dfbaf5).  I can now execute the GUI alternative of
+Minor tweaks to Hooke's [command stacks][stacks].  I can now execute
+the GUI alternative of
 
     ./bin/hk.py 
         -c 'new_playlist'
@@ -20,9 +20,7 @@ Issues resolved today:
 
 Update:
 
-After [fixing up a few more
-bugs](http://www.physics.drexel.edu/~wking/code/hg/hgwebdir.cgi/hooke/rev/7ba2243a9b45),
-I successfully ran:
+After [fixing up a few more bugs][bugs], I successfully ran:
 
     ./bin/hk.py 
         -c 'new_playlist'
@@ -50,10 +48,14 @@ It did, however turn up a couple of outstanding issues:
 - lots of useless `!!python/unicode 'retract'` tags.  If the strings
   are all in ASCII, I don't really care if they are loaded as unicode
   or string objects.
-  ([fixed](http://www.physics.drexel.edu/~wking/code/hg/hgwebdir.cgi/hooke/rev/302413fafa96))
+  ([fixed][])
 - `surface distance (m) (m)` column.  Obviously someone is adding
   units twice.  I need to figure out who it is ;).
   ([[Reproduced|Hooke-update-2]])
 
+[stacks]: http://www.physics.drexel.edu/~wking/code/hg/hgwebdir.cgi/hooke/rev/8c0882dfbaf5
+[bugs]: http://www.physics.drexel.edu/~wking/code/hg/hgwebdir.cgi/hooke/rev/7ba2243a9b45
+[fixed]: http://www.physics.drexel.edu/~wking/code/hg/hgwebdir.cgi/hooke/rev/302413fafa96
+
 [[!tag tags/hooke]]
 [[!tag tags/programming]]
index ce0aaeb7050fd2be820eadd7fd9e3e057a461a74..f137d4e759c45c326c956f55deda453625e970cf 100644 (file)
@@ -1,20 +1,25 @@
 I finally got around to upgrading the environment on the server that
-autogenerates my [Hooke
-documentation](http://www.physics.drexel.edu/~wking/rsrch/hooke/).
+autogenerates my [Hooke documentation][doc].
+
 The new setup is:
 
-- [Python](http://www.python.org/) 2.7 (previously Python 2.5)
-- [Sphinx]() 1.0.3 (previously Sphinx 0.6.5)
-- [Numpydoc](http://pypi.python.org/pypi/numpydoc/0.3.1) from the
-  current [git source](http://projects.scipy.org/numpy/browse_git)
-  (previously 0.3.1, see [numpy ticket
-  1489](http://projects.scipy.org/numpy/ticket/1489))
-- [SCons](http://www.scons.org/) 2.0.1.r5134 (unchanged)
+- [[Python]] 2.7 (previously Python 2.5)
+- [[Sphinx]] 1.0.3 (previously Sphinx 0.6.5)
+- [Numpydoc][] from the current [git source][git] (previously 0.3.1,
+  see [numpy ticket 1489][1489])
+- [SCons][] 2.0.1.r5134 (unchanged)
 
 The main effect of the change is that the [hooke module
-documentation](http://www.physics.drexel.edu/~wking/rsrch/hooke/hooke/hooke.html)
-is now generated in its entirety, while the previous implementation
-only generated documentation for Python 2.5-compatible submodules.
+documentation][mod] is now generated in its entirety, while the
+previous implementation only generated documentation for Python
+2.5-compatible submodules.
+
+[doc]: http://doc.hooke.tremily.us/
+[Numpydoc]: http://pypi.python.org/pypi/numpydoc/
+[git]: http://projects.scipy.org/numpy/browse_git
+[1489]: http://projects.scipy.org/numpy/ticket/1489
+[SCons]: http://www.scons.org/
+[mod]: http://doc.hooke.tremily.us/hooke.html
 
 [[!tag tags/hooke]]
 [[!tag tags/programming]]
index 4cb770fca236b1f3235f2693e63878ede0518bc0..1be54c5b5fdeb32f04f89bc371bd5023e6374db2 100644 (file)
@@ -23,9 +23,9 @@ Differences from my course website project:
   computing class, there are fewer graphics than there are in an
   intro-physics class, so the extra power of LaTeX is not as useful.
 
-[MV]: http://www.physics.drexel.edu/directory/faculty/homepage/?lname=Valli%C3%A8res&fname=Michel
+[MV]: http://www.drexel.edu/physics/contact/facultyDirectory/Vallieres%20Michel/
 [phys405]: http://www.physics.drexel.edu/~valliere/PHYS405/
-[f10]: http://www.physics.drexel.edu/~wking/courses/phys405_f10/
+[f10]: http://course.tremily.us/2010-fall/phys405/
 
 [[!tag tags/code]]
 [[!tag tags/web]]
index 64cdae250ce38228e8f5f558fa56c1a4de33d322..643936fb58caaacb095fafe89a8ce4168bb1a3af 100644 (file)
@@ -1,17 +1,18 @@
 [[!meta  title="Reading IGOR binary waves from Python"]]
 [[!meta  date="2010-06-04 18:48:46"]]
+
 I finally got around to translating some IBW readers from C to Python.
-And so, I present (drumroll :)
-[igorbinarywave.py](http://www.physics.drexel.edu/~wking/code/hg/hgwebdir.cgi/hooke/file/tip/hooke/driver/igorbinarywave.py).
-Python because it's easy to drop it into my other Python projects (in
-this case, [Hooke](http://code.google.com/p/hooke/)).  It's also easy
-to get a hold of all that useful metadata in a hurry.  No writing
-ability yet, but I don't know why you'd want to move data that
-direction anyway ;).
+And so, I present (drumroll :) [igorbinarywave.py][] Python because
+it's easy to drop it into my other Python projects (in this case,
+[[Hooke]).  It's also easy to get a hold of all that useful metadata
+in a hurry.  No writing ability yet, but I don't know why you'd want
+to move data that direction anyway ;).
+
+Thanks to the folks at [WaveMetrics][] for publishing some good
+[documentation][], even if it's in a goofy format.
 
-Thanks to the folks at [WaveMetrics](http://www.wavemetrics.com/) for
-publishing some good
-[documentation](ftp://ftp.wavemetrics.net/IgorPro/Technical_Notes/TN003.zip),
-even if it's in a goofy format.
+[igorbinarywave.py]: http://git.tremily.us/?p=hooke.git;a=blob;f=hooke/driver/igorbinarywave.py;hb=HEAD
+[WaveMetrics]: http://www.wavemetrics.com/
+[documentation]: ftp://ftp.wavemetrics.net/IgorPro/Technical_Notes/TN003.zip
 
 [[!tag tags/programming]]
index 7cac68a990c9e7ac7b593d38c1ddd6de2ebbc067..a5f5a4a64c755ba8aea3eb76e3b9e2b37e6eaede 100644 (file)
@@ -9,7 +9,7 @@
  <!-- if XBitHack On, or give footer a .shtml extension.            -->
  </p>
  <p>
- Copyright &copy; W. Trevor King. <br />
+ Copyright &copy; My Name<br />
  Validate <a href="http://validator.w3.org/check?uri=referer">xhtml</a>
  | <a href="http://jigsaw.w3.org/css-validator/check?uri=referer">css</a>
  </p>
index 5c915d100bc5a3f1bc1c809069be3797315cec1b..bbba1ca71c5794fe6ce22b57d380105293412ca5 100644 (file)
 
 <meta http-equiv="content-type"
       content="text/html; charset=utf-8" />
-<meta name="description" content="Homepage of Trevor King" />
-<meta name="keywords" content="william,trevor,king,drexel,physics" />
+<meta name="description" content="My Homepage" />
+<meta name="keywords" content="homepage,name,other,stuff" />
 <meta name="robots" content="all" />
-<link rel="stylesheet" href="/~wking/shared/style.css" type="text/css" />
-<link rel="icon" href="/~wking/img/favicon.ico" type="image/x-icon" />
-<link rel="meta" type="application/rdf+xml" title="FOAF"
-      href="/~wking/foaf.rdf"/>
-<title>Trevor</title>
+<link rel="stylesheet" href="/shared/style.css" type="text/css" />
+<link rel="icon" href="/img/favicon.ico" type="image/x-icon" />
+<link rel="meta" type="application/rdf+xml" title="FOAF" href="/foaf.rdf"/>
+<title>My Homepage</title>
 </head>
 
 <body>
 <div id="header">
- <h3 id="top">Trevor King</h3>
- <a href="/~wking/">Homepage</a> 
+ <h3 id="top">My Homepage</h3>
+ <a href="/">Homepage</a>
  |
- <a href="/~wking/contact.shtml">Contact</a> 
+ <a href="/contact.shtml">Contact</a>
  |
- <a href="/~wking/courses/phys405_f10/">PHYS405</a>
+ <a href="/code/">Code</a>
  |
- <a href="/~wking/rsrch/">Research</a>
- |
- <a href="/~wking/code/">Code</a>
- |
- <a href="/~wking/tools/">Tools</a>
- |
- <a href="/~wking/unfolding-disasters/">Blog</a>
- |
- <a href="/">Department</a>
- |
- <a href="/liki/">Liki</a>
+ <a href="/tools/">Tools</a>
  <hr />
 </div>
 
index ada479b003d1b3656af57ee410e9f6c81d224c19..f73237355847844c407cdd3850d52b83aef44813 100644 (file)
@@ -1,17 +1,18 @@
 [[!meta  title="Stripchart"]]
 [[!meta  date="2008-07-08 17:03:08"]]
-I was trying to troubleshoot the feedback loop on our NanoScope today, and
-when I went to fire up my [Comedi](http://www.comedi.org/)-driven stripcharts
-monitoring some lines in the DB-25 cable connecting the [[MultiMode]] to the
-Nanoscope, I got a bunch of wierd errors (errnos 11 and 29).  I tracked them
-down to some of the Xlib function calls in my stripchart code (yes, I wrote my
-own
-[stripchart](http://www.physics.drexel.edu/~wking/rsrch/code/index.shtml#stripchart)
-code, so sue me), which I don't understand, since I can't find any reference to
-Xlib functions setting errnos.
+[[!template id=gitrepo repo=stripchart]]
 
-Anyhow, I've patched up my source to gleefully ignore any Xlib errno settings,
-and things seem to be back up and running now.  Feel free to give my stripchart
-code a whirl, since I quite enjoy it :p.
+I was trying to troubleshoot the feedback loop on our NanoScope today,
+and when I went to fire up my [[Comedi]]-driven stripcharts monitoring
+some lines in the DB-25 cable connecting the [[MultiMode]] to the
+Nanoscope, I got a bunch of weird errors (errnos 11 and 29).  I
+tracked them down to some of the Xlib function calls in my stripchart
+code (yes, I wrote my own stripchart code, so sue me), which I don't
+understand, since I can't find any reference to Xlib functions setting
+errnos.
+
+Anyhow, I've patched up my source to gleefully ignore any Xlib errno
+settings, and things seem to be back up and running now.  Feel free to
+give my stripchart code a whirl, since I quite enjoy it :p.
 
 [[!tag tags/programming]]
index 77042e5598b0be5d555202f2d70200fb8f9fe1a3..54540422fef06a56aababb604c170f337d858008 100644 (file)
@@ -1,18 +1,20 @@
 [[!meta  title="Subversion"]]
 [[!meta  date="2008-07-16 19:42:55"]]
-I finally broke down and learned how to serve
-[subversion](http://subversion.tigris.org/)
-repositories.  You're welcome to poke around `svn://abax.physics.drexel.edu`
-to see if there is anything interesting.
 
-I'll probably dump all my code in there, so don't worry if version numbers
-seem to be spiralling out of control :p.  I'll try to keep an updated
-[index page](http://www.physics.drexel.edu/~wking/svn) explaining what
-everything does.
+I finally broke down and learned how to serve [subversion][]
+repositories.  You're welcome to poke around
+`svn://abax.physics.drexel.edu` to see if there is anything
+interesting.
 
-Update: I took down the SVN server and switched to Git.  Much nicer
-:).  The code index page is now
-[here](http://www.physics.drexel.edu/~wking/code).
+I'll probably dump all my code in there, so don't worry if version
+numbers seem to be spiralling out of control :p.  I'll try to keep an
+updated index page explaining what everything does.
+
+Update: I took down the SVN server and switched to [[Git]].  Much
+nicer :).  The code index page is now [here][index].
+
+[Subversion]: http://subversion.tigris.org/
+[index]: http://git.tremily.us/
 
 [[!tag tags/linux]]
 [[!tag tags/programming]]
index 582260fdb1eedcffedf5c0e32b2ce33786e1763c..e689f7b09d7222ae6c3cdd7b1ccdd04f91f5a3a3 100644 (file)
@@ -1,4 +1,4 @@
-REPO = http://www.physics.drexel.edu/~wking/code/git/thesis.git
+REPO = git://tremily.us/thesis.git
 PACKAGE = thesis
 
 .PHONY : all checkout clean
index 7d5ebb5b77b67e4cc22f72a5467a8dbf9c77553f..d403d09cc594400965bea76171a4efee7da36d70 100644 (file)
@@ -5,14 +5,14 @@ this blog before pushing commits to the live server.  Gentoo's ikiwiki
 ebuild ([bug 144453][]) is in Torsten Veller's overlay, so I forked
 his overlay and bumped the Ikiwiki version number.  I've emailed
 Torsten with a merge request, but haven't heard back yet.  Anyhow, add
-this [[layman.xml]] to your `/etc/layman/layman.cfg` `overlays` listing
+this `layman.xml` to your `/etc/layman/layman.cfg` `overlays` listing
 and run:
 
-    layman -a tove-wtk
+    layman -a tove-wtk
 
 Then:
 
-    emerge -av ikiwiki
+    emerge -av ikiwiki
 
 and you're off!
 
@@ -20,7 +20,6 @@ Update: Torsten just [pushed the ikiwiki ebuild into Portage][pushed].
 There is no longer any need to mess around with layman if you want to
 install ikiwiki.
 
-
 [ikiwiki]: http://ikiwiki.info/
 [bug 144453]: http://bugs.gentoo.org/show_bug.cgi?id=144453
 [pushed]: http://bugs.gentoo.org/show_bug.cgi?id=144453#c34
diff --git a/posts/Tove_overlay/layman.xml b/posts/Tove_overlay/layman.xml
deleted file mode 100644 (file)
index 60920da..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<repositories version="1.0">
-  <repo quality="experimental" status="unofficial">
-    <name>tove</name>
-    <description>Torsten Veller's Overlay</description>
-    <owner>
-      <email>Torsten Veller &lt;tove@gentoo.org&gt;</email>
-    </owner>
-    <source type="git">git://git.overlays.gentoo.org/dev/tove.git</source>
-  </repo>
-  <repo quality="experimental" status="unofficial">
-    <name>tove-wtk</name>
-    <description>Torsten Veller's Overlay (WTK branch)</description>
-    <owner>
-      <email>W. Trevor King &lt;wking@drexel.edu&gt;</email>
-    </owner>
-    <source type="git">http://www.physics.drexel.edu/~wking/code/git/tove.git/</source>
-  </repo>
-</repositories>
index de35624e6672ec6fe1b68596c5b790df72f9d0b7..e70bd0035f99f0cf0b38a847dc99afde90b15a6d 100644 (file)
@@ -1,5 +1,5 @@
-REPO = http://www.physics.drexel.edu/~wking/code/git/dotfiles.git/
-PACKAGE = dotfiles
+REPO = git://tremily.us/dotfiles-public.git
+PACKAGE = dotfiles-public
 
 .PHONY : all checkout clean
 
@@ -15,7 +15,7 @@ checkout : $(PACKAGE)
        (cd $(PACKAGE) && git pull && git reset --hard HEAD)
 
 _Xmodmap : checkout
-       cp $(PACKAGE:%=%/$@) $@
+       cp $(PACKAGE:%=%/src/$(@:_%=.%)) $@
 
 unicode_sampler : _Xmodmap gen_sampler.py
        ./gen_sampler.py $< > $@
index 4c828fa56f97e33166126d41d88a08fe66cabdc5..cd8dd8fbbc34ad7621b0d46e2f2f0725a89e145a 100644 (file)
@@ -13,7 +13,7 @@ See the [README][] for details.
 [Django]: https://www.djangoproject.com/
 [Grappelli]: https://github.com/sehmaschine/django-grappelli
 [django-taggit]: https://github.com/alex/django-taggit
-[README]: http://www.physics.drexel.edu/~wking/code/git/gitweb.cgi?p=cookbook.git;a=blob;f=README;hb=HEAD
+[README]: http://git.tremily.us/?p=cookbook.git;a=blob;f=README;hb=HEAD
 
 [[!tag tags/code]]
 [[!tag tags/linux]]
index 0080c17bc1201e263b3a494027b8777e4fff573f..61122416c978eca4c851141de91adb8f3feec383 100644 (file)
@@ -18,7 +18,7 @@ Python][dotfilemanager] by Sean Hammond.
 
 [SK]: http://repository.steve.org.uk/cgi-bin/hgwebdir.cgi/dotfiles/file/tip?file/tip/
 [blog post]: http://blog.steve.org.uk/didn_t_i_kill_you_already_.html
-[README]: http://physics.drexel.edu/~wking/code/git/gitweb.cgi?p=dotfiles-framework.git;a=blob;f=README;hb=HEAD
+[README]: http://git.tremily.us/p=dotfiles-framework.git;a=blob;f=README;hb=HEAD
 [dotfile-manager]: http://blog.steve.org.uk/poppa_s_got_a_brand_new_bang_.html
 [dotfilemanager]: https://github.com/seanh/dotfilemanager
 
index ca09b76910e1c941a7d1efc4e14a9949fd9ca1ba..3f61da350937ed3fcda2c62f47dc408ee4395331 100644 (file)
@@ -3,9 +3,11 @@
 [[!template id=gitrepo repo=git-php]]
 
 [Peeter Vois's][PV] [git-php][] is a nice PHP script which you can
-drop in to make your public [[Git]] repo's browsable.  [Take a
-look][look]!
+drop in to make your public [[Git]] repo's browsable.
+
+Update: I've migrated from `git-php` to `gitweb` (which is distributed
+with Git).  [Take a look][look]!
 
 [PV]: http://people.proekspert.ee/peeter/
 [git-php]: http://people.proekspert.ee/peeter/git/git.php?p=git-php.git
-[look]: http://www.physics.drexel.edu/~wking/code/git/git.php
+[look]: http://git.tremily.us/
index 99db83c196b8d5e461a956010f0403cb3a22a894..45c1f99c5671ae859b42f000c2315f9d9661a336 100644 (file)
@@ -6,11 +6,10 @@ get the plugin working with ikiwiki, so I'm recording the steps I took
 here in case other ikiwiki users find this useful.
 
 * Install [itex2MML][]
-* [Install][install_plugin] my updated [[mdwn_itex.pm|mdwn_itex.pm]]
-  plugin ([[mdwn_itex.patch|mdwn_itex.patch]] against Jason's
-  version).
+* [Install][install_plugin] my updated `mdwn_itex.pm` plugin
+  (`mdwn_itex.patch` against Jason's version).
 * Patch your ikiwiki [templates][] to use a `DOCTYPE` supporting
-  MathML ([[mdwn_itex-templates.patch|mdwn_itex-templates.patch]]).
+  MathML (`mdwn_itex-templates.patch`).
 * Add config options along the lines of:
 
         # plugins to add to the default configuration
@@ -49,8 +48,8 @@ The `htmlscrubber` and `htmltidy` plugins must be disabled because
 otherwise they [strip][scrubber_strip] [out][tidy_strip] the MathML
 markup.
 
-Update: current versions of my patched files can be found in my
-ikiwiki git branch.
+Update: current versions of my patched files can be found in the
+`mdwn_itex` branch of my ikiwiki git repository.
 
 [plugin]: http://jblevins.org/git/ikiwiki/plugins.git/plain/mdwn_itex.pm
 [itex2MML]: http://golem.ph.utexas.edu/~distler/blog/itex2MML.html
diff --git a/posts/mdwn_itex/mdwn_itex-templates.patch b/posts/mdwn_itex/mdwn_itex-templates.patch
deleted file mode 100644 (file)
index 65a12c6..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-diff -ru /usr/share/ikiwiki/templates/page.tmpl .ikiwiki/templates/page.tmpl
---- /usr/share/ikiwiki/templates/page.tmpl     2010-09-30 08:58:51.000000000 -0400
-+++ .ikiwiki/templates/page.tmpl       2010-09-30 09:10:02.000000000 -0400
-@@ -1,8 +1,12 @@
- <TMPL_IF HTML5><!DOCTYPE html>
- <html>
--<TMPL_ELSE><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
--<html xmlns="http://www.w3.org/1999/xhtml">
-+<TMPL_ELSE><?xml version="1.0" encoding="UTF-8"?>
-+<!DOCTYPE html PUBLIC
-+    "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN"
-+    "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg.dtd">
-+<html xmlns="http://www.w3.org/1999/xhtml"
-+      xmlns:math="http://www.w3.org/1998/Math/MathML"
-+      xmlns:svg="http://www.w3.org/2000/svg">
- </TMPL_IF>
- <head>
- <TMPL_IF DYNAMIC>
diff --git a/posts/mdwn_itex/mdwn_itex.patch b/posts/mdwn_itex/mdwn_itex.patch
deleted file mode 100644 (file)
index 1c68aa5..0000000
+++ /dev/null
@@ -1,157 +0,0 @@
-diff -u a/mdwn_itex.pm b/mdwn_itex.pm
---- a/mdwn_itex.pm     2010-09-29 17:30:37.000000000 -0400
-+++ b/mdwn_itex.pm     2010-09-29 23:59:59.713046023 -0400
-@@ -2,66 +2,70 @@
- #
- # itex to MathML plugin for IkiWiki.  Based on the itex MovableType
- # plugin by Jacques Distler.
--#
--# Jason Blevins <jrblevin@sdf.lonestar.org>
--# Chapel Hill, March 16, 2008
- package IkiWiki::Plugin::mdwn_itex;
- use warnings;
- use strict;
--use IkiWiki 2.00;
-+use IkiWiki 3.00;
- use File::Temp qw(tempfile);
--my $markdown_sub;
--my %itex_pages;
--
- sub import {
--    hook(type => "getopt", id => "mdwn_itex", call => \&getopt);
--    hook(type => "htmlize", id => "mdwn", call => \&htmlize);
--    hook(type => "preprocess", id => "itex", call => \&preprocess_itex);
--}
--
--sub getopt () {
--    eval q{use Getopt::Long};
--    error($@) if $@;
--    Getopt::Long::Configure('pass_through');
--    GetOptions(
--        # Location of the itex2mml binary
--        "itex2mml=s" => \$config{itex2mml},
--        # Enable or disable numbering of \[..\] equations
--        "itex_num_equations!" => \$config{num_equations},
--        # Process all pages by default or require [[!itex ]] directive?
--        "itex_default!" => \$config{itex_default},
--    );
--
--    # Default settings
--    $config{itex2mml} = '/usr/local/bin/itex2MML' unless defined $config{itex2mml};
--    $config{itex_num_equations} = 1 unless defined $config{itex_num_equations};
--    $config{itex_default} = 0 unless defined $config{itex_default};
--}
--
--sub preprocess_itex (@) {
--    my %params = @_;
--    if (defined $params{disable}) {
--        $itex_pages{$params{page}} = 0;
--    } else {
--        $itex_pages{$params{page}} = 1;
-+    # register the plugin
-+    hook(type => "getsetup", id => "mdwn_itex", call => \&getsetup);
-+    hook(type => "checkconfig", id => "mdwn_itex", call => \&checkconfig);
-+    hook(type => "preprocess", id => "itex", call => \&preprocess);
-+    hook(type => "htmlize", id => "mdwn_itex", call => \&htmlize,
-+       longname => "Markdown + itex");
-+}
-+
-+sub getsetup () {
-+    # declare plugin options etc. for the setup file
-+    return
-+      plugin => {
-+          description => "itex to MathML conversion followed by Markdown formatting",
-+          safe => 1,
-+          rebuild => 1,
-+          section => "format",
-+        },
-+        itex2mml => {
-+          type => "string",
-+          example => '/usr/local/bin/itex2MML',
-+          description => "path to the itex2MML binary",
-+          safe => 0, # path
-+          rebuild => 0,
-+      },
-+        itex_num_equations => {
-+          type => "boolean",
-+          example => 1,
-+          description => "autonumber \[..\] equations?",
-+          safe => 1,
-+          rebuild => 1,
-+      },
-+}
-+
-+sub checkconfig () {
-+    # setup default settings
-+    if (! exists $config{itex2mml}) {
-+      $config{itex2mml} = '/usr/local/bin/itex2MML';
-+    }
-+    if (! exists $config{itex_num_equations}) {
-+      $config{itex_num_equations} = 1;
-+    }
-+    if (! exists $config{itex_default}) {
-+      $config{itex_default} = 0;
-     }
--    return '';
- }
--# Taken from mdwn plugin and modified to call itex2MML.
- sub htmlize (@) {
-+    # convert the page contents to XHTML.
-     my %params=@_;
-+
-     my $content = $params{content};
-     my $page = $params{page};
--    # Default settings
--    $itex_pages{$page} = $config{itex_default} unless defined $itex_pages{$page};
--
--    $params{content} = itex_filter($content) if $itex_pages{$page};
-+    $params{content} = itex_filter($content);
-     return IkiWiki::Plugin::mdwn::htmlize(%params);
- }
-@@ -77,6 +81,7 @@
-     my ($Reader, $outfile) = tempfile( UNLINK => 1 );
-     my ($Writer, $infile) = tempfile( UNLINK => 1 );
-+    binmode $Writer, ":utf8";
-     print $Writer "$content";
-     system("$config{itex2mml} < $infile > $outfile");
-     my @out = <$Reader>;
-@@ -136,6 +141,9 @@
- =head1 AUTHORS
-+W. Trevor King <wking@drexel.edu>,
-+updates to IkiWiki v3.00
-+
- Jason Blevins <jrblevin@sdf.lonestar.org>,
- itex Blosxom plugin
-@@ -144,6 +152,12 @@
- =head1 SEE ALSO
-+W. Trevor King's blog entry for this plugin:
-+http://www.physics.drexel.edu/~wking/unfolding-disasters/posts/mdwn_itex/
-+
-+Jason Blevins' ikiwiki plugin:
-+http://jblevins.org/git/ikiwiki/plugins.git/plain/mdwn_itex.pm
-+
- ikiwiki Homepage:
- http://ikiwiki.info/
-@@ -155,6 +169,8 @@
- =head1 LICENSE
-+Copyright (C) 2010 W. Trevor King
-+
- Copyright (C) 2008 Jason Blevins
- Copyright (C) 2003-2007 Jacques Distler
diff --git a/posts/mdwn_itex/mdwn_itex.pm b/posts/mdwn_itex/mdwn_itex.pm
deleted file mode 100644 (file)
index 2d3072f..0000000
+++ /dev/null
@@ -1,190 +0,0 @@
-#!/usr/bin/perl
-#
-# itex to MathML plugin for IkiWiki.  Based on the itex MovableType
-# plugin by Jacques Distler.
-
-package IkiWiki::Plugin::mdwn_itex;
-
-use warnings;
-use strict;
-use IkiWiki 3.00;
-
-use File::Temp qw(tempfile);
-
-sub import {
-    # register the plugin
-    hook(type => "getsetup", id => "mdwn_itex", call => \&getsetup);
-    hook(type => "checkconfig", id => "mdwn_itex", call => \&checkconfig);
-    hook(type => "preprocess", id => "itex", call => \&preprocess);
-    hook(type => "htmlize", id => "mdwn_itex", call => \&htmlize,
-        longname => "Markdown + itex");
-}
-
-sub getsetup () {
-    # declare plugin options etc. for the setup file
-    return
-       plugin => {
-           description => "itex to MathML conversion followed by Markdown formatting",
-           safe => 1,
-           rebuild => 1,
-           section => "format",
-        },
-        itex2mml => {
-           type => "string",
-           example => '/usr/local/bin/itex2MML',
-           description => "path to the itex2MML binary",
-           safe => 0, # path
-           rebuild => 0,
-       },
-        itex_num_equations => {
-           type => "boolean",
-           example => 1,
-           description => "autonumber \[..\] equations?",
-           safe => 1,
-           rebuild => 1,
-       },
-}
-
-sub checkconfig () {
-    # setup default settings
-    if (! exists $config{itex2mml}) {
-       $config{itex2mml} = '/usr/local/bin/itex2MML';
-    }
-    if (! exists $config{itex_num_equations}) {
-       $config{itex_num_equations} = 1;
-    }
-    if (! exists $config{itex_default}) {
-       $config{itex_default} = 0;
-    }
-}
-
-sub htmlize (@) {
-    # convert the page contents to XHTML.
-    my %params=@_;
-
-    my $content = $params{content};
-    my $page = $params{page};
-
-    $params{content} = itex_filter($content);
-
-    return IkiWiki::Plugin::mdwn::htmlize(%params);
-}
-
-sub itex_filter {
-    my $content = shift;
-
-    # Remove carriage returns. itex2MML expects Unix-style lines.
-    $content =~ s/\r//g;
-
-    # Process equation references
-    $content = number_equations($content) if $config{itex_num_equations};
-
-    my ($Reader, $outfile) = tempfile( UNLINK => 1 );
-    my ($Writer, $infile) = tempfile( UNLINK => 1 );
-    binmode $Writer, ":utf8";
-    print $Writer "$content";
-    system("$config{itex2mml} < $infile > $outfile");
-    my @out = <$Reader>;
-    close $Reader;
-    close $Writer;
-    eval { unlink ($infile, $outfile); };
-    return join('', @out);
-}
-
-sub number_equations {
-    my $body = shift;
-
-    my $prefix = "eq";
-    my $cls = "numberedEq";
-
-    my %eqnumber;
-    my $eqno=1;
-
-    # add equation numbers to \[...\]
-    #  - introduce a wrapper-<div> and a <span> with the equation number
-    while ($body =~ s/\\\[(.*?)\\\]/\n\n<div class=\"$cls\"><span>\($eqno\)<\/span>\$\$$1\$\$<\/div>\n\n/s)
-      {
-          $eqno++;
-      }
-
-    # assemble equation labels into a hash
-    # - remove the \label{} command, collapse surrounding whitespace
-    # - add an ID to the wrapper-<div>. prefix it to give a fighting chance
-    #   for the ID to be unique
-    # - hash key is the equation label, value is the equation number
-    while ($body =~ s/<div class=\"$cls\"><span>\((\d+)\)<\/span>\$\$((?:[^\$]|\\\$)*)\s*\\label{(\w*)}\s*((?:[^\$]|\\\$)*)\$\$<\/div>/<div class=\"$cls\" id=\"$prefix:$3\"><span>\($1\)<\/span>\$\$$2$4\$\$<\/div>/s)
-      {
-          $eqnumber{"$3"} = $1;
-      }
-
-    # add cross-references
-    # - they can be either (eq:foo) or \eqref{foo}
-    $body =~ s/\(eq:(\w+)\)/\(<a href=\"#$prefix:$1\">$eqnumber{"$1"}<\/a>\)/g;
-    $body =~ s/\\eqref\{(\w+)\}/\(<a href=\'#$prefix:$1\'>$eqnumber{"$1"}<\/a>\)/g;
-
-    return $body;
-}
-
-1
-
-  __END__
-
-=head1 NAME
-
-ikiwiki Plug-in: mdwn_itex
-
-=head1 SYNOPSIS
-
-Processes embedded itex (LaTeX-based) expressions in pages and converts
-them to MathML.  Also provides equation-numbering as described on
-Jacques Distler's itex2MML commands page.
-
-=head1 AUTHORS
-
-W. Trevor King <wking@drexel.edu>,
-updates to IkiWiki v3.00
-
-Jason Blevins <jrblevin@sdf.lonestar.org>,
-itex Blosxom plugin
-
-Jacques Distler <distler@golem.ph.utexas.edu>,
-itex2MML and itex2MML Movable Type Plugin
-
-=head1 SEE ALSO
-
-W. Trevor King's blog entry for this plugin:
-http://www.physics.drexel.edu/~wking/unfolding-disasters/posts/mdwn_itex/
-
-Jason Blevins' ikiwiki plugin:
-http://jblevins.org/git/ikiwiki/plugins.git/plain/mdwn_itex.pm
-
-ikiwiki Homepage:
-http://ikiwiki.info/
-
-ikiwiki Plugin Documentation:
-http://ikiwiki.info/plugins/write/
-
-itex2MML commands:
-http://golem.ph.utexas.edu/~distler/blog/itex2MML.html
-
-=head1 LICENSE
-
-Copyright (C) 2010 W. Trevor King
-
-Copyright (C) 2008 Jason Blevins
-
-Copyright (C) 2003-2007 Jacques Distler
-
-This program is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License along
-with this program; if not, write to the Free Software Foundation, Inc.,
-51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
index 080e81f61cc415ce7c1424dff163849e58d60154..8449e7f86a592907dc73064bd4725b6c9e03bb67 100644 (file)
@@ -47,12 +47,12 @@ The final package in the `problempack` repository is `wtk_format.sty`,
 which adjusts the default LaTeX margins to pack more content into a
 single page.
 
-[with]: http://www.physics.drexel.edu/~wking/courses/phys102_s08/notes/rec1_sols.pdf
-[without]: http://www.physics.drexel.edu/~wking/courses/phys102_s08/notes/rec1_probs.pdf
-[source]: http://www.physics.drexel.edu/~wking/courses/phys102_s08/latex/notes/rec1/
-[w09]: http://www.physics.drexel.edu/~wking/courses/phys201_w09/source/
-[sp09]: http://www.physics.drexel.edu/~wking/courses/phys201_s09/source/
-[su09]: http://www.physics.drexel.edu/~wking/courses/phys102_sum09/source/
+[with]: http://course.tremily.us/2008-spring-phys102/notes/rec1_sols.pdf
+[without]: http://course.tremily.us/2008-spring-phys102/notes/rec1_probs.pdf
+[source]: http://course.tremily.us/2008-spring-phys102/latex/notes/rec1/
+[w09]: http://course.tremily.us/2009-winter-phys201/source/
+[sp09]: http://http://course.tremily.us/2009-spring-phys201/source/
+[su09]: http://http://course.tremily.us/2009-summer-phys102/source/
 
 [[!tag tags/code]]
 [[!tag tags/latex]]
index a70ebfaf627bae5ebf7f3bb65447291bebd79dd0..c69ff0138f3354ce8b3b5aaadca1e37248166cb0 100644 (file)
@@ -1,4 +1,4 @@
-REPO = http://www.physics.drexel.edu/~wking/code/git/problempack.git
+REPO = git://tremily.us/problempack.git
 PACKAGE = problempack
 
 .PHONY : all checkout clean
index 3a286055e34fcb808dfce7a37658ed7febc7aa49..57818da5b91555abde7b8bddee82d20c1305eda3 100644 (file)
       <text value="Created By:" style="font-weight: bold;"/>\r
       <hbox orient="horizontal">\r
        <text value="W. Trevor King" class="text-link"\r
-             onclick="window.open('http://www.physics.drexel.edu/~wking/'); window.close();"/>\r
+             onclick="window.open('http://tremily.us/'); window.close();"/>\r
       </hbox>\r
       <separator class="thin"/>\r
       <text value="Home Page:" style="font-weight: bold;"/>\r
-      <text value="http://www.physics.drexel.edu/~wking/unfolding-disasters/posts/rel-vcs/"\r
+      <text value="http://blog.tremily.us/posts/rel-vcs/"\r
            class="text-link"\r
-           onclick="window.open('http://www.physics.drexel.edu/~wking/unfolding-disasters/posts/rel-vcs/'); window.close();"/>\r
+           onclick="window.open('http://blog.tremily.us/posts/rel-vcs/'); window.close();"/>\r
       <separator class="thin"/>\r
     </vbox>\r
   </groupbox>\r
index e6056e418749f2ac5955a5d202d095ce7881175d..2223e27b05957431e6eadd50752387df0545dfef 100644 (file)
@@ -11,7 +11,7 @@
     <em:name>rel-vcs</em:name>\r
     <em:description>Displays an icon to indicate presence of a rel-vcs link in the web page.</em:description>\r
     <em:creator>W. Trevor King</em:creator>\r
-    <em:homepageURL>http://www.physics.drexel.edu/~wking/unfolding-disasters/posts/rel-vcs/</em:homepageURL>\r
+    <em:homepageURL>http://blog.tremily.us/posts/rel-vcs/</em:homepageURL>\r
 \r
     <em:iconURL>chrome://rel-vcs/skin/logo.png</em:iconURL>\r
     <em:aboutURL>chrome://rel-vcs/content/about.xul</em:aboutURL>\r
index c8dc64d184d6078b45c1a4bc40f9d96a170c38c7..b6c59d2310911fcd1fc5fd8dba70e6715e134285 100644 (file)
@@ -28,10 +28,10 @@ improvement, but it works well enough to make me happy at the momemt.
         send_pgp_mime -H <(echo "$HEAD") -B <(echo "$BODY") --mode sign
     done
 
-Note that I'm brushing some `gpg-agent` details under the rug.  `man
+Note that I'm brushing some [[gpg-agent]] details under the rug.  `man
 gpg-agent` does a reasonable job of clarifying.
 
-[send_pgp_mime.py]: http://www.physics.drexel.edu/~wking/code/git/gitweb.cgi?p=be.git;a=blob;f=interfaces/email/interactive/send_pgp_mime.py
+[send_pgp_mime.py]: http://git.tremily.us/?p=be.git;a=blob;f=interfaces/email/interactive/send_pgp_mime.py;hb=HEAD
 [RFC 3156]: http://www.ietf.org/rfc/rfc3156.txt
 
 [[!tag tags/linux]]
index bedff4ece14672d151bf2f7351ac9542e307dc0f..4e383f49bb151c22f0ec04a0a2a7fb0e11d56e83 100644 (file)
@@ -1,4 +1,4 @@
-* [Homepage](http://www.physics.drexel.edu/~wking/)
+* [Homepage](http://tremily.us/)
 * [[Blog|index]]
 * [[Archive|posts]]
 * [[Contact]]
index 0a125482f2de810a51de683de190af7c8acb7aaa..d5df760455f2b6b4f6439e9529b80532b005d8f0 100644 (file)
@@ -1,6 +1,6 @@
 <span class="infobox">
 Available in a [[!taglink tags/git]] repository.<br />
-Repository: <a href="<TMPL_IF url><TMPL_VAR url><TMPL_ELSE>/~wking/code/git/gitweb.cgi?p=<TMPL_VAR repo>.git</TMPL_IF>" rel="vcs-git" title="<TMPL_VAR repo> repository"><TMPL_VAR repo></a><br />
+Repository: <a href="<TMPL_IF url><TMPL_VAR url><TMPL_ELSE>git://tremily.us/<TMPL_VAR repo>.git</TMPL_IF>" rel="vcs-git" title="<TMPL_VAR repo> repository"><TMPL_VAR repo></a><br />
 Author: <TMPL_UNLESS author>W. Trevor King</TMPL_UNLESS><TMPL_VAR author><br />
 </span>
 
@@ -9,8 +9,7 @@ This template is used to create an infobox for a Git repository. It
 uses these parameters:
 
 * repo - the name of the repository.
-* url - repository url.  Defaults to
-  `/~wking/code/git/gitweb.cgi?p=<repo>.git`.
+* url - repository url.  Defaults to `git://tremily.us/<repo>.git`.
 * author - the author of the branch.  Defaults to `W. Trevor King`.
 
 It also automatically tags the branch with `tags/git`.