Archive for the 'Asides' Category

Vim: Search and Replace in All Buffers

Wednesday, May 9th, 2007

Vim: Search and replace in all buffers
:bufdo %s/pattern/substitution/ge | update
bufdo: applies the following command to all buffers.
%s: means search and replace the whole file
g: change all instances in a line
e: avoids the error when the pattern doesn’t exist in a file
update: writes the file only if changes were made
See also :argdo

Dynamic Daily Banner Montage Fixed

Friday, January 19th, 2007

The daily dynamic banner montage is now dynamic again. HostGator disabled cURL for all shared users without giving notice. The cron job that rotates the banner depends on cURL so for about a month now it wasn’t working. I just noticed the problem, and after a quick email to support they fixed it. HostGator does [...]

Fixed text crowding image in posts.

Monday, December 25th, 2006

Fixed the problem of text butting up against inlined post images by adding margin-right: 9px; to the CSS entry.

Gspace Gmail File Space

Tuesday, October 31st, 2006

Using the GSpace Firefox plugin you can drag and drop files to store in your gmail account. It’s great for saving Word document revisions because each upload of the same file is saved in a seperate email. GSpace can also remove/overwrite old copies of the file as well.

HubMed Citation Finder

Monday, October 30th, 2006

HubMed Citation Finder. Copy and paste a reference from a pdf and the citation finder will automagically pull it apart and find the article online. It’s like ParaCite, but you can paste multiple references, and HubMed relies more on PubMed instead of Google Scholar.

Download of the Day: Tiny Menu Firefox extension - Lifehacker

Thursday, October 26th, 2006

Download of the Day: Tiny Menu Firefox extension - Lifehacker
Make the most of your toolbar space.