With a little side of applesauce...

Thursday, December 13, 2007

firefox - open your home page with new tab

I always get tired of have having to take an extra to visit my homepage when opening a new tab in Firefox. This extension was a simple fix:
https://addons.mozilla.org/en-US/firefox/addon/777

Tuesday, December 11, 2007

Debian - pidgin backports for Etch

These saved my behind this morning when Gaim on Etch quit authenticating to the Yahoo servers:
http://www.freshnet.org/debian/etch/pidgin2.2/

They didn't go in cleanly, but I'll chase that down later. Bottom line, I am connected to Yahoo again...

Monday, December 10, 2007

sed - print the match + 4 lines

This took me some time to figure out:

sed -n '/MySearchString/, +4p'" myfile


The grep equivalent, (which was much easier to figure out), is:

grep -h -A 4 "MySearchString" myfile

Tuesday, December 4, 2007

Apache2 - module docs

want to get these posted before I forget about them. They have been valuable while modifying mod_auth_shadow:

http://www.stanford.edu/services/webauth/manual/developer/modules.html
http://www.stanford.edu/services/webauth/manual/developer/hooks.html

We needed to add an AuthShadowAuthoritative directive, (which we will submit to the developer), plus running mod_auth_shadow after mod_auth_ldap, due to the expense of DECLINEing from mod_auth_shadow to mod_auth_ldap.