W. Trevor King [Sun, 1 Apr 2012 16:38:13 +0000 (12:38 -0400)]
Add dev-python/chemdb to my Gentoo overlay packages.
W. Trevor King [Sun, 1 Apr 2012 16:28:56 +0000 (12:28 -0400)]
Update ChemDB post now that chemdb is a Django app.
W. Trevor King [Fri, 30 Mar 2012 02:24:44 +0000 (22:24 -0400)]
Restructure cache-file.sh, adding the -r option for restoring files.
Because sometimes you press the wrong button ;).
W. Trevor King [Fri, 30 Mar 2012 01:40:52 +0000 (21:40 -0400)]
Add -l option to cache-file.sh, so you can hard-link instead of move files.
W. Trevor King [Sun, 25 Mar 2012 13:10:19 +0000 (09:10 -0400)]
Add more options to gpg-agent-spawn.sh, and remove GPG_TTY environment var.
The point of GPG_TTY is to tell gpg-agent what terminal to steal with
the pinentry program. Because I like to keep my pinentry bound to the
terminal from which I ran gpg-agent-spawn.sh, it's easier to lock
gpg-agent into that terminal when I spawn it, and avoid reliance on
other terminals setting GPG_TTY appropriately. This should also avoid
problems with GPGME, which seems to ignore GPG_TTY.
W. Trevor King [Sun, 25 Mar 2012 10:52:21 +0000 (06:52 -0400)]
Use system pinentry.py from my pyassuan in gpg-agent-spawn.sh.
W. Trevor King [Sat, 24 Mar 2012 11:22:00 +0000 (07:22 -0400)]
Add pyassuan post, and remove pinentry.py in favor of pyassuan.
W. Trevor King [Fri, 23 Mar 2012 20:12:08 +0000 (16:12 -0400)]
Add pygrader post.
W. Trevor King [Fri, 23 Mar 2012 19:39:20 +0000 (15:39 -0400)]
Fix calibcant -> pgp-mime repo link in pgp-mime post.
W. Trevor King [Thu, 22 Mar 2012 11:52:18 +0000 (07:52 -0400)]
Tabs -> spaces in GnuPG maintenance post.
W. Trevor King [Wed, 21 Mar 2012 15:51:43 +0000 (11:51 -0400)]
Move send_pgp_mime post to pgp-mime, now that it's an official package.
W. Trevor King [Wed, 21 Mar 2012 14:42:30 +0000 (10:42 -0400)]
Mention dotfiles management in the gpg-agent post.
W. Trevor King [Tue, 20 Mar 2012 18:11:03 +0000 (14:11 -0400)]
Add spell.sh example to Git filtering notes.
W. Trevor King [Sat, 17 Mar 2012 17:12:47 +0000 (13:12 -0400)]
Mention that k10temp readings are relative (not absolute) temperatures.
W. Trevor King [Sat, 17 Mar 2012 15:43:25 +0000 (11:43 -0400)]
Add k10temp discussion to Aspire One 722 post.
W. Trevor King [Thu, 15 Mar 2012 18:59:55 +0000 (14:59 -0400)]
Add note on merging a single file from a foreign repo using Git.
W. Trevor King [Thu, 15 Mar 2012 00:47:34 +0000 (20:47 -0400)]
Add notes on rewinding bare repositories in Git.
W. Trevor King [Wed, 14 Mar 2012 10:49:14 +0000 (06:49 -0400)]
Fix PubMed link in entrez post.
W. Trevor King [Tue, 13 Mar 2012 15:22:33 +0000 (11:22 -0400)]
Add owner/name to layman.xml and compactify now that URLs are shorter.
W. Trevor King [Tue, 13 Mar 2012 12:19:31 +0000 (08:19 -0400)]
Add monfold script to version control and add bash tag to inotify post.
W. Trevor King [Sun, 11 Mar 2012 01:44:38 +0000 (20:44 -0500)]
Fix GoodCityModern reduction again (previous non-ASCII characters were offset).
The successful command was:
$ font-reduce.py -r 0x9f,0x9f -t 0xfc,0xfc -o GoodCityModern-reduced.woff /usr/share/fonts/freefonts/gocmseq_.pfb
W. Trevor King [Sun, 11 Mar 2012 01:26:23 +0000 (20:26 -0500)]
Add --target option to font-reduce.py.
This allows you to remap charachter from anywhere in the input font to
their proper Unicode position in the output font.
W. Trevor King [Sat, 10 Mar 2012 23:57:47 +0000 (18:57 -0500)]
Add 0x7f-0xff to GoodCityModern-reduced.woff (for 'ü').
W. Trevor King [Sat, 10 Mar 2012 23:55:59 +0000 (18:55 -0500)]
Add --range option to font-reduce.py.
W. Trevor King [Sat, 10 Mar 2012 23:35:09 +0000 (18:35 -0500)]
Add linking post.
W. Trevor King [Sat, 10 Mar 2012 23:31:48 +0000 (18:31 -0500)]
Fix tag markup in Screen post.
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