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! :)

Monday, August 9, 2010

Using Mutt for Gmail on Mac OS X

First, you have to install Macports, then install mutt with all these compile options:
# sudo port -v install mutt-devel +ssl +smtp +date_conditional +deepif +gdbm +gpgme +headercache +idn +sidebar +trash +sasl
Then, on your .muttrc file, add these config:








--- begin of configuration ---

#account settings
set from="YOUR_GMAIL_ADDRESS"
set realname = "REAL_NAME"
set imap_user = "YOUR_GMAIL_ADDRESS"
set imap_pass = "PASSWORD"
set smtp_url = "smtp://GMAIL_USERNAME@smtp.gmail.com:587"
set smtp_pass = "GMAIL_PASSWORD"
 
set folder = "imaps://imap.gmail.com:993"
set spoolfile = "+INBOX"
set postponed = "+[Gmail]/Drafts"
set trash = "imaps://imap.gmail.com/[Gmail]/Trash"
set record = "+[Gmail]/Sent Mail"
set header_cache =~/.mutt/cache/headers
set message_cachedir =~/.mutt/cache/bodies
set certificate_file =~/.mutt/certificates
 
set move = no  #Stop asking to "move read messages to mbox"!
set imap_keepalive = 900
 
# Header related stuff
ignore "Authentication-Results:"
ignore "DomainKey-Signature:"
ignore "DKIM-Signature:"
hdr_order Date From To Cc
 
ignore *
unignore from: date subject to cc
unignore x-mailing-list: posted-to:
unignore x-mailer:
 
# Sorting, Markers etc.
set markers=no # don't put '+' at the beginning of wrapped lines
set pager_index_lines= 10 # how large is the index window?
set sort = 'threads'
set sort_aux = 'last-date-received'
 
# Set which Editor to use for composing Emails.
set editor= '/usr/bin/emacs'
 
# set up the sidebar
set sidebar_width=24
set sidebar_visible=yes
set sidebar_delim='|'
set sidebar_sort=no
 
# which mailboxes to list in the sidebar,
# you can add your Labels in Gmail to the Sidebar.
mailboxes =All\ Mail =INBOX =Drafts =Sent\ Mail  =Trash
 
# color of folders with new mail
color sidebar_new yellow default
 
#Sidebar Navigation
bind index \CP sidebar-prev
bind index \CN sidebar-next
bind index \CO sidebar-open
bind pager \CP sidebar-prev
bind pager \CN sidebar-next
bind pager \CO sidebar-open
 
# b toggles sidebar visibility
macro index b 'toggle sidebar_visible'
macro pager b 'toggle sidebar_visible'
 
# Remap bounce-message function to "B"
bind index B bounce-message
 
#make mutt colorful!
color attachment brightmagenta default
color error      brightred    default
color hdrdefault red          default
color indicator  brightyellow red
color markers    brightcyan   default
color message    brightcyan   default
color normal     default      default
color quoted     brightblue   default
color search     default      green
color signature  red          default
color status     yellow       blue
color tilde      magenta      default
color tree       magenta      default
--- end of configuration ---











On these line, you can customize it to use other file editor such as vi or vim. Since I'm not familiar with emacs, I'm using vi :)

# Set which Editor to use for composing Emails.
set editor= '/usr/bin/emacs'




And in these line, you can add/ remove any IMAP folders you already set on Gmail, prefix it with '=' :







# which mailboxes to list in the sidebar,
# you can add your Labels in Gmail to the Sidebar.
mailboxes =All\ Mail =INBOX =Drafts =Sent\ Mail  =Trash













You will be prompted to accept 2 certificates when first firing up mutt, just accept it. Here's a screenshoot of my mutt interface:




Sunday, August 8, 2010

Several MacPorts Commands

Here is several MacPorts commands that I often used, with little description on every command. I always use -v option (as in verbose), to look at the detail downloading and compiling process.


1. sudo port -v selfupdate
- removing and downloading new file repository list, often updated

2. sudo port -v upgrade outdated
- upgrade outdate port, according to newest file repository list

3. sudo port -v uninstall inactive
- even after update, macports still kept the outdated version, you can execute this command to automatically vanish outdated version immediately

3. sudo port -v search [port]
- used for looking certain port

4. sudo port -v install [port]
- install certain port

5. sudo port -v uninstall [port]
- uninstall certain port

6. sudo port -v clean --all [port]
- clean up all port build and dependencies

7. sudo port -v activate [port@version]
- activate certain port version

8. sudo port -v installed
- shows up all port installed