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.
W. Trevor King [Fri, 16 Dec 2011 00:39:19 +0000 (19:39 -0500)]
Add netCDF post.
W. Trevor King [Fri, 16 Dec 2011 00:32:33 +0000 (19:32 -0500)]
Add OpenSSH and ECDSA post.
W. Trevor King [Fri, 16 Dec 2011 00:28:38 +0000 (19:28 -0500)]
Add OfflineIMAP post.
W. Trevor King [Thu, 15 Dec 2011 19:57:55 +0000 (14:57 -0500)]
Add robots.txt, now that we're serving from the blog.tremily.us/ root.
W. Trevor King [Thu, 15 Dec 2011 19:51:13 +0000 (14:51 -0500)]
Add qgis post.
W. Trevor King [Thu, 15 Dec 2011 19:22:47 +0000 (14:22 -0500)]
Add Aspire One 722 post.
W. Trevor King [Thu, 15 Dec 2011 18:59:28 +0000 (13:59 -0500)]
Add SNI post.
W. Trevor King [Thu, 15 Dec 2011 18:57:28 +0000 (13:57 -0500)]
Move from physics.drexel.edu/~wking/unfolding-disasters to blog.tremily.us.
Also assorted cleanups and sanitation work.
W. Trevor King [Thu, 15 Dec 2011 18:52:01 +0000 (13:52 -0500)]
Add --no-hash option to mkogg.py.
Hashing is slow, so now you can avoid computing hashes to determine if
the target file has changed. You can miss small changes this way
(e.g. tag changes in the source, or changed tag handling in mkogg.py
itself), but sometimes I don't care about that enough to want to hash
my whole music collection ;).
I've also added a few more ignored and translated ID3v2 keys.
W. Trevor King [Thu, 15 Dec 2011 15:22:55 +0000 (10:22 -0500)]
Update AWStats post to use -configdir.
W. Trevor King [Fri, 9 Dec 2011 17:25:42 +0000 (12:25 -0500)]
Make bare repo globally readable (chmod 755) in git-publish.py.
W. Trevor King [Thu, 8 Dec 2011 17:13:34 +0000 (12:13 -0500)]
Update URL to RMNP map in Colorado post.
W. Trevor King [Thu, 8 Dec 2011 16:01:01 +0000 (11:01 -0500)]
Better variable quoting in passwd-gen.sh.
With the previous version, the unquoted `SET` passed to `tr` could
cause problems if Bash exapanded it to a filename. Now everything is
nicely quoted, using braces and everything. I also use
`${paramter:-word}` for all the configuration variables, which makes
it easy to override them without editing the script. For example, you
can now run:
$ DEVICE=/dev/urandom SET="[:alnum:][:punct:]" passwd-gen.sh 10
W. Trevor King [Thu, 8 Dec 2011 15:57:41 +0000 (10:57 -0500)]
Add --one-line option to find_duplicates.py.
Also add comments explaining dictionary contents and fix
ab_duplicates -> aa_duplicates
typo.
W. Trevor King [Thu, 8 Dec 2011 12:50:48 +0000 (07:50 -0500)]
Fix links and use reference link syntax in Colorado post.
Translate physics.drexel.edu to tremily.us and apply other minor
cleanups.
W. Trevor King [Thu, 8 Dec 2011 12:37:44 +0000 (07:37 -0500)]
Add AWStats post.
W. Trevor King [Thu, 8 Dec 2011 12:29:27 +0000 (07:29 -0500)]
Add Gramps-and-calendar post.
W. Trevor King [Thu, 8 Dec 2011 11:50:35 +0000 (06:50 -0500)]
Add gitweb (and git-daemon) post.
W. Trevor King [Thu, 8 Dec 2011 11:47:11 +0000 (06:47 -0500)]
Add readlink post.
W. Trevor King [Thu, 8 Dec 2011 02:28:20 +0000 (21:28 -0500)]
Adjust pinentry paths in gpg-agent-spawn.sh to pinentry.py.
Now it matches the name of my pinentry script.
W. Trevor King [Wed, 7 Dec 2011 19:10:38 +0000 (14:10 -0500)]
Add dummy --display argument to pinentry.py so it doesn't crash when called from X.
W. Trevor King [Wed, 7 Dec 2011 18:58:28 +0000 (13:58 -0500)]
Export GPG_AGENT_INFO in gpg-agent-spawn.sh.
W. Trevor King [Tue, 6 Dec 2011 19:45:37 +0000 (14:45 -0500)]
Strip trailing whitespace from SciPy and ATLAS post.
W. Trevor King [Tue, 6 Dec 2011 06:54:10 +0000 (01:54 -0500)]
Update links to related dotfile managers.
W. Trevor King [Tue, 6 Dec 2011 06:41:35 +0000 (01:41 -0500)]
Link to Steve Kemp and Sean Hammond's related dotfiles managers.
W. Trevor King [Tue, 6 Dec 2011 06:26:54 +0000 (01:26 -0500)]
Update dotfiles post now that I've split out the framework from the dotfiles.
W. Trevor King [Tue, 6 Dec 2011 03:36:28 +0000 (22:36 -0500)]
Also catch RuntimeError when importing matplotlib in slow_bend.py.
When it can't initialize the backend, the matplotlib crashes with a
runtime error. For example, I've used `~/.matplotlib/matplotlibrc` to
select the GTKAgg backend as my default. When I log in without X,
running the previous version of slow_bend.py would produce:
$ slow_bend.py --help
/usr/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
warnings.warn(str(e), _gtk.Warning)
/usr/lib/python2.7/site-packages/matplotlib/backends/backend_gtk.py:48: GtkWarning: IA__gdk_cursor_new_for_display: assertion `GDK_IS_DISPLAY (display)' failed
cursors.MOVE : gdk.Cursor(gdk.FLEUR),
Traceback (most recent call last):
File "/home/wking/bin/slow_bend.py", line 39, in <module>
from matplotlib import pyplot as _pyplot
...
RuntimeError: could not create GdkCursor object
W. Trevor King [Tue, 6 Dec 2011 03:22:34 +0000 (22:22 -0500)]
Add --plot option to slow_bend.py, for displaying strip-charts.
W. Trevor King [Tue, 6 Dec 2011 02:01:28 +0000 (21:01 -0500)]
Fix default-repo help formatting in git-publish.py.