W. Trevor King [Mon, 4 Jan 2016 04:28:26 +0000 (20:28 -0800)]
mkogg.py: Fix 'self.get_mp4_metadata(self, source)'
The bug snuck in with
abe5f261 (mkogg.py: Update to Python 3,
2015-07-13).
W. Trevor King [Tue, 25 Aug 2015 03:49:38 +0000 (20:49 -0700)]
mkogg.py: Fix 'unicode' -> 'str'
I'd missed this in my last pass at converting to Python 3 (
abe5f261,
mkogg.py: Update to Python 3, 2015-07-13).
W. Trevor King [Mon, 13 Jul 2015 16:46:00 +0000 (09:46 -0700)]
mkogg.py: Update to Python 3
Five years after the initial request [1], the Mutagen folks have added
Python 3 support (in v1.25, 2014-10-03 [2]). In this commit, I also
catch up on the m4a -> mp4 transition (from v1.9, 2006-12-09 [3]).
[1]: https://bitbucket.org/lazka/mutagen/issues/27
[2]: http://mutagen.readthedocs.org/en/latest/changelog.html#id6
[3]: http://mutagen.readthedocs.org/en/latest/changelog.html#id23
W. Trevor King [Thu, 4 Jun 2015 19:46:31 +0000 (12:46 -0700)]
posts:x.509-certificates: Mention openssl x509's -hash
This is useful for building certificate chains when intermediate
certificates aren't in your /etc/ssl/certs.
W. Trevor King [Thu, 28 May 2015 16:56:18 +0000 (09:56 -0700)]
contact:pubkey.txt: Update with a new subkey (
A051B1AC)
W. Trevor King [Sat, 23 May 2015 19:28:42 +0000 (12:28 -0700)]
GnuPG_maintenance: Add a section on --list-packets
W. Trevor King [Sat, 21 Feb 2015 19:55:57 +0000 (11:55 -0800)]
gallery.py: Fix is_video to use VIDEO_EXTENSIONS
Avoid:
HTML page URLs must end with a slash
when the script doesn't recognize a video URL as a cacheable page. It
looks like this bug snuck in way back in
ebd0292d (Allow gallery.py to
serve original images, 2012-08-25).
W. Trevor King [Mon, 22 Dec 2014 19:39:15 +0000 (11:39 -0800)]
posts:video: Fix 'extermal' and related typos
W. Trevor King [Fri, 19 Sep 2014 21:50:25 +0000 (14:50 -0700)]
posts:socks: Fix 'SSH tunneled' -> 'SSH-tunneled'
W. Trevor King [Thu, 14 Aug 2014 23:23:47 +0000 (16:23 -0700)]
gallery.py: Keyword text argument the directory-header crumbs
'Gallery' is the text, not the query, for that link ;).
W. Trevor King [Thu, 14 Aug 2014 23:18:42 +0000 (16:18 -0700)]
gallery.py: Add a 'version' argument
With the 'version' action [1], instead of passing the version as an
argument to ArgumentParser (which was at one point supported in
Python, but I can't find the deprecation docs).
[1]: https://docs.python.org/3/library/argparse.html#action
[2]: https://docs.python.org/3/library/argparse.html#argparse.ArgumentParser
W. Trevor King [Thu, 14 Aug 2014 23:15:35 +0000 (16:15 -0700)]
gallery.py: Shift urlencode into the _urllib_parse namespace for Python 2
In Python 3, both parse_qs and urlencode are in urllib.parse [1,2].
In Python 2, parse_qs is in urlparse and urlencode is in urllib [3,4].
Get consistent Python-3-compatible naming by stuffing urlencode into
our _urllib_parse namespace.
[1]: https://docs.python.org/2/library/urlparse.html#urlparse.parse_qs
[2]: https://docs.python.org/2/library/urllib.html#urllib.urlencode
[3]: https://docs.python.org/3/library/urllib.parse.html#urllib.parse.parse_qs
[4]: https://docs.python.org/3/library/urllib.parse.html#urllib.parse.urlencode
W. Trevor King [Thu, 10 Jul 2014 04:19:07 +0000 (21:19 -0700)]
gallery.py: Use -b:a and -b:v
Avoiding:
Please use -b:a or -b:v, -b is ambiguous
I'm not sure when the syntax changed, but this allows us to set the
target audio and video bandwidth independently. The old -bt option is
gone since ffmpeg's
2c5168a (Remove bitrate tolerance from libx264
interface, 2010-11-11, [1]).
[1]: http://git.videolan.org/?p=ffmpeg.git;a=commit;h=
2c5168afed8ddd798dae5909dba85ae3b611f894
W. Trevor King [Mon, 9 Jun 2014 04:26:34 +0000 (21:26 -0700)]
mkogg.py: Fix '_mutagen_flag' -> '_mutagen_flac' typo
Obviously I haven't converted to FLAC recently ;).
W. Trevor King [Wed, 28 May 2014 15:11:53 +0000 (08:11 -0700)]
posts:simple-servers: Fix 'incomming' -> 'incoming' typo
W. Trevor King [Wed, 28 May 2014 15:10:07 +0000 (08:10 -0700)]
contact:pubkey.txt: Update with a new subkey (
6DF2897C)
W. Trevor King [Fri, 21 Mar 2014 18:22:14 +0000 (11:22 -0700)]
posts:harvest: Add a post on Harvest and hcl
W. Trevor King [Mon, 24 Feb 2014 23:34:58 +0000 (15:34 -0800)]
posts:bugs: Record my Emacs XTerm version-detection patch
W. Trevor King [Fri, 21 Feb 2014 21:45:00 +0000 (13:45 -0800)]
contact: Add my name to the contact page
And remove the other email addresses, now that tremily has been
working for a few years.
W. Trevor King [Fri, 21 Feb 2014 21:40:20 +0000 (13:40 -0800)]
posts:package-cache: Add a homepage for my package-cache package
Also list it on the Gentoo-overlay page.
W. Trevor King [Fri, 21 Feb 2014 19:39:21 +0000 (11:39 -0800)]
posts:salt-stack: Use rc-service and mention particular-id install
Also remove a tremily reference and replace it with the generic
example.net.
W. Trevor King [Sun, 29 Dec 2013 18:34:29 +0000 (10:34 -0800)]
posts:x.509-certificates: Use --outfile with --generate-privkey
Instead of redirection. This sets up restricted permissions
(-rw-------) automatically, even if you have a permissive umask.
W. Trevor King [Sat, 28 Dec 2013 02:54:40 +0000 (18:54 -0800)]
posts:x.509-certificates: Fix 'directoy' -> 'directory' typo
W. Trevor King [Mon, 16 Dec 2013 17:07:23 +0000 (09:07 -0800)]
posts:gentoo-overlay: Drop app-crypt/monkeysphere
It's landed upstream [1].
[1]: https://bugs.gentoo.org/show_bug.cgi?id=313253#c13
W. Trevor King [Fri, 13 Dec 2013 16:48:02 +0000 (08:48 -0800)]
posts:docker: Link to LXC CONFIG_MEMCG fix
W. Trevor King [Thu, 12 Dec 2013 18:17:38 +0000 (10:17 -0800)]
posts:bower: Add a post on Bower
W. Trevor King [Tue, 1 Oct 2013 17:24:09 +0000 (10:24 -0700)]
posts:geopy: Update URL now that GeoPy has moved to GitHub
W. Trevor King [Fri, 20 Sep 2013 18:38:43 +0000 (11:38 -0700)]
posts:jam: Discuss the user-facing JavaScript packager
W. Trevor King [Thu, 12 Dec 2013 17:34:46 +0000 (09:34 -0800)]
posts:salt-stack: Add Salt post
W. Trevor King [Thu, 12 Dec 2013 17:23:08 +0000 (09:23 -0800)]
posts:docker: Add a Docker blog post
W. Trevor King [Mon, 9 Dec 2013 06:09:40 +0000 (22:09 -0800)]
gallery.py: Pass page data through .index()
Otherwise http://localhost:4000/?pp=2 will still get you the first
page.
W. Trevor King [Mon, 9 Dec 2013 05:59:47 +0000 (21:59 -0800)]
gallery.py: Handle query and path separately for ._url()
This avoids computing a relpath for:
/full/path/to/gallery?pp=2
from a base-path of:
/full/path/to/gallery
and getting:
../gallery?pp=2
instead of the expected:
?pp=2
We could avoid this by using gallery/ in the first place, but keeping
query data as a dict until the last possible moment is also nice.
W. Trevor King [Mon, 9 Dec 2013 05:27:29 +0000 (21:27 -0800)]
gallery: Use byte-compatible sys.stdout for CGI output
We're going to be writing bytes. In Python 2 they should go to
sys.stdout, but in Python 3 they should go to sys.stdout.buffer.
W. Trevor King [Mon, 9 Dec 2013 05:21:21 +0000 (21:21 -0800)]
gallery.py: Convert '--scgi' to '--mode=scgi' and add a 'wsgi' mode
This is useful for serving a one-off gallery when you don't want to
bother setting up a real frontend for the CGI servers. We use the
ProcessingComplete exception to pass out the header OrderedDict for
start_response.
W. Trevor King [Mon, 9 Dec 2013 05:17:06 +0000 (21:17 -0800)]
gallery.py: Rework headers to use an OrderedDict
This makes it easier to manipulate and access headers (e.g. to extract
the charset). Also:
* Use CRLF line endings for headers [1], instead of our old LF.
* Encode text/ content to bytes (other content should already be in
bytes) [2]. The encoding used for text/ content is configurable.
[1]: http://tools.ietf.org/html/rfc2616#section-6.1
[2]: http://www.python.org/dev/peps/pep-0333/#unicode-issues
W. Trevor King [Mon, 9 Dec 2013 05:11:02 +0000 (21:11 -0800)]
gallery.py: Python-3-compatible integer division
Avoid:
Traceback (most recent call last):
…
File "/.../gallery.py", line 610, in page
self._page(path=file_path, stream=stream)
File "/.../gallery.py", line 719, in _page
gallery_page = '{}/?pp={:d}'.format(gallery, page + 1)
ValueError: Unknown format code 'd' for object of type 'float'
W. Trevor King [Mon, 9 Dec 2013 05:02:28 +0000 (21:02 -0800)]
gallery.py: Use HTTPError.content (not .message) for custom responses
.message should only hold the standard reason phrase from RFC 2616
[1].
[1]: http://tools.ietf.org/html/rfc2616#section-6.1
W. Trevor King [Mon, 9 Dec 2013 04:37:05 +0000 (20:37 -0800)]
gallery.py: Python-3-compatible parse_qs import
Python 2's urlparse.parse_qs moved to urllib.parse.parse_qs in Python
3.
W. Trevor King [Mon, 9 Dec 2013 04:34:05 +0000 (20:34 -0800)]
gallery.py: Use Python-3-compatible exception syntax
Avoid:
File "/home/wking/bin/gallery.py", line 120
except OSError, e:
^
SyntaxError: invalid syntax
W. Trevor King [Mon, 9 Dec 2013 03:49:32 +0000 (19:49 -0800)]
gallery.py: Factor out page extraction to CGIGalleryServer.page_from_query
This reduces duplicated code.
W. Trevor King [Mon, 9 Dec 2013 03:41:33 +0000 (19:41 -0800)]
gallery.py: Fix 'stream' -> 'output' typo in serve_scgi
This only gets hit for invalid URLs.
W. Trevor King [Mon, 9 Dec 2013 03:41:01 +0000 (19:41 -0800)]
gallery.py: Update copyright for 2013
W. Trevor King [Mon, 28 Oct 2013 23:36:15 +0000 (16:36 -0700)]
posts:ecryptfs: Add a post on eCryptfs usage
Covering both ~/Private and arbitrary directories.
W. Trevor King [Sat, 21 Sep 2013 17:31:14 +0000 (10:31 -0700)]
monfold.sh: Use $(...) instead of `...` for command substitution
It's nestable [1], and it just looks nicer.
[1]: http://pubs.opengroup.org/onlinepubs/
9699919799/utilities/V3_chap02.html#tag_18_06_03
W. Trevor King [Sat, 21 Sep 2013 17:24:34 +0000 (10:24 -0700)]
monfold.sh: Use tabs instead of mixed tabs/spaces for indentation
Then folks can set the tab width to whatever they want and still get
indentation that makes sense.
W. Trevor King [Sat, 21 Sep 2013 17:18:15 +0000 (10:18 -0700)]
monfold.sh: Use here-documents to write GPFILE
Instead of wasting a call to echo. Here-documents are in POSIX [1].
[1]: http://pubs.opengroup.org/onlinepubs/
9699919799/utilities/V3_chap02.html#tag_18_07_04
W. Trevor King [Sat, 21 Sep 2013 17:17:19 +0000 (10:17 -0700)]
monfold.sh: Update inotify-tools link to GitHub URL
Don't just mention the Ubuntu package.
Also set the executable bit for this script. We need Bash (and not a
generic POSIX shell) because of the process substitution:
<(...)
feeding the while loop.
W. Trevor King [Fri, 20 Sep 2013 16:20:43 +0000 (09:20 -0700)]
posts:comcast: Add an update on Comcast's port blocking
And clean up the old Comcast post. The links are likely dead, but I
was able to rescue some of my old Liki notes.
W. Trevor King [Fri, 20 Sep 2013 00:20:18 +0000 (17:20 -0700)]
posts:node: Add a post on Node and npm
W. Trevor King [Mon, 19 Aug 2013 00:01:42 +0000 (17:01 -0700)]
beep.py: Fix tab -> spaces indentation
W. Trevor King [Thu, 15 Aug 2013 03:52:19 +0000 (20:52 -0700)]
posts:dvd-backup: Fix "you're" -> "your" typo
W. Trevor King [Thu, 15 Aug 2013 03:51:11 +0000 (20:51 -0700)]
posts:dvd-backup: Fix 'congfig' -> 'config' typo
W. Trevor King [Sat, 13 Jul 2013 15:02:29 +0000 (11:02 -0400)]
posts:relative-submodules: Add a post promoting relative URLs
W. Trevor King [Sat, 13 Jul 2013 14:56:32 +0000 (10:56 -0400)]
posts:relative-submodules: Add SVG exports of Dia graphics
W. Trevor King [Sat, 13 Jul 2013 14:55:57 +0000 (10:55 -0400)]
posts:relative-submodules: Add Dia source for graphics
W. Trevor King [Wed, 19 Jun 2013 13:16:21 +0000 (09:16 -0400)]
posts:open-hardware-analog-io: Add post on open analog I/O
Also update the open source force spectroscopy post to link to my
thesis.
W. Trevor King [Tue, 11 Jun 2013 00:49:27 +0000 (20:49 -0400)]
posts:NOAA-charts: Add short post pointing to historicalcharts.noaa.gov
W. Trevor King [Fri, 31 May 2013 18:55:26 +0000 (14:55 -0400)]
crunch.py: Extract unfolding frequency from unfold-protein curves
W. Trevor King [Fri, 31 May 2013 18:54:42 +0000 (14:54 -0400)]
posts:open_physics_text: Fix "bureaucrat's" -> "bureaucrats" typo
W. Trevor King [Fri, 31 May 2013 18:53:59 +0000 (14:53 -0400)]
posts:bugs: Mention when my SCons dir-lookup fix landed
W. Trevor King [Fri, 31 May 2013 18:45:05 +0000 (14:45 -0400)]
posts:package_management: Add post following SWC discussion
W. Trevor King [Mon, 27 May 2013 20:17:08 +0000 (16:17 -0400)]
contact:pubkey.txt: Update with a new subkey (
1A3646ED)
W. Trevor King [Sat, 18 May 2013 00:39:12 +0000 (20:39 -0400)]
posts:bibtex: Update with crossref ordering notes
Fool me once, shame on... shame on you. Fool me... you can't get
fooled again.
W. Trevor King [Sat, 18 May 2013 00:37:47 +0000 (20:37 -0400)]
posts:entrez: Link to BibTeX post
W. Trevor King [Sun, 12 May 2013 19:24:14 +0000 (15:24 -0400)]
plotpick.py: Reroll around `picker` API and bump to version 0.3
W. Trevor King [Sun, 12 May 2013 18:17:43 +0000 (14:17 -0400)]
plotpick.py: Force a redraw after changing the mouse-move crosshairs
There should be a way to just redraw the axes in question, but I'm not
sure what it is.
W. Trevor King [Wed, 1 May 2013 16:59:24 +0000 (12:59 -0400)]
compare-unfold.py: Add --contact-slope and --output options
For more quantitative comparisons and easier automation respectively.
W. Trevor King [Fri, 19 Apr 2013 15:07:51 +0000 (11:07 -0400)]
gyang_curve.py: Allow auxiliary files in the curve directory
I haven't bothered to trace this down to a particular version of the
LabVIEW VIs, but some of my archived experiments have the auxiliary
files in a 'params' subdirectory and some do not. With this patch,
gyang_curve can successfully read both layouts.
W. Trevor King [Sun, 14 Apr 2013 00:44:22 +0000 (20:44 -0400)]
posts:rss2email: Mention the rss2email project to raise visibility
In case anyone actually follows this blog ;).
W. Trevor King [Fri, 29 Mar 2013 17:13:22 +0000 (13:13 -0400)]
posts:one-off-git-daemon: Add an --enable=receive-pack section
Also add headings for serving a single repository and serving a few
repositories, since with --enable=receive-pack the post was getting a
bit long for one section.
W. Trevor King [Wed, 27 Mar 2013 12:54:13 +0000 (08:54 -0400)]
posts:nginx: Fix spawn-fcgi.fcgiwrap rc-update invocation
We need a four-space indent (not three) for Markdown <pre> blocks.
We're also using `#` to mark a root shell, so we don't need sudo.
W. Trevor King [Wed, 27 Mar 2013 12:47:56 +0000 (08:47 -0400)]
posts:nginx: Export HOME=/ to spawn-fcgi process for gitweb
Since Git's
96b9e0e (config: treat user and xdg config permission
problems as errors, 2012-10-13), `git` dies with:
fatal: unable to access '/root/.config/git/config': Permission denied
when it doesn't have access to the HOME directory where it think's its
config files are stored. Running an strace shows:
access("/root/.config/git/config", R_OK) = -1 EACCES (Permission denied)
Since this error is fatal, we need to set the HOME environment
variable to somewhere where the server process (the `nginx` user on my
box) *does* have access. Regardless of the user, `HOME=/` should be
pretty safe ;).
W. Trevor King [Thu, 21 Mar 2013 19:34:53 +0000 (15:34 -0400)]
git-grepall.sh: Add a script for grepping all local branches
Sometimes I have a lot of branches (e.g. per-assignment branches for a
single class, to support sharing work between assignments), and I
forget which feature is in which branch. Now I can run:
$ git-grepall.sh PATTERN
to search all the local branches.
W. Trevor King [Tue, 19 Mar 2013 13:12:27 +0000 (09:12 -0400)]
pca.py: Update Newcastle SPSS link
The internet archive page appears to be gone (which is scary ;), but I
found a URL pointing to the current page, which has all the same
stuff.
W. Trevor King [Tue, 19 Mar 2013 13:04:30 +0000 (09:04 -0400)]
pca.py: Add ability to drop columns (questions) from input data
W. Trevor King [Mon, 18 Mar 2013 01:32:44 +0000 (21:32 -0400)]
pca.py: Add principal component analysis script
A good deal of this script is a huge docstring full of tests comparing
my analysis with other examples I found online. You can run the
doctests with:
$ python -m doctest pca.py
References:
Hervé Abdi. Factor Rotations in Factor Analyses. In: Lewis-Beck M.,
Bryman, A., Futing T. (Eds.) (2003). Encyclopedia of Social Sciences
Research Methods. Thousand Oaks (CA): Sage.
Trevor Park. A Note on Terse Coding of Kaiser's Varimax Rotation
Using Complex Number Representation. (March 2003).
Andrew Wiesner's factor analysis notes.
Daniel Denis's factor analysis notes. (2009).
Archived version of the University of Newcastle upon Tyne's "How to
Perform and Interpret Factor Analysis using SPSS". (November 2005).
W. Trevor King [Sat, 16 Mar 2013 17:02:53 +0000 (13:02 -0400)]
posts:factor_analysis: Add a post on Factor Analysis
This is the statistical approach used to analyze Software Carpentry
surveys, so I've been figuring out how it works.
W. Trevor King [Sat, 9 Mar 2013 17:50:05 +0000 (12:50 -0500)]
posts:catalyst: Link to HOWTO commit and fix 'amd64' -> 'x86'
W. Trevor King [Wed, 6 Mar 2013 17:50:19 +0000 (12:50 -0500)]
posts:catalyst: Add post about building the SWC bootable ISO
W. Trevor King [Wed, 27 Feb 2013 12:51:53 +0000 (07:51 -0500)]
posts:sympy: Add post demonstrating usage
W. Trevor King [Tue, 19 Feb 2013 01:25:13 +0000 (20:25 -0500)]
posts:one-off-git-daemon: Add a git://192.168.1.2/ example
Sometimes requiring a project name is not useful (e.g. all students
are sharing the same project).
W. Trevor King [Tue, 19 Feb 2013 00:44:57 +0000 (19:44 -0500)]
posts:bugs: Mention comments on Python's #9263
This came up while digging into an rss2email report by Dmitry Bogatov
[1].
[1]: http://article.gmane.org/gmane.mail.rss2email/13
http://article.gmane.org/gmane.mail.rss2email/14
W. Trevor King [Tue, 19 Feb 2013 00:42:51 +0000 (19:42 -0500)]
posts:bugs: Update URL for my utf_8 iText patch
The original patch page is gone, but the change has been accepted
upstream via the itext-questions@ list.
W. Trevor King [Tue, 19 Feb 2013 00:41:42 +0000 (19:41 -0500)]
posts:bugs: Mention my Gnuplot '<&n' file descriptor patch
Now accepted :). Thanks Ethan!
W. Trevor King [Mon, 18 Feb 2013 23:59:31 +0000 (18:59 -0500)]
posts:One-off_Git_daemon: Add post describing ad-hoc usage
W. Trevor King [Thu, 7 Feb 2013 21:41:30 +0000 (16:41 -0500)]
mw2txt.py: Update to version 0.2 (mostly Python 3 conversion)
Also:
* Use logging module instead of `if debug: print(...)`.
* Rework coloring to work with a logger (e.g. don't print debugging
info directly to stdout).
* Upgrade from optparse to argparse.
* Add --verbose argument.
W. Trevor King [Tue, 29 Jan 2013 18:40:38 +0000 (13:40 -0500)]
pdf-merge.py: Bump to version 0.3
Changes since 0.2:
77a9ba6 pdf-merge.py: Upgrade to Python 3.x
0c3b4c3 pdf-merge.py: Add KEYWORD metavar for --keyword.
8003741 pdf-merge.py: Add -v/--version option
8966242 pdf-merge.py: Fix 'perserving' -> 'preserving' typo in module doctest
5cef5f7 pdfmerge.py: Bump copyright year
71c7be5 pdf-merge.py: Update dump parser for pdftk v1.45
c75bc05 Add `--pdfmarks` option to pdf-merge.py.
abdbff4 Remove `[:-len('�')]` from Unicode parsing of pdftk output in pdf-merge.py.
8efa8f6 Credit Larry Cai <larry.caiyu@gmail.com> for suggesting Unicode handling.
W. Trevor King [Tue, 29 Jan 2013 18:39:40 +0000 (13:39 -0500)]
pdf-merge.py: Upgrade to Python 3.x
This probably breaks Python 2.x support. If you can't upgrade your
Python implementation, you'll have to stick to older versions of this
script.
W. Trevor King [Tue, 29 Jan 2013 18:09:15 +0000 (13:09 -0500)]
pdf-merge.py: Add KEYWORD metavar for --keyword.
This should make the `--keyword KW1 --keyword KW2 ...` usage more
obvious.
W. Trevor King [Tue, 29 Jan 2013 17:27:18 +0000 (12:27 -0500)]
pdf-merge.py: Add -v/--version option
W. Trevor King [Tue, 29 Jan 2013 17:20:52 +0000 (12:20 -0500)]
pdf-merge.py: Fix 'perserving' -> 'preserving' typo in module doctest
W. Trevor King [Tue, 29 Jan 2013 16:31:14 +0000 (11:31 -0500)]
pdfmerge.py: Bump copyright year
W. Trevor King [Tue, 29 Jan 2013 16:23:46 +0000 (11:23 -0500)]
pdf-merge.py: Update dump parser for pdftk v1.45
On Tue, Jan 29, 2013 at 08:15:57AM -0800, Tsung-Han Yang wrote:
> I've attached the dumpdata message. I've just installed pdftk on
> windows yesterday. I've attached the diff file with -u, too.
> ...
> It looks like my pdf has some metadata like "InfoBegin" without ":"
> in the line.
The new lines in the dump are due to the addition of m_begin_mark in
pdftk between v1.44.1 and v1.45:
Sid Stewart wrote:
> Added record delimiters to dump_data output to help make parsing
> more reliable.
W. Trevor King [Sun, 20 Jan 2013 20:30:57 +0000 (15:30 -0500)]
posts:mutt-ldap: Add title, README link, and PiPI tag.
W. Trevor King [Sun, 20 Jan 2013 18:38:08 +0000 (13:38 -0500)]
posts:mutt-ldap: Mention Wade and Niels and add tags
W. Trevor King [Sun, 20 Jan 2013 18:26:59 +0000 (13:26 -0500)]
mutt-ldap.py: Pulled out into its own repository
W. Trevor King [Thu, 17 Jan 2013 22:06:27 +0000 (17:06 -0500)]
script-publish.py: Fix double-spacing in <pre> by removing \n
This makes the HTML less readable, but it's not worth the trouble to
make these HTML-readability endlines optional.
W. Trevor King [Sun, 13 Jan 2013 15:23:08 +0000 (10:23 -0500)]
script-publish.py: Don't print raw strings to the log
Print their repr() instead, since the strings may contain funky
characters and missed control codes.
W. Trevor King [Sun, 13 Jan 2013 15:18:19 +0000 (10:18 -0500)]
script-publish.py: Add DOCTYPE and <meta charset="..." />
<meta charset="..." /> is new in HTML5.
W. Trevor King [Sun, 13 Jan 2013 14:52:32 +0000 (09:52 -0500)]
script-publish.py: More newlines in the output HTML source
These newlines don't affect the rendered HTML, but they make the HTML
source more readable. The `previous_tail` bit keeps unstyled text
from clobbering newlines that were attached to a preceding <br />.