Comment And Uncomment All Lines in a Linux File with Sed

Posted by & filed under Professional.

Just a couple of sed one-liners for adding and removing comments in the form of # marks (in the case of my ~/.ssh/config file). I use this to toggle proxy settings (with connect.c) and it’s run by the awesome MarcoPolo location-aware app for OS X. Both of these are safe to run repeatedly (you won’t… Read more »

Syncing mail.app with gmail and the iphone using imap

Posted by & filed under Professional.

I’ve set up my google apps email account using imap in mail.app and it’s working quite well in terms of keeping track of read and unread emails and having my sent emails available everywhere. It’s definitely worth going one step beyond google’s own instructions on the matter and correctly configuring the drafts, sent and trash… Read more »

Enable Google Gears and Offline Gmail for Mozilla Prism

Posted by & filed under Professional.

[Warning: this post suggests stuff that may not work now, or may break in the future. Use at your own risk!] I’m really happy to hear that, as the official google blog points out, Gmail now has support for Google Gears allowing you to view your mail offline. This has caused quite a stir in… Read more »