Monday, January 31, 2011

Cygwin: Coloring CLI

I've got this from someone who share it in the internet, so the credit should goes to him/ her :) This is just a note-taking, so I can search it on the archive in the future.

Add these lines to .vimrc file which located on your $HOME directory (or create one if you can't find one):

" Switch syntax highlighting on, when the terminal has colors
" Also switch on highlighting the last used search pattern.
if &t_Co > 2 || has("gui_running")
  syntax on
  set hlsearch
endif

And for your Cygwin CLI, so you can see clearly. Add this line to your .bashrc file on your $HOME directory:
alias ls="ls -CF --color"

That's it.. restart your Cygwin, and you'll find the differences :)

Sunday, September 19, 2010

Nokia 6300 iSync with Mac OS X

I still keep my old Nokia 6300 for backup purpose and periodically sync to my MacBook Pro to keep the calendar and contact updated. Luckily Mac OS X provide iSync, but I have to install additional plugin to make it recognize my Nokia 6300. All you have to do is get the plugin from here, and just installed it. Or you could download this package, and extract it to /Library/PhonePlugins folder (you must create manually if PhonePlugins folder haven't exist already)

After that, you can launch iSync apps, Add Device, and just follow the instructions. Don't forget to backup your data before syncing the device.

Credit goes to ZealousPost.com

Wednesday, August 11, 2010

Reveal Hidden Apps In Add/Remove Windows Components

This works with Windows XP Professional or Home edition, any service packs. In Add/Remove Programs, on the sidebar you'll find Add/Remove Windows Components button. There, you can add/remove applications that belongs to Windows installation. The problem is, some of them are hidden, so you cannot remove them. By editing a file, you can reveal those apps. Here's how to do it:

1. Start -> Run, type: c:\windows\inf\sysoc.inf

2. On the new popup Notepad window, do ctrl-F and type 'hide' (without quote), then press Enter.
Press Esc button to close Find window and you'll find the first highlighted 'hide' word. Press Del button to eliminate it. Instead of repeating using Find window, you can press F3 button, it will find next 'hide' word. Press Del button - F3 button - Del button and so on.

3. Press Alt-F-X to close the Notepad window, you'll be prompted to save it, answer with 'Yes'

And you're done. Open Control Panel -> Add/Remove Programs -> Add/Remove Windows Components to choose the programs you need.

Tuesday, August 10, 2010

NuevaSync For PalmOS

After trying and realize how simple it is to move my contact and calendar data and push gmail using Google Sync, I search around to find similar way to sync my Palm Treo 650 contact and calendar data with google as well. If you read my post about utilizing my treo 650, this is encourage me to try it.

All you need is register with 3rd party service called NuevaSync. For free service, you can get contact and calendar sync with google. And if you want more services like push email and tasks sync (with Toodledo service), you can upgrade your account to premium with annual fee only $25.

You can check detail steps here. What's not explain there is that you need at least VersaMail version 3.5 and EAS (Exchange Active Sync) updated. I'm using Treo 650, and since Treo 650's built-in VersaMail version only 3.1c, you have to upgrade it first. Instead of upgrading (that will make my tiny RAM exhausted), I did a custom ROM and put updated files inside Treo 650's ROM :)

I've no chance to try Tasks sync, but push mail with gmail went smooth and it also runs well, almost no delay. One minor disadvantage is that folders (or you could say labels) in gmail doesn't show up in my VersaMail. Only Inbox and Trash that show up. But if you're not using labels like I did in gmail, I'll sure recommend this service. Enabling real push-mail ability in your Palm Treo 650 or any PalmOS device. Worth it! :)