W. Trevor King [Sat, 10 Mar 2012 15:16:41 +0000 (10:16 -0500)]
Add reduced version of GoodCityModern and the Blinkenlights post.
Note the use of `<span>` elements for each paragraph instead of a
single `<div>`. From the Markdown syntax specs [1]:
Note that Markdown formatting syntax is not processed within
block-level HTML tags. E.g., you can’t use Markdown-style *emphasis*
inside an HTML block.
…
Unlike block-level HTML tags, Markdown syntax is processed within
span-level tags.
I also had to add the `meta` directive to index.mdwn, because the
directive does not seem to affect pages through `inline`. Possibly
and ikiwiki bug/limitation.
[1]: http://daringfireball.net/projects/markdown/syntax#html
W. Trevor King [Sat, 10 Mar 2012 14:55:31 +0000 (09:55 -0500)]
Add `--output` option to `font-reduce.py`.
This allows to to reduce system fonts, where you don't have write
permission on the source directory. For example, I was trying to
reduce GoodCityModern:
$ font-reduce.py /usr/share/fonts/freefonts/gocmase_.pfb
Save Failed
Traceback (most recent call last):
…
File "…/font-reduce.py", line 65, in convert
o.generate(output_file, flags=('PfEd-comments',))
EnvironmentError: Font generation failed
Which is a cryptic error message for a `permission denied` error. The
newly supported working equivalent is:
$ font-reduce.py -o GoodCityModern.woff /usr/share/fonts/freefonts/gocmase_.pfb
W. Trevor King [Sat, 10 Mar 2012 14:36:33 +0000 (09:36 -0500)]
Add more details about `fc-list` usage to the font post.
W. Trevor King [Sat, 10 Mar 2012 14:14:19 +0000 (09:14 -0500)]
Fix mxconns link from X hack post.
W. Trevor King [Sat, 10 Mar 2012 14:12:27 +0000 (09:12 -0500)]
Fix wiring -> internals link from MultiMode/stepper/switch post.
W. Trevor King [Sat, 10 Mar 2012 14:10:38 +0000 (09:10 -0500)]
Fix link from bash tag to Bash post.
W. Trevor King [Sat, 10 Mar 2012 14:09:09 +0000 (09:09 -0500)]
Fix X.509 link from simple servers post.
W. Trevor King [Sat, 10 Mar 2012 14:08:28 +0000 (09:08 -0500)]
Fix 'MultiMode II' link from MultiMode/stepper post.
W. Trevor King [Sat, 10 Mar 2012 14:07:20 +0000 (09:07 -0500)]
Update numbers-from-journal-figures post to point to scale_click.py.
W. Trevor King [Sat, 10 Mar 2012 14:04:04 +0000 (09:04 -0500)]
Add Screen post discussing treehouse X.
W. Trevor King [Sat, 10 Mar 2012 12:51:53 +0000 (07:51 -0500)]
Can't link verbatim text in Markdown? Fix SWIG carrays.i link.
W. Trevor King [Sat, 10 Mar 2012 12:38:22 +0000 (07:38 -0500)]
Tag Cython post.
W. Trevor King [Sat, 10 Mar 2012 12:36:19 +0000 (07:36 -0500)]
Add Cython post.
W. Trevor King [Sat, 10 Mar 2012 12:09:49 +0000 (07:09 -0500)]
Add SWIG post.
W. Trevor King [Thu, 8 Mar 2012 17:15:28 +0000 (12:15 -0500)]
Fix wikilinks from Gentoo overlay post to pyafm, pycomedi, and pypiezo.
W. Trevor King [Wed, 7 Mar 2012 16:37:42 +0000 (11:37 -0500)]
Add sSMTP post.
W. Trevor King [Wed, 7 Mar 2012 16:36:38 +0000 (11:36 -0500)]
Link to related utilities from the mailcap post.
W. Trevor King [Wed, 7 Mar 2012 10:50:01 +0000 (05:50 -0500)]
Explain the two `-E` options in the lpadmin printer add command.
W. Trevor King [Tue, 6 Mar 2012 17:59:36 +0000 (12:59 -0500)]
Link from the MultiMode stepper post to my stepper software.
W. Trevor King [Sun, 4 Mar 2012 18:33:45 +0000 (13:33 -0500)]
Fix java-onverlay -> java-overlay in Java ME post.
W. Trevor King [Sun, 4 Mar 2012 17:00:08 +0000 (12:00 -0500)]
Remove leftover braces from the pulse-ox post due to incomplete LaTeX conversion.
W. Trevor King [Sun, 4 Mar 2012 16:55:20 +0000 (11:55 -0500)]
Migrate to HTML5.
W. Trevor King [Sun, 4 Mar 2012 16:27:05 +0000 (11:27 -0500)]
Fix font type (opentype -> woff) in local.css.
W. Trevor King [Sun, 4 Mar 2012 16:10:44 +0000 (11:10 -0500)]
Fix link from dotfiles post to the dotfiles README.
W. Trevor King [Sun, 4 Mar 2012 15:59:23 +0000 (10:59 -0500)]
Add example.com -> example.com rewrite server to Nginx examples.
W. Trevor King [Sat, 3 Mar 2012 17:39:33 +0000 (12:39 -0500)]
Fix args.coordfiles -> args.placefiles in maplabel.py.
I'm not sure how I missed this when I wrote the original script.
W. Trevor King [Sat, 3 Mar 2012 17:32:44 +0000 (12:32 -0500)]
Fix typo 'lcc -> 'lcc' in pyproj post.
W. Trevor King [Wed, 29 Feb 2012 22:31:08 +0000 (17:31 -0500)]
Update YahooGrabber in ticker.py.
W. Trevor King [Thu, 23 Feb 2012 18:52:14 +0000 (13:52 -0500)]
Actually, just include the script itself.
I don't know how to escape $ in the inline itex2MML wrapper script.
W. Trevor King [Thu, 23 Feb 2012 18:41:16 +0000 (13:41 -0500)]
Comment on my encoding wrapper for itex2MML in the Markdown/itex post.
W. Trevor King [Thu, 23 Feb 2012 18:05:01 +0000 (13:05 -0500)]
Convert pulse oxymetry post from LaTeX to Markdown/itex (avoid external build).
W. Trevor King [Thu, 23 Feb 2012 12:34:19 +0000 (07:34 -0500)]
Crawlers indexing my MultiMode pictures take a suprising amount of bandwidth.
W. Trevor King [Thu, 23 Feb 2012 04:08:56 +0000 (23:08 -0500)]
Add pointer from old gallery post to the new one.
W. Trevor King [Wed, 22 Feb 2012 20:48:27 +0000 (15:48 -0500)]
Add Maple post with mw2txt.py script.
W. Trevor King [Wed, 22 Feb 2012 16:17:31 +0000 (11:17 -0500)]
Add pypi tag to sawsim post.
W. Trevor King [Tue, 21 Feb 2012 16:24:16 +0000 (11:24 -0500)]
Add notmuch post.
W. Trevor King [Tue, 21 Feb 2012 15:59:17 +0000 (10:59 -0500)]
Add example output to my `scgi-test.py` example.
W. Trevor King [Tue, 21 Feb 2012 15:50:49 +0000 (10:50 -0500)]
Update gallery post text to reflect (S)CGI status.
W. Trevor King [Tue, 21 Feb 2012 15:46:57 +0000 (10:46 -0500)]
Update gallery.py to optionally run as an SCGI server (v0.5).
W. Trevor King [Tue, 21 Feb 2012 15:30:46 +0000 (10:30 -0500)]
Update gallery.py to run as a CGI server (bump to v0.4).
W. Trevor King [Tue, 21 Feb 2012 15:25:01 +0000 (10:25 -0500)]
Add Nginx post.
W. Trevor King [Tue, 21 Feb 2012 15:22:57 +0000 (10:22 -0500)]
Use \r\n in SCGI example server header endlines.
As recommended by Jeroen Vermeulen in the referenced LJ article.
W. Trevor King [Tue, 21 Feb 2012 15:18:27 +0000 (10:18 -0500)]
Add SCGI post and scgi-test.py script.
W. Trevor King [Tue, 21 Feb 2012 13:12:56 +0000 (08:12 -0500)]
Add mlmmj post.
W. Trevor King [Tue, 21 Feb 2012 12:53:22 +0000 (07:53 -0500)]
Add twirssi post.
W. Trevor King [Sun, 19 Feb 2012 21:17:14 +0000 (16:17 -0500)]
Add net-im/twirssi to Gentoo overlay page.
W. Trevor King [Fri, 17 Feb 2012 02:49:31 +0000 (21:49 -0500)]
Add Unicode long_description in setup.py post.
W. Trevor King [Fri, 17 Feb 2012 01:33:12 +0000 (20:33 -0500)]
Remove auto-generated Hooke docs.
It's easier for me to rsync the docs from my Gentoo ebuild [1] than
maintain this stacked ikiwiki build.
[1]: http://blog.tremily.us/posts/Gentoo_overlay/
which puts the docs under
/usr/share/doc/be-9999/html/
when `dev-util/be` is installed with the `doc` USE flag.
W. Trevor King [Thu, 16 Feb 2012 23:16:22 +0000 (18:16 -0500)]
Update Hooke doc building to use the Git repo and external update-copyright.py.
W. Trevor King [Thu, 16 Feb 2012 22:30:37 +0000 (17:30 -0500)]
Fix link from IBW post to Hooke post.
W. Trevor King [Thu, 16 Feb 2012 22:27:40 +0000 (17:27 -0500)]
Add a pointer from my IBW post to my HDF5 post.
W. Trevor King [Thu, 16 Feb 2012 22:09:52 +0000 (17:09 -0500)]
Fix link to igorbinarywave.py.
Thanks to Raj Giridharagopal for pointing out the broken link.
W. Trevor King [Thu, 16 Feb 2012 12:43:03 +0000 (07:43 -0500)]
Add update-copyright post.
W. Trevor King [Wed, 15 Feb 2012 19:49:09 +0000 (14:49 -0500)]
Convert my PBS-queue howto from LaTeX to Markdown.
W. Trevor King [Wed, 15 Feb 2012 18:13:20 +0000 (13:13 -0500)]
Fix link from Abax post to the new NFS root description.
W. Trevor King [Wed, 15 Feb 2012 15:03:18 +0000 (10:03 -0500)]
Convert my NFS-root howto from LaTeX to Markdown.
W. Trevor King [Tue, 14 Feb 2012 01:54:34 +0000 (20:54 -0500)]
Add comment to SNI post saying that you don't need any special configuration.
W. Trevor King [Mon, 13 Feb 2012 20:02:06 +0000 (15:02 -0500)]
Add SunOS post.
W. Trevor King [Mon, 13 Feb 2012 17:50:40 +0000 (12:50 -0500)]
Add `xset q` section to Fonts post and strip trailing whitespace.
W. Trevor King [Mon, 13 Feb 2012 17:25:49 +0000 (12:25 -0500)]
Fix link from Xephyr post to dedoimedo tutorial.
W. Trevor King [Mon, 13 Feb 2012 17:23:04 +0000 (12:23 -0500)]
Fix tagging in Xephyr post.
W. Trevor King [Mon, 13 Feb 2012 15:19:23 +0000 (10:19 -0500)]
Manual bisection of kernel bugs is possible using Git.
A note to myself and others who hadn't read the man page ;).
W. Trevor King [Sun, 12 Feb 2012 20:04:58 +0000 (15:04 -0500)]
Add syslog-ng post, and comment on increased git-daemon logging in gitweb post.
W. Trevor King [Sun, 12 Feb 2012 13:18:19 +0000 (08:18 -0500)]
Add workaround for blocked incoming port 25 to Postfix post.
Also convert tabs to spaces.
W. Trevor King [Sun, 12 Feb 2012 11:57:56 +0000 (06:57 -0500)]
Add browseurl option to gitrepo template.
W. Trevor King [Thu, 9 Feb 2012 16:21:57 +0000 (11:21 -0500)]
Add spam post.
W. Trevor King [Thu, 9 Feb 2012 15:46:01 +0000 (10:46 -0500)]
Add `--pdfmarks` option to pdf-merge.py.
This makes it easy get a pdfmark file from one PDF and and apply it to
another (among other things). The workflow suggested by Larry was:
On Thu, Feb 09, 2012 at 03:25:09PM +0800, Larry Cai wrote:
> 1. pdftk source.pdf dump_data_utf8 > in.info # save rawdata
> 2. pdftk A=book-cover.pdf B=source.pdf cat A1-2 B3-end output replaced.pdf
> # replace two pages for the book
> 3. pdf-convert < in.info > pdfmarks
> 4. gs -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=output.pdf
> replaced.pdf pdfmarks # put bookmark back
With the new option, you can accomplish the same goal with
$ rm -f pdfmarks
$ pdf-convert.py --pdfmarks pdfmarks source.pdf
$ pdftk A=book-cover.pdf B=source.pdf cat A1-2 B3-end output replaced.pdf
$ pdf-convert.py --pdfmarks pdfmarks --output output.pdf replaced.pdf
With the first call to pdf-convert.py creating pdfmarks (using
`pdftk`), and the second call applying it (using `gs`).
W. Trevor King [Thu, 9 Feb 2012 11:54:34 +0000 (06:54 -0500)]
Remove `[:-len('�')]` from Unicode parsing of pdftk output in pdf-merge.py.
Thanks to Larry Cai <larry.caiyu@gmail.com> for pointing this out:
On Thu, Feb 09, 2012 at 03:25:09PM +0800, Larry Cai wrote:
> …
> When I just remove "[:-len('�')]", it seem works!!
> …
I had thought that pdftk always appended a trailing null byte to
Unicode strings, but that appears to be incorrect.
W. Trevor King [Thu, 9 Feb 2012 06:29:53 +0000 (01:29 -0500)]
Add Pecita-reduced.woff and use it for headers in local.css.
W. Trevor King [Thu, 9 Feb 2012 06:28:02 +0000 (01:28 -0500)]
Add font-reduce.py and related post.
W. Trevor King [Thu, 9 Feb 2012 06:27:18 +0000 (01:27 -0500)]
Add fonts post.
W. Trevor King [Wed, 8 Feb 2012 15:16:56 +0000 (10:16 -0500)]
Credit Larry Cai <larry.caiyu@gmail.com> for suggesting Unicode handling.
On Tue, Feb 07, 2012 at 05:25:04PM +0800, Larry Cai wrote:
> …
> it will be nice if you can continue to improve this.
> 1. support unicode
> …
W. Trevor King [Wed, 8 Feb 2012 14:56:20 +0000 (09:56 -0500)]
Add pdftk post and link other pdftk references to that post.
W. Trevor King [Wed, 8 Feb 2012 01:51:09 +0000 (20:51 -0500)]
Handle Unicode strings in pdf-merge.py.
For information on Unicode strings in PDFs, see `§7.3.4 String
Objects` and `§7.9.2.2 Text String Type` in the PDF reference [1] and
`Table 2.3 (p21)`, `Table 2.5 (p25)`, etc. in the pdfmark reference
[2].
Note that there are Ghostscript bugs [3] that can lead to errors like:
Entity: line 5: parser error : xmlParseCharRef: invalid xmlChar value 1
<rdf:Description rdf:about='
e7674657-8a09-11ec-0000-
cfd67fe5d10' xmlns:pdf='
and:
Entity: line 9: parser error : Input is not proper UTF-8, indicate encoding !
Bytes: 0xAC 0x26 0x23 0x32
dobe.com/xap/1.0/mm/' xapMM:DocumentID='uuid:
3792d85d-8a0b-11ec-0000-
cfd67fe5d10
when you open your generated PDF in `evince`. These bugs were fixed
in Ghostscript 9.06.
The encoding of command-line arguments are not well standardized [4],
so I supply an `--argv-encoding` option to override the locale if
necessary.
[1] Document management — Portable document format — Part 1: PDF 1.7
(PDF 32000-1:2008, July 2008
http://www.adobe.com/devnet/pdf/pdf_reference.html)
[2] pdfmark Reference
(Edition 1.0, November 2006
http://www.adobe.com/devnet/acrobat/pdfs/pdfmark_reference.pdf)
[3] http://bugs.ghostscript.com/show_bug.cgi?id=692422
[4] http://stackoverflow.com/questions/
5408730/what-is-the-encoding-of-argv
W. Trevor King [Tue, 7 Feb 2012 14:47:37 +0000 (09:47 -0500)]
Change my email address back to drexel (Verizon blocks incoming port 25).
W. Trevor King [Sat, 4 Feb 2012 17:52:52 +0000 (12:52 -0500)]
Change my email address back to drexel (Verizon blocks incoming port 25.
W. Trevor King [Fri, 27 Jan 2012 18:00:25 +0000 (13:00 -0500)]
Add `git clean` notes to notes.org.
W. Trevor King [Wed, 25 Jan 2012 13:45:04 +0000 (08:45 -0500)]
Add channel operator's guide link to irssi post.
W. Trevor King [Wed, 25 Jan 2012 04:53:30 +0000 (23:53 -0500)]
Fix IRC mini-HOWTO link in irssi post.
W. Trevor King [Wed, 25 Jan 2012 04:50:11 +0000 (23:50 -0500)]
Add irssi post.
W. Trevor King [Wed, 25 Jan 2012 04:20:59 +0000 (23:20 -0500)]
Add local IRC server post.
W. Trevor King [Tue, 24 Jan 2012 18:35:04 +0000 (13:35 -0500)]
Add the words 'telnet' to the simple server post (so I find it with grep ;).
W. Trevor King [Thu, 12 Jan 2012 18:23:50 +0000 (13:23 -0500)]
Convert scale_click.sh to scale_click.py and make clickloc scripts executable.
W. Trevor King [Wed, 11 Jan 2012 23:17:32 +0000 (18:17 -0500)]
Add OfflineIMAP patch to bugs post.
W. Trevor King [Wed, 11 Jan 2012 19:12:14 +0000 (14:12 -0500)]
Add favicon.ico (TE icon).
W. Trevor King [Wed, 11 Jan 2012 19:02:44 +0000 (14:02 -0500)]
Add HTML5 outlines post.
W. Trevor King [Wed, 11 Jan 2012 19:01:58 +0000 (14:01 -0500)]
Add geopy post.
W. Trevor King [Sun, 8 Jan 2012 17:42:02 +0000 (12:42 -0500)]
Convert Hooke's repo and commit links from Mercurial to Git.
W. Trevor King [Sun, 8 Jan 2012 17:38:34 +0000 (12:38 -0500)]
Use spaces (instead of tabs) in Mutagen post.
W. Trevor King [Fri, 30 Dec 2011 20:20:48 +0000 (15:20 -0500)]
abc2midi options inserted *after* the input filename and refnum in abcplay.py.
W. Trevor King [Mon, 19 Dec 2011 17:26:28 +0000 (12:26 -0500)]
Add mpc-stop-after-n-songs.sh.
W. Trevor King [Sat, 17 Dec 2011 18:55:03 +0000 (13:55 -0500)]
Add Mutagen post.
W. Trevor King [Sat, 17 Dec 2011 18:39:47 +0000 (13:39 -0500)]
Convert mkogg.py to use Mutagen instead of metaflac, id3v2, etc.
The command line tools are limited compared with Mutagen:
* metaflac doesn't support multi-line values
* id3lib (underneath id3v2) doesn't support ID3v2.4
Also, Mutagen is already a Python library, so I don't need to convert
between native Python formats and whatever the command line program
uses.
This bumps mkogg.py to version 0.3.
W. Trevor King [Sat, 17 Dec 2011 02:09:31 +0000 (21:09 -0500)]
Add temperature bit value reading to slow_bend.py (CHANNEL_1_A_D_COUNTS).
W. Trevor King [Sat, 17 Dec 2011 01:52:50 +0000 (20:52 -0500)]
Fix names -> name_units typo in slow_bend's Monitor._make_header.
W. Trevor King [Fri, 16 Dec 2011 21:42:56 +0000 (16:42 -0500)]
Add --ambient-temperature to slow_bend.py.
W. Trevor King [Fri, 16 Dec 2011 14:41:57 +0000 (09:41 -0500)]
Remove Drexel-mail-filtering comments from contact.mdwn (since move to tremily).
W. Trevor King [Fri, 16 Dec 2011 14:18:35 +0000 (09:18 -0500)]
Adjust local.css for a cleaner layout (fewer borders, etc.).
W. Trevor King [Fri, 16 Dec 2011 14:02:28 +0000 (09:02 -0500)]
Adjust whitespace in local.css to use tabs for indentation.
W. Trevor King [Fri, 16 Dec 2011 12:02:21 +0000 (07:02 -0500)]
Change email address from drexel to tremily.
Also add section to GnuPG maintenance post about adding new user IDs.