Posts

Showing posts from October, 2008

Gmail with Mutt

I love the command line. ( It shows . Heh.) Coupled with screen , I also use mutt and irssi extensively. Only at home, though. At work, screen is more than enough. I used to have fetchmail , too, but with the recent iteration of mutt , which fetches POP and IMAP (almost an MTA in itself now -- my, my, look how it's grown), I have fine-tuned my command-line experience, almost contrarian to the Unix philosophy of "doing one thing, and doing it well". But, hey, I use whatever works. Without further ado, here's my very minimal .muttrc Go to Github to view the source. If your Gmail space is a bit cramped, it may take a while to download all the headers, so tweak imap_keepalive , timeout , and mail_check accordingly. I know, imap_keepalive should be left untouched in keeping with the RFC default of 30 minutes, but I'm not sure Gmail even follows that.

Using screen

My work setup is like this: I have two monitors, one for a maximized Thunderbird window, and the other for a PuTTY window, Firefox, Outlook (minimized to tray, and only used for calendar reminders mostly), and IE. Well, I do open other windows, but I tend to use the above most often. I use PuTTY extensively to manage remote Unix systems. I also like my desktop uncluttered, so instead of multiple PuTTY windows, I only use one. I log on to a "jump" host, fire up `screen` , and I'm all set. At home, I have a similar setup. Below is my .screenrc : # Default sessions screen -t MISC 4 screen -t EVEY 4 screen -t INES 3 screen -t IANDEXTER_COM 2 screen -t IANDEXTER_NET 1 screen -t HOME 0 # Scrolling buffer defscrollback 99999 altscreen on # PuTTY fix term xterm termcapinfo xterm ti@:te@ # Status line hardstatus alwayslastline hardstatus string '%{= kG}%-Lw%{= bW}%50> %n %t %{= kG}%+Lw% The Default sessions section opens up windows for my other hosts (guess how I name...

Stand against poverty on Blog Action Day 2008

Image
October 15 is Blog Action Day , and all bloggers are urged to participate by taking a stand against poverty. Originally uploaded by tonyocruz .

Adding SVN keyword expansion in Tortoise SVN

Image
When using Tortoise SVN client to access my Subversion repositories from Windows, I tend to forget to set up keyword expansion (unlike in the Linux command-line, where one can always invoke svn propset svn:keywords "Id Date Author" somefile ). In Tortoise, this can be done by enabling auto-props in the configuration. In Windows Explorer, right-click to get to the Tortoise context menu: (Yes, I'm a bit O.C. so even my resume is under version control. :P) Edit the Subversion configuration file, specifically the following properties: [miscellany] ... enable-auto-props = yes ... [auto-props] *.txt = svn:keywords=Date Id Rev Author URL;svn:eol-style=native *.html = svn:keywords=Date Id Rev Author URL This tells Tortoise to expand the keywords specified for the given files. Note that this works only on new files added to the repo after the configuration has been modified.

Got my RHCE cert

I was on the RH300 rapid track training last week. The five-day training included the Red Hat Certified Engineer examination on the last day. The instructor ( GyachI lead developer and Linux Users Group Singapore founder, Greg Hosler, no less) facilitated some very interesting discussions, interspersing them with his own copious experience not just with Red Hat but with Linux development in general. To say that we learned a lot from him would be an understatement. And, as a bonus, I passed the exam. I'm now an RHCE . :) After getting the RHCT certification (for RHEL 4) two years ago , I planned on taking the RHCE exam immediately the next year. Well, two years is not that bad, considering the changes that had happened. Now, looking forward to the RHCA certification. Heh. (I wish!)