dotfiles-public.git
6 years ago.bashrc.d/20nobeep: Fallback to -blength if --blength doesn't work
W. Trevor King [Wed, 11 Jul 2018 22:24:54 +0000 (15:24 -0700)]
.bashrc.d/20nobeep: Fallback to -blength if --blength doesn't work

I'd bumped from -blength to --blength in abee64c4 (.bashrc.d/20nobeep:
Change '-blength' -> '--blength', 2015-03-19), expecting to never see
util-linux < 2.25 or so again.  But I've recently been exposed to a
RHEL 7.5 system, which has:

  $ setterm -version
  setterm from util-linux 2.23.2
  $ setterm --help 2>&1 | grep blength
   -blength <0-2000>

so this commit adds code to attempt the single-dash form if the
double-dash form fails.

6 years ago.bashrc.d/01detect_system: Use /etc/os-release
W. Trevor King [Wed, 11 Jul 2018 22:08:19 +0000 (15:08 -0700)]
.bashrc.d/01detect_system: Use /etc/os-release

The systemd folks kicked this off [1,2] and stopped supporting systems
without it in 2012-02-13 [3].  I haven't used Gentoo Prefix in a long
time, so I'm dropping that here.  All the other distros here have
long-since added an /etc/os-release.  And it means the script will now
autodetect rhel and others I had previously not supported as well.

I'd started off on this track for Arch in 7b8f3a76
(.bashrc.d/01detect_system: Use os-release to detect Arch,
2018-04-30).  This commit just moves the rest of these distros over.

Also switch from the terse '[' to the more obvious 'test', and shift
'then' (where I touch it) onto its own line.  No real reasons for
those; I just like that style more for some reason.

[1]: https://www.freedesktop.org/software/systemd/man/os-release.html
[2]: http://0pointer.de/blog/projects/os-release
[3]: https://lists.freedesktop.org/archives/systemd-devel/2012-February/004475.html
     Subject: [systemd-devel] [HEADS-UP] Support for /dev/os-release now kinda mandatory
     Date: Mon Feb 13 09:21:32 PST 2012

6 years agoMerge branch 'master' of git://github.com/wking/dotfiles-public
W. Trevor King [Wed, 11 Jul 2018 22:34:56 +0000 (15:34 -0700)]
Merge branch 'master' of git://github.com/wking/dotfiles-public

* 'master' of git://github.com/wking/dotfiles-public:
  .bashrc.d/30gpg_agent: Remove unnecessary file

6 years ago.bashrc.d/01detect_system: Use os-release to detect Arch
W. Trevor King [Mon, 30 Apr 2018 21:15:00 +0000 (21:15 +0000)]
.bashrc.d/01detect_system: Use os-release to detect Arch

Example content:

  NAME="Arch Linux ARM"
  ID=archarm
  ID_LIKE=arch
  PRETTY_NAME="Arch Linux ARM"
  ANSI_COLOR="0;36"
  HOME_URL="http://archlinuxarm.org/"
  SUPPORT_URL="https://archlinuxarm.org/forum"
  BUG_REPORT_URL="https://github.com/archlinuxarm/PKGBUILDs/issues"

I should probably update the others to use os-release too, but I'm
putting that off for now.

7 years ago.bashrc.d/30gpg_agent: Remove unnecessary file
W. Trevor King [Sun, 27 Nov 2016 23:59:24 +0000 (15:59 -0800)]
.bashrc.d/30gpg_agent: Remove unnecessary file

GnuPG 2.1 dropped GPG_AGENT_INFO and instead uses a fixed location
(e.g. ~/.gnupg/S.gpg-agent).

9 years ago.bashrc.d/10aliases: Add a 'cdcwd' alias
W. Trevor King [Fri, 24 Apr 2015 03:40:43 +0000 (20:40 -0700)]
.bashrc.d/10aliases: Add a 'cdcwd' alias

For expanding symlinks in the current working directory.  'realpath'
isn't in POSIX [1], but it is in GNU Coreutils [2].

[1]: http://pubs.opengroup.org/stage7tc1/idx/utilities.html
[2]: https://www.gnu.org/software/coreutils/manual/html_node/realpath-invocation.html

9 years ago.bashrc.d/00environment: Set GOPATH and GOBIN
W. Trevor King [Wed, 15 Apr 2015 18:47:14 +0000 (11:47 -0700)]
.bashrc.d/00environment: Set GOPATH and GOBIN

I want to install to ~/.local/bin and ~/.local/lib/go to match the XDG
Base Directory Specification default for $XDG_DATA_HOME [1,2].

[1]: https://golang.org/cmd/go/#hdr-GOPATH_environment_variable
[2]: http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html

9 years ago.config/rss2email: Follow Git Rev News
W. Trevor King [Fri, 3 Apr 2015 18:54:51 +0000 (11:54 -0700)]
.config/rss2email: Follow Git Rev News

Now that they have an RSS feed [1].

[1]: https://github.com/git/git.github.io/pull/38

9 years ago.bashrc.d/20nobeep: Disable accessibility.typeaheadfind.enablesound
W. Trevor King [Thu, 26 Mar 2015 18:18:07 +0000 (11:18 -0700)]
.bashrc.d/20nobeep: Disable accessibility.typeaheadfind.enablesound

I don't want Firefox beeping every time I type something that can't be
found in the current tab.  Override the default value by editing
user.js [1].

[1]: https://developer.mozilla.org/en-US/docs/Mozilla/Preferences/A_brief_guide_to_Mozilla_preferences

9 years ago.bashrc.d/20nobeep: Change '-blength' -> '--blength'
W. Trevor King [Thu, 19 Mar 2015 15:42:02 +0000 (08:42 -0700)]
.bashrc.d/20nobeep: Change '-blength' -> '--blength'

setterm from util-linux 2.25.2 uses GNU-style, double-dash long
options.  I'm not exactly sure when the change took place, but
util-linux 2.24.1 used single-dash long options.  2.25.2 also supports
the single-dash versions, but I don't need to be backward compatible
;).

9 years ago.emacs.d/site-lisp/wtk_common.el: Disable electric indent mode
W. Trevor King [Sat, 14 Mar 2015 23:17:18 +0000 (16:17 -0700)]
.emacs.d/site-lisp/wtk_common.el: Disable electric indent mode

I'm disabling this so I can paste content into Emacs without it
injecting a lot of auto-indent whitespace [1,2].  I should be able to
remove this workaround once I get to Emacs 25 [1].

[1]: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19093
[2]: https://www.gnu.org/software/emacs/manual/html_node/emacs/Indent-Convenience.html

10 years ago.bashrc.d/00environment: Disable update-notifier checks
W. Trevor King [Wed, 29 Oct 2014 23:39:34 +0000 (16:39 -0700)]
.bashrc.d/00environment: Disable update-notifier checks

I don't care if my local Yeoman, Bower, ..., is out of date (certainly
not enough for a network ping on each invocation).  I'll update my
tools periodically on my own.  From [1]:

  Users can also opt-out by setting the environment variable
  NO_UPDATE_NOTIFIER with any value.

[1]: https://github.com/yeoman/update-notifier

10 years ago.hgrc: Enable the patchbomb extention
W. Trevor King [Fri, 24 Oct 2014 20:41:05 +0000 (13:41 -0700)]
.hgrc: Enable the patchbomb extention

This extension [1] is preferred by Nginx [2].

[1]: http://mercurial.selenic.com/wiki/PatchbombExtension
[2]: http://nginx.org/en/docs/contributing_changes.html#submitting_changes

10 years agomail/.notmuch/hooks/post-new: Tag HashDist messages
W. Trevor King [Sat, 9 Aug 2014 06:53:07 +0000 (23:53 -0700)]
mail/.notmuch/hooks/post-new: Tag HashDist messages

10 years agomail/.notmuch/hooks/post-new: Tag xkcd messages
W. Trevor King [Sat, 9 Aug 2014 06:51:26 +0000 (23:51 -0700)]
mail/.notmuch/hooks/post-new: Tag xkcd messages

I usually archive the what-ifs, but I sometimes archive the standard
comics as well.  Both are fun ;).

10 years agomail/.notmuch/hooks/post-new: Tag Bower messages
W. Trevor King [Sat, 9 Aug 2014 06:50:54 +0000 (23:50 -0700)]
mail/.notmuch/hooks/post-new: Tag Bower messages

10 years agomail/.notmuch/hooks/post-new: The Fontconfig list moved to fontconfig.org
W. Trevor King [Sat, 9 Aug 2014 06:31:39 +0000 (23:31 -0700)]
mail/.notmuch/hooks/post-new: The Fontconfig list moved to fontconfig.org

10 years agomail/.notmuch/hooks/post-new: Tag Python commits (via rss2email)
W. Trevor King [Sat, 9 Aug 2014 06:23:59 +0000 (23:23 -0700)]
mail/.notmuch/hooks/post-new: Tag Python commits (via rss2email)

This from-address is setup in the feed.python-checkins block of
~/.config/rss2email.cfg.

10 years agomail/.notmuch/hooks/post-new: TowTruck rebranded itself as TogetherJS
W. Trevor King [Sat, 9 Aug 2014 06:10:13 +0000 (23:10 -0700)]
mail/.notmuch/hooks/post-new: TowTruck rebranded itself as TogetherJS

The 2013-09-19 rebranding reflects the generic session-sharing
functionality, which has uses beyond just debugging assistance [1].

[1]: http://blog.mozilla.org/labs/2013/09/reintroducing-togetherjs-formerly-known-as-towtruck/

10 years ago.bowerrc: Opt-out of Bower's usage tracking
W. Trevor King [Sun, 20 Jul 2014 14:46:28 +0000 (07:46 -0700)]
.bowerrc: Opt-out of Bower's usage tracking

[1]: https://github.com/bower/bower#analytics

10 years ago.XCompose: Remove multi-0-0 sequence for the empty set
W. Trevor King [Fri, 25 Apr 2014 16:30:24 +0000 (09:30 -0700)]
.XCompose: Remove multi-0-0 sequence for the empty set

There's already an empty-set sequence in
/usr/share/X11/locale/en_US.UTF-8/Compose:

  <Multi_key> <braceleft> <braceright> : "∅"   U2205 # EMPTY SET

I'll just use that one.

10 years agomail/.notmuch/hooks/post-new: More identifiers for -inbox
W. Trevor King [Sat, 19 Apr 2014 04:54:57 +0000 (21:54 -0700)]
mail/.notmuch/hooks/post-new: More identifiers for -inbox

I'm only occasionally interested in these messages, so don't clutter
the inbox (unless they're sent to me in particular).

10 years agomail/.notmuch/hooks/post-new: Tag news messages
W. Trevor King [Sat, 19 Apr 2014 04:54:07 +0000 (21:54 -0700)]
mail/.notmuch/hooks/post-new: Tag news messages

The news feeds set author addresses, so I'm just using the paper name
instead of the email addresses.

10 years agomail/.notmuch/hooks/post-new: More identifiers for journal tags
W. Trevor King [Sat, 19 Apr 2014 04:52:49 +0000 (21:52 -0700)]
mail/.notmuch/hooks/post-new: More identifiers for journal tags

I'm not sorting everything into folder:journal anymore, so it's good
to also tag based on the sender.

10 years agomail/.notmuch/hooks/post-new: Tag job messages
W. Trevor King [Sat, 19 Apr 2014 04:51:35 +0000 (21:51 -0700)]
mail/.notmuch/hooks/post-new: Tag job messages

This is missing stuff from Python's job feed, but I'll extend it once
I get a new sample message from that source.

10 years agomail/.notmuch/hooks/post-new: More identifiers for swc tags
W. Trevor King [Sat, 19 Apr 2014 04:49:24 +0000 (21:49 -0700)]
mail/.notmuch/hooks/post-new: More identifiers for swc tags

Also tag RMG-Py messages with 'mentor'.

10 years agomail/.notmuch/hooks/post-new: Tag xkcd's What If? and Dilbert
W. Trevor King [Fri, 18 Apr 2014 15:53:35 +0000 (08:53 -0700)]
mail/.notmuch/hooks/post-new: Tag xkcd's What If? and Dilbert

10 years agomail/.notmuch/hooks/post-new: Tag catalyst autobuild messages
W. Trevor King [Fri, 18 Apr 2014 15:46:11 +0000 (08:46 -0700)]
mail/.notmuch/hooks/post-new: Tag catalyst autobuild messages

10 years agomail/.notmuch/hooks/post-new: Tag git-scm.com messages
W. Trevor King [Fri, 18 Apr 2014 15:23:44 +0000 (08:23 -0700)]
mail/.notmuch/hooks/post-new: Tag git-scm.com messages

10 years agomail/.notmuch/hooks/post-new: Tag messages from planet@gentoo.org
W. Trevor King [Fri, 18 Apr 2014 15:21:44 +0000 (08:21 -0700)]
mail/.notmuch/hooks/post-new: Tag messages from planet@gentoo.org

The planet sets its own from address, and I haven't enabled force-from
for any feed in my rss2email config.

10 years agomail/.notmuch/hooks/post-new: Tag dj-static messages
W. Trevor King [Fri, 18 Apr 2014 15:18:26 +0000 (08:18 -0700)]
mail/.notmuch/hooks/post-new: Tag dj-static messages

10 years agomail/.notmuch/hooks/post-new: Tag Persona messages
W. Trevor King [Fri, 18 Apr 2014 15:07:22 +0000 (08:07 -0700)]
mail/.notmuch/hooks/post-new: Tag Persona messages

10 years ago.config/rss2email.cfg: Fix 'carreers' -> 'careers' typo
W. Trevor King [Fri, 18 Apr 2014 15:05:42 +0000 (08:05 -0700)]
.config/rss2email.cfg: Fix 'carreers' -> 'careers' typo

10 years agomail/.notmuch/hooks/post-new: Tag icalendar messages
W. Trevor King [Fri, 18 Apr 2014 14:59:37 +0000 (07:59 -0700)]
mail/.notmuch/hooks/post-new: Tag icalendar messages

10 years agomail/.notmuch/hooks/post-new: Tag SWC's new site and bc repositories
W. Trevor King [Mon, 7 Apr 2014 17:01:04 +0000 (10:01 -0700)]
mail/.notmuch/hooks/post-new: Tag SWC's new site and bc repositories

Greg spun these off as replacements for the olders website and
boot-camps repositories.  There's not much development in the old
repositories now, but it doesn't hurt to keep them in our tag list.

10 years ago.inputrc: Disable the system bell (\a) for the Readline library
W. Trevor King [Wed, 2 Apr 2014 03:00:52 +0000 (20:00 -0700)]
.inputrc: Disable the system bell (\a) for the Readline library

I enable the system bell (xset b) to get IRC notifications from irssi,
but I don't want Readline beeping at me if I try and move outside the
line ;).

For docs on other available settings, see [1].

[1]: https://www.gnu.org/software/bash/manual/html_node/Readline-Init-File-Syntax.html

10 years ago.emacs.d/site-lisp/wtk_notmuch.el: Add a "mentions" search
W. Trevor King [Wed, 2 Apr 2014 00:17:37 +0000 (17:17 -0700)]
.emacs.d/site-lisp/wtk_notmuch.el: Add a "mentions" search

I watch a number of GitHub repositories that I'm moderately interested
in.  I don't read *all* of the resulting messages, but it's nice to
have them in my email archives so they'll come up in future searches.
However, sometimes messages that @mention me may get lost in the
deluge.  To highlight them, I tag them (using the X-GitHub-Reason
header):

  $ for FILE in $(grep -lr '^X-GitHub-Reason: mention' .); do
  >   MID=$(cat "$FILE" | sed -n 's/^Message-ID: <\(.*\)>.*/\1/p' | head -n1);
  >   notmuch tag +mention -- "id:$MID";
  > done

This commit adds a saved search [1] that grabs messages mentioning me
from my inbox, so notmuch's hello page will show a count, and I can
read them over before removing inbox tags.

The other entries are straight from the notmuch v0.17 source [2].

[1]: http://notmuchmail.org/emacstips/#index12h2
[2]: http://git.notmuchmail.org/git/notmuch/blob/0.17:/emacs/notmuch-lib.el#l110

10 years agomail/.notmuch/hooks/post-new: Tag Docker-registry messages
W. Trevor King [Tue, 1 Apr 2014 20:20:18 +0000 (13:20 -0700)]
mail/.notmuch/hooks/post-new: Tag Docker-registry messages

10 years ago.config/rss2email.cfg: More per-feed from addresses
W. Trevor King [Mon, 31 Mar 2014 06:11:09 +0000 (23:11 -0700)]
.config/rss2email.cfg: More per-feed from addresses

I missed these ones in 72b610f6 (.config/rss2email.cfg: Add per-feed
from addresses, 2014-03-29).

10 years agomail/.notmuch/hooks/post-new: Tag Docker messages
W. Trevor King [Sun, 30 Mar 2014 23:37:52 +0000 (16:37 -0700)]
mail/.notmuch/hooks/post-new: Tag Docker messages

10 years agomail/.notmuch/hooks/post-new: Tag gnuplot messages
W. Trevor King [Sun, 30 Mar 2014 22:37:14 +0000 (15:37 -0700)]
mail/.notmuch/hooks/post-new: Tag gnuplot messages

10 years agomail/.notmuch/hooks/post-new: Tag Linux man-page messages
W. Trevor King [Sun, 30 Mar 2014 22:34:00 +0000 (15:34 -0700)]
mail/.notmuch/hooks/post-new: Tag Linux man-page messages

10 years agomail/.notmuch/hooks/post-new: Tag Kibana messages
W. Trevor King [Sun, 30 Mar 2014 16:59:52 +0000 (09:59 -0700)]
mail/.notmuch/hooks/post-new: Tag Kibana messages

10 years agomail/.notmuch/hooks/post-new: Tag Hubot messages
W. Trevor King [Sun, 30 Mar 2014 16:53:55 +0000 (09:53 -0700)]
mail/.notmuch/hooks/post-new: Tag Hubot messages

10 years agomail/.notmuch/hooks/post-new: Tag TLDP messages
W. Trevor King [Sun, 30 Mar 2014 16:51:09 +0000 (09:51 -0700)]
mail/.notmuch/hooks/post-new: Tag TLDP messages

10 years agomail/.notmuch/hooks/post-new: Tax siunitx messages
W. Trevor King [Sun, 30 Mar 2014 16:49:58 +0000 (09:49 -0700)]
mail/.notmuch/hooks/post-new: Tax siunitx messages

10 years agomail/.notmuch/hooks/post-new: Add *.net SciPy mailing lists
W. Trevor King [Sun, 30 Mar 2014 16:43:15 +0000 (09:43 -0700)]
mail/.notmuch/hooks/post-new: Add *.net SciPy mailing lists

The canonical lists are @scipy.org, but I just got two messages
(id:86r46rwoyq.fsf@gmail.com and
id:loom.20140312T190530-272@post.gmane.org) to ipthon-dev@scipy.net
and ipython-user@scipy.net respectively.

10 years agomail/.notmuch/hooks/post-new: Tag PyCrypto messages
W. Trevor King [Sun, 30 Mar 2014 16:41:11 +0000 (09:41 -0700)]
mail/.notmuch/hooks/post-new: Tag PyCrypto messages

10 years agomail/.notmuch/hooks/post-new: Tag MDP messages
W. Trevor King [Sun, 30 Mar 2014 16:40:17 +0000 (09:40 -0700)]
mail/.notmuch/hooks/post-new: Tag MDP messages

10 years agomail/.notmuch/hooks/post-new: Tag Celery messages
W. Trevor King [Sun, 30 Mar 2014 16:33:20 +0000 (09:33 -0700)]
mail/.notmuch/hooks/post-new: Tag Celery messages

10 years agomail/.notmuch/hooks/post-new: Tag Gunicorn messages
W. Trevor King [Sun, 30 Mar 2014 15:16:42 +0000 (08:16 -0700)]
mail/.notmuch/hooks/post-new: Tag Gunicorn messages

10 years agomail/.notmuch/hooks/post-new: Tag fontconfig messages
W. Trevor King [Sun, 30 Mar 2014 15:09:30 +0000 (08:09 -0700)]
mail/.notmuch/hooks/post-new: Tag fontconfig messages

10 years ago.bashrc.d/00environment: Disable the system bell (\a) for less
W. Trevor King [Sun, 30 Mar 2014 01:11:57 +0000 (18:11 -0700)]
.bashrc.d/00environment: Disable the system bell (\a) for less

I enable the system bell (xset b) to get IRC notifications from irssi,
but I don't want less beeping at me if I try and move outside the
buffer ;).

'-Q' disables the bell.  The rest of the options are from Gentoo's
/etc/env.d/70less (from sys-apps/less-457).

10 years ago.emacs.d/site-lisp/wtk_common.el: Disable the system bell (\a)
W. Trevor King [Sun, 30 Mar 2014 01:06:24 +0000 (18:06 -0700)]
.emacs.d/site-lisp/wtk_common.el: Disable the system bell (\a)

I enable the system bell (xset b) to get IRC notifications from irssi,
but I don't want Emacs beeping at me if I try and move outside the
buffer ;).

10 years agomail/.notmuch/hooks/post-new: Tag aubio messages
W. Trevor King [Sat, 29 Mar 2014 17:30:30 +0000 (10:30 -0700)]
mail/.notmuch/hooks/post-new: Tag aubio messages

10 years agomail/.notmuch/hooks/post-new: Add 'gentoo' tag to aggregated mail
W. Trevor King [Sat, 29 Mar 2014 16:38:36 +0000 (09:38 -0700)]
mail/.notmuch/hooks/post-new: Add 'gentoo' tag to aggregated mail

10 years ago.config/rss2email.cfg: Add per-feed from addresses
W. Trevor King [Sat, 29 Mar 2014 16:34:17 +0000 (09:34 -0700)]
.config/rss2email.cfg: Add per-feed from addresses

This makes it easy to sort feed mail with notmuch, which doesn't index
arbitrary bonus headers.

10 years agomail/.notmuch/hooks/post-new: Tag Portage mail
W. Trevor King [Sat, 29 Mar 2014 16:26:23 +0000 (09:26 -0700)]
mail/.notmuch/hooks/post-new: Tag Portage mail

10 years agomail/.notmuch/hooks/post-new: Move from-archival to the end
W. Trevor King [Sat, 29 Mar 2014 15:09:51 +0000 (08:09 -0700)]
mail/.notmuch/hooks/post-new: Move from-archival to the end

I still want subject and issue tags on things I write.  Also fix a

  "from tvrkng@gmail.com" -> "from:tvrkng@gmail.com"

typo.

10 years agomail/.notmuch/hooks/post-new: Tag mail from PyCUDA
W. Trevor King [Sat, 29 Mar 2014 14:57:07 +0000 (07:57 -0700)]
mail/.notmuch/hooks/post-new: Tag mail from PyCUDA

10 years ago.bash_profile: Add ~/.gem/*/bin to the PATH (if they exist)
W. Trevor King [Thu, 20 Mar 2014 00:17:09 +0000 (17:17 -0700)]
.bash_profile: Add ~/.gem/*/bin to the PATH (if they exist)

This allows you to automatically run Ruby gems without tweaking your
PATH.

10 years ago.bash_profile: Use tabs for indenting
W. Trevor King [Thu, 20 Mar 2014 00:16:43 +0000 (17:16 -0700)]
.bash_profile: Use tabs for indenting

Then folks can set tab-width to whatever they like.

10 years ago.pqivrc: Update for Pqiv v2.0 config syntax
W. Trevor King [Tue, 31 Dec 2013 19:39:36 +0000 (11:39 -0800)]
.pqivrc: Update for Pqiv v2.0 config syntax

pqiv switched to INI syntax with v2.0, so update the config
accordingly.

https://github.com/phillipberndt/pqiv/blob/master/pqiv.1

10 years ago.config/rss2email.cfg: Add eScience Institute blog
W. Trevor King [Sat, 7 Dec 2013 20:58:36 +0000 (12:58 -0800)]
.config/rss2email.cfg: Add eScience Institute blog

An important field, and the UW folks are close by.  So far things look
a bit managerial, but we'll see how it develops ;).

10 years ago.config/rss2email: Add Scott Adam's blog
W. Trevor King [Sat, 7 Dec 2013 20:57:27 +0000 (12:57 -0800)]
.config/rss2email: Add Scott Adam's blog

10 years ago.config/rss2email.cfg: Add "Welcome to Night Vale" feed
W. Trevor King [Sat, 7 Dec 2013 20:56:39 +0000 (12:56 -0800)]
.config/rss2email.cfg: Add "Welcome to Night Vale" feed

10 years ago.config/rss2email.cfg: Add Computing Education feeds
W. Trevor King [Sat, 7 Dec 2013 20:54:17 +0000 (12:54 -0800)]
.config/rss2email.cfg: Add Computing Education feeds

Lots of good citations in here.

10 years agolocal-patch.examples/005-conky-battery-0.patch: Switch to BAT0
W. Trevor King [Sat, 30 Nov 2013 17:28:51 +0000 (09:28 -0800)]
local-patch.examples/005-conky-battery-0.patch: Switch to BAT0

My Asus 1015e uses BAT0, so add a symlink-able patch to switch from
BAT1 to BAT0.

11 years ago.config/rss2email.cfg: Fix 'name-foramt' -> 'name-format' typo
W. Trevor King [Fri, 27 Sep 2013 18:46:03 +0000 (11:46 -0700)]
.config/rss2email.cfg: Fix 'name-foramt' -> 'name-format' typo

11 years ago.mailcap: Fix 'nametemplate %s.html' -> 'nametemplate=%s.html'
W. Trevor King [Mon, 23 Sep 2013 22:40:17 +0000 (15:40 -0700)]
.mailcap: Fix 'nametemplate %s.html' -> 'nametemplate=%s.html'

Bring the mailcap file back into RFC 1524 compliance.  Embarassingly,
this typo dates all the way back to a87d8cb (Begin versioning and
syncing .mailcap file, 2009-01-15).

11 years ago.config/rss2email.cfg: Override name-format for several feeds
W. Trevor King [Fri, 20 Sep 2013 08:27:22 +0000 (01:27 -0700)]
.config/rss2email.cfg: Override name-format for several feeds

These are either feeds that don't define an author, or ones that use
verbose feed titles (crowding out the author information).

11 years ago.config/rss2email.cfg: Update URLs for Greg's Third Bit blog
W. Trevor King [Fri, 20 Sep 2013 08:19:31 +0000 (01:19 -0700)]
.config/rss2email.cfg: Update URLs for Greg's Third Bit blog

I'm not sure why he moved them without redirects...

11 years ago.config/rss2email.cfg: Add Gary Rowe's Agile Stack blog
W. Trevor King [Fri, 20 Sep 2013 07:50:48 +0000 (00:50 -0700)]
.config/rss2email.cfg: Add Gary Rowe's Agile Stack blog

While reading up on AtomPub, I ran across Gary's post [1], which was a
good read.  Hopefully there will be more where that came from :).

[1]: http://gary-rowe.com/agilestack/2012/06/08/multibit-merchant-open-the-pod-bay-doors-hal/

11 years ago.config/rss2email.cfg: Diego's feed is now redirecting to HTTPS
W. Trevor King [Fri, 20 Sep 2013 07:47:53 +0000 (00:47 -0700)]
.config/rss2email.cfg: Diego's feed is now redirecting to HTTPS

  $ wget -S http://blog.flameeyes.eu/articles.atom
  ...
    HTTP/1.1 301 Moved Permanently
    ...
    Location: https://blog.flameeyes.eu/articles.atom

Rss2email picks up on the 301 (in Feed._check_for_errors) and updates
the URL automatically :).

11 years ago.config/rss2email.cfg: Update defaults for rss2email v3.6+
W. Trevor King [Fri, 20 Sep 2013 07:46:11 +0000 (00:46 -0700)]
.config/rss2email.cfg: Update defaults for rss2email v3.6+

Although I doubt any other config changes will land before v3.7.

11 years ago.gitconfig: Enable rerere support
W. Trevor King [Thu, 19 Sep 2013 02:29:44 +0000 (19:29 -0700)]
.gitconfig: Enable rerere support

Re-merging and re-rebasing are not fun when you have to keep repeating
your previous conflict resolution.  See git-rerere(1) for details.

11 years ago.gitconfig: Use git-contacts instead of git-cc
W. Trevor King [Thu, 19 Sep 2013 02:15:08 +0000 (19:15 -0700)]
.gitconfig: Use git-contacts instead of git-cc

Since Git 1.8.4, git has distributed Eric Sunshine's Perl port of
Felipe Contreras' cc-generating script.  Update to use the
newly-standardized script.  The new script is in the Git source under
contrib/contacts/.  Just drop it in your path.

11 years ago.gitconfig: Add 'dlog' alias for date-ordered graphs
W. Trevor King [Mon, 1 Jul 2013 10:44:06 +0000 (06:44 -0400)]
.gitconfig: Add 'dlog' alias for date-ordered graphs

11 years agoREADME: Update dotfiles-framework URL to point to my blog
W. Trevor King [Tue, 18 Jun 2013 19:39:36 +0000 (15:39 -0400)]
README: Update dotfiles-framework URL to point to my blog

11 years agoREADME.rst: Add symlink so GitHub knows which language to render
W. Trevor King [Tue, 18 Jun 2013 19:38:56 +0000 (15:38 -0400)]
README.rst: Add symlink so GitHub knows which language to render

11 years ago.config/rss2email.cfg: Add coding-confessional :)
W. Trevor King [Wed, 15 May 2013 13:53:51 +0000 (09:53 -0400)]
.config/rss2email.cfg: Add coding-confessional :)

Thanks to Mike Jackson for pointing this out [1].

[1]: https://github.com/swcarpentry/website/pull/539
     cf2226b (Added hints, tips, cautionary tales, blogs and humour
     links, 2013-05-13)

11 years ago.config/rss2email.cfg: Update to rss2email v3.4
W. Trevor King [Wed, 15 May 2013 13:52:47 +0000 (09:52 -0400)]
.config/rss2email.cfg: Update to rss2email v3.4

This version added post-process hooks and IMAP handling.

11 years ago.config/rss2email.cfg: Add 'hyperbole-and-a-half'
W. Trevor King [Fri, 10 May 2013 10:37:08 +0000 (06:37 -0400)]
.config/rss2email.cfg: Add 'hyperbole-and-a-half'

Now that Allie Brosh has posted again :).  Depression sucks :(.

11 years ago.config/rss2email.cfg: Reorganize subscribed feeds
W. Trevor King [Fri, 10 May 2013 10:14:02 +0000 (06:14 -0400)]
.config/rss2email.cfg: Reorganize subscribed feeds

Rather than listing (and checking) feeds in the order that I've added
them, I'll sort them into (rough) categories.  The new order is:

* comics
* journals
* software
* blogs
* news
* jobs

11 years agoConvert `which` -> `command -v` for POSIX compliance
W. Trevor King [Sun, 5 May 2013 10:52:14 +0000 (06:52 -0400)]
Convert `which` -> `command -v` for POSIX compliance

I learned (via the Git list [1]) that `which` is not part of POSIX.
The POSIX 2008 equivalent is `command -v` [2].  We can make the
Bash-init scripts more portable by sticking to the POSIX utilities
[3].  They'll also be slightly faster because `command` is a Bash
builtin:

  $ command -V command
  command is a shell builtin

[1]: http://article.gmane.org/gmane.comp.version-control.git/216007
[2]: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/command.html
[3]: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap04.html#tag_20

11 years ago.XCompose: Add codes for check marks and ballot xs.
W. Trevor King [Fri, 3 May 2013 17:00:49 +0000 (13:00 -0400)]
.XCompose: Add codes for check marks and ballot xs.

Now I can have more fun when grading ;).

11 years ago.config/rss2email.cfg: Add a bunch of new feeds
W. Trevor King [Sun, 28 Apr 2013 01:40:44 +0000 (21:40 -0400)]
.config/rss2email.cfg: Add a bunch of new feeds

Mostly for jobs and journals.

11 years ago.gitconfig: Add `authors` alias for `shortlog -se`
W. Trevor King [Wed, 24 Apr 2013 18:49:54 +0000 (14:49 -0400)]
.gitconfig: Add `authors` alias for `shortlog -se`

I hardly ever use `shortlog`, so I don't remember which options give
me the concise list of project authors.  For some reason, I seem to be
the one maintaining .mailmap files in a number of projects, and this
command helps identify inconsistent IDs.

11 years ago.config/rss2email.cfg: Add Olympia/Tacoma news and job feeds
W. Trevor King [Sun, 21 Apr 2013 11:07:56 +0000 (07:07 -0400)]
.config/rss2email.cfg: Add Olympia/Tacoma news and job feeds

11 years ago.config/rss2email.cfg: Add comment feed for Titus' blog
W. Trevor King [Sun, 21 Apr 2013 11:07:36 +0000 (07:07 -0400)]
.config/rss2email.cfg: Add comment feed for Titus' blog

11 years ago.config/rss2email.cfg: Add Peter Stuge's blog
W. Trevor King [Sun, 14 Apr 2013 14:12:54 +0000 (10:12 -0400)]
.config/rss2email.cfg: Add Peter Stuge's blog

He posted "Making nginx serve git-http-backend and gitweb on the same
URL" for me :), so I should see what other interesting nuggets come
out ;).

11 years agomail:notmuch:hooks:post-new: Lots of new tags
W. Trevor King [Sat, 13 Apr 2013 12:42:41 +0000 (08:42 -0400)]
mail:notmuch:hooks:post-new: Lots of new tags

New tags: copyleft, gentoo-prefix, html2text, ipython, jinja, kmod,
mlmmj, monkeysphere, python, rss2email, simavr, towtruck, venv,
wireless, issue.

Additional source addresses for: admin, gentoo, git, libgit, gnupg,
kerberos, simulavr, swc.

11 years ago.notmuch-config: Disable synchronize_flags
W. Trevor King [Fri, 12 Apr 2013 12:47:10 +0000 (08:47 -0400)]
.notmuch-config: Disable synchronize_flags

It seems that synchronize flags just pushes Notmuch tags onto the
maildir flags (e.g. marking as unread messages that you'd read using
an external MUA).  I'd thought that the synchronization would work
both ways (e.g. Notmuch reading maildir flags and updating its tags
accordingly).  Since I do most of my mail reading in Mutt, the
push-only synchronization is not very helpful.

11 years ago.config/rss2email.cfg: Add Michael Nielsen's DDI feed
W. Trevor King [Wed, 20 Mar 2013 13:46:27 +0000 (09:46 -0400)]
.config/rss2email.cfg: Add Michael Nielsen's DDI feed

DDI = data-driven intelligence.  These seem to be longer, more
technical entries than he puts in his main feed.

11 years ago.config/rss2email.cfg: Add Michael Nielsen's blog
W. Trevor King [Wed, 20 Mar 2013 11:11:52 +0000 (07:11 -0400)]
.config/rss2email.cfg: Add Michael Nielsen's blog

11 years ago.config/rss2email.cfg: Add ctb feed (SWC)
W. Trevor King [Sat, 9 Mar 2013 15:28:42 +0000 (10:28 -0500)]
.config/rss2email.cfg: Add ctb feed (SWC)

11 years ago.config/rss2email.cfg: Add feeds for GitHub's shipping and engineering
W. Trevor King [Mon, 4 Mar 2013 17:34:09 +0000 (12:34 -0500)]
.config/rss2email.cfg: Add feeds for GitHub's shipping and engineering

11 years ago.bashrc.d/20nobeep: Style and POSIX cleanups
W. Trevor King [Mon, 4 Mar 2013 06:15:18 +0000 (01:15 -0500)]
.bashrc.d/20nobeep: Style and POSIX cleanups

* `which` is not in POSIX 2008, use `command -v` instead.
* Avoid the temporary XSET variable.
* Reorganize to consolidate if statements.

11 years ago.config/rss2email.cfg: Add greg-kh feed
W. Trevor King [Mon, 25 Feb 2013 13:14:20 +0000 (08:14 -0500)]
.config/rss2email.cfg: Add greg-kh feed

Discovered via a post on planet Gentoo.

11 years ago.config/rss2email.cfg: Add some Gentoo-oriented feeds
W. Trevor King [Sun, 24 Feb 2013 02:34:54 +0000 (21:34 -0500)]
.config/rss2email.cfg: Add some Gentoo-oriented feeds

gentoo-universe is a superset of planet-gentoo.  I'll probably get
tired of the volume and drop gentoo-universe soon ;), but I'll start
off watching both.