G1 android phone app ShopSavvy saves me money

I was shopping for wireless pci cards at best buys and narrowed it down to a netgear marked $59. Out of curiosity I scanned it with shopsavvy and it listed several local alternatives starting at $35 at walmart. After clicking on that it offered to call the store or get directions.

Wow if this happens more often I will save the cost of the phone in no time…

I wonder if once this is more common stores will cover barcodes for products on the shelves, but I guess then we can just type in model numbers…

PS: posted from my G1 with wptogo application 🙂

Advertisements

how to reformat a paragraph of sgml source to 80 column width for easier editing? emacs kung fu comes to help

I have not been using emacs for 10 years, but now that I was trying to reformat some documentation source to conform to an 80 character per line style, I remembered emacs’s neat ‘esc-q’ reformat feature.

Now since that just reformats everything, I was wondering how to do that just for a selected paragraph. With the help of some gurus on #emacs I quickly got the recipe together:

1. set word-wrap column to 80 (default is 70):
ctrl-u 80 esc-x set-fill-column

2. select the region you want to reformat:
move to beginning, ctrl-space, go to the end and perform next step

3. narrow down to selected region:
ctrl-x n n
(The first time you do that you have to confirm with y)

4. reformat:
esc-q

5. undo narrow down of region to see full document:
ctrl-x n w

Lather, rinse, repeat, … DONE.

Back to vi 🙂