May 12th, 2008

I bought some batik for mom in airport. hehehe another green ..

Read the rest of this entry »

May 11th, 2008

As we all know mother day in Malaysia is celebrate every second Sunday in May. I don’t know why but it seem hard for me to wish my mum Happy Mother Day directly. I have problem expressing myself.

mama and ayah

May 10th, 2008

This note is dedicated to my chubby hubby that keep asking me how to remove ^M in a file.

UNIX treats the end of line differently than other operating systems. Normally CTRL-M character is visibly displayed at the end of each line as ^M if the file is not transfered in binary mode (this is why I always prefer SFTP instead of FTP).

  1. In vi, to remove the ^M do as following :
  2. :%s/^V^M//g

    ^V is a CONTROL-V character
    ^M is a CONTROL-M.

    So it will look like this:

    :%s/^M//g

    %s is a basic search and replace command in vi.
    The g is use for search and replace globally (all occurrences).

  3. with Solaris you can just do (heard HPUX has the command “dos2ux” instead of dos2unix):
  4. dos2unix <dos file> <unix file>

  5. You can also use the octal representatiion of ^M:
  6. tr -d ‘\015\032′ < file

May 9th, 2008

I was busy with training and normally by the time I reach hotel it would be 6:30 or sometime 8:00 pm (here at 6:30 it very dark). Don’t really snap any interesting stuff. Went to 2 shopping mall but the price is too expensive for me. I don’t wear jimm choo shoes … I wish I can have a pair but I know where I stand with my current salary I can’t afford to spend that amount of money on pair of shoes … Buy a pair of batik for mom .. hope she like it …

May 6th, 2008

I was bored while on the flight. Tried asking Lan to join me but he can’t it. Apparently he got work that need to be done ASAP. I got aisle seat so can’t snap the cloud. I snap a few pic while in plane and that about it. Stayed at Hotel Mulia Senayan. The room is huge :-D .


nuffnang
Search
Calendar
September 2010
M T W T F S S
« Aug    
 12345
6789101112
13141516171819
20212223242526
27282930  
Daisypath Anniversary tickers
Categories
Subscribe

Enter your email address:

Delivered by FeedBurner

Archives
My 2010 Wish List
  • Nikon D300s
  • Nikon 16-85mm VR
  • iPhone 3GS
  • New Handbag
  • House
  • New Windows laptop
  • New Car
  • Vacation with hubby
Counter
Pagerank