I recently got an email from someone who has been using the password wallet program. The reader asked about the possibility of using a different pager when viewing the password file (the "less" pager is hard-coded into the program).
I thought this was a good idea, so I've changed the wallet program to allow the user to specify the pager using the WALLET_PAGER environment variable (which defaults to "less"). You can also put this in the .walletrc file. The reader wants to use w3m, so this should now work in .walletrc:
WALLET_PAGER="w3m -o bg_color=blue"
I've updated the program in the google code repository.
03 November 2009
24 October 2009
Zendcon 2009
Got home last night from Zendcon 2009. Good conference.
Here are a few of the main things I'm taking away from it:
Update (Monday 26 October): I took some pictures, and I've posted them to flickr.
Here are a few of the main things I'm taking away from it:
- I'm a fool not to be using APC (and maybe memcache)
- Zendconners really like twitter (I got sucked in: @carl_welch)
- I need to learn more about dependency injection and better OOP methods
- I need to give git a try (had a good visit with the guy at the github booth)
Update (Monday 26 October): I took some pictures, and I've posted them to flickr.
16 May 2009
Barnswallows' return
The barnswallows are back. Considering the placement of the nest, I assume that it has to be the same ones as last year. I've been taking a few pictures.
26 April 2009
belated Earth Day
Here are a few interesting articles I found this past week:
- The Next Generation of Biofuels (Scientific American) and California Takes on King Corn (The Daily Climate) talk about alternatives to corn-based ethanol
- How to Fix a Climate Emergency (Newsweek) is a pretty interesting look at some radical ideas about slowing down global climate change (and it makes a good point about how this shouldn't be a replacement for cutting emissions)
- and Wil Wheaton found a cool video of Earth rising over the moon's horizon (must have been taken near new moon)
29 March 2009
bad news for iron fertilization
I follow a few environmental blogs, and for a while I was occasionally seeing posts about the possibility of using iron fertilization for carbon sequestration. The idea (as I understand it) is that scientists would dissolve a bunch of iron near the ocean surface, phytoplankton would consume the iron (causing the phytoplankton to flourish), the phytoplankton would inhale a bunch of carbon dioxide, and the phytoplankton would sink to the bottom of the ocean, taking the CO2 with it, forever.
So they tried it.
They dumped a bunch of iron in the ocean, and the phytoplankton dutifully multiplied (and presumably inhaled a lot of CO2). But before the phytoplankton could sink, it ended up at the bottom of the food chain of a series of increasingly large sea creatures that live near the surface.
Nice try.
So they tried it.
They dumped a bunch of iron in the ocean, and the phytoplankton dutifully multiplied (and presumably inhaled a lot of CO2). But before the phytoplankton could sink, it ended up at the bottom of the food chain of a series of increasingly large sea creatures that live near the surface.
Nice try.
25 March 2009
Batman logos
There's a post on /Film highlighting a youtube video showing various incarnations of the Batman logo. The video includes logos from various comic book titles, TV series, and films. It's not exhaustive, but it's a cool presentation of a good sampling.
18 March 2009
saving space in firefox
I found a cool Firefox extension a day or two ago. It's called Menu Mod, and it's good for saving some space on the Firefox window (particularly if you have a small screen, like on a netbook). It can collapse all the standard menu items into a single menu item (after installing/restarting, do Tools->Add-ons, click Menu Mod, click Preferences, select "Place all menus inside another"). This isn't all that helpful on its own, but try also doing the following:
- do Menus->View->Toolbars->Customize
- drag all the stuff from the navigation bar (Back/Forward/Refresh/Stop/Home buttons, address bar, etc.) up next to the newly-collapsed menu
- get rid of the search field by dragging it to the "Customize Toolbar" window
- do Menus->View->Toolbars and uncheck the Navigation toolbar
- go to www.google.com (or whatever your favorite search engine is)
- right-click in the search field and select "Add a keyword for this search..."
- add something descriptive for the Name field (like "search" or "google")
- add something short for the Keyword field (I used "g")
- next time you want to do a search, open a new tab (Ctrl-T is as easy as Ctrl-K), then type the keyword ("g" for me) followed by a space and your search term(s)
17 March 2009
xampp
At times I've wanted to try doing some development work on my eeepc, but the default distribution doesn't come with a LAMP stack (and so far I've been too chicken to try installing something else).
Today I tried installing xampp, and that seems to work pretty well. So far my only complaint is that it doesn't seem to come with any version control tools (like svn), and I don't see an easy way to add/compile them (the eeepc doesn't have gcc).
Today I tried installing xampp, and that seems to work pretty well. So far my only complaint is that it doesn't seem to come with any version control tools (like svn), and I don't see an easy way to add/compile them (the eeepc doesn't have gcc).
16 March 2009
ESC key alternative in vim
I've been using vim for a couple of years now, and I really like it. But one thing that's always been a nuisance to me is reaching for the escape key. I often hit the wrong key (like the tilde or F1), and/or I have to glance at the keyboard to find it.
A recent post by Matthew Weier O'Phinney suggested binding the 'jj' sequence to <ESC>. I've been trying that for the last day or so, and I'm finding that to be a pretty good trick. Here's what I added to
A recent post by Matthew Weier O'Phinney suggested binding the 'jj' sequence to <ESC>. I've been trying that for the last day or so, and I'm finding that to be a pretty good trick. Here's what I added to
~/.vimrc
to make it work:
:map! jj <ESC>
01 February 2009
Subscribe to:
Posts (Atom)