Kuala Lumpur, Malaysia

Working in Singapore has opened the opportunity for me to travel and explore new places. The first in my bucket list is to visit its neighboring country, Malaysia. Eversince, my girlfriend and I were very fascinated with Petronas Twin Towers and we’ve been wanting to see it in person. 

Getting to Kuala Lumpur from Singapore is easy, you can either take a bus or a plane. According to some of my friends, it will take us 5 hours by bus so I decided to just book a plane ticket to save time because it’s only a 1-hour flight and the ticket is not so expensive (I got the ticket for S$198 for 2 persons, ain’t bad right?). We left Singapore on August 8th, 2013 at 11PM and we arrived in Kuala Lumpur International Airport at past midnight. What really surprised me is, how far-flung the airport is to the city! I just think that it shouldn’t be called KLIA because it’s not really located in KL, it’s in Sepang. Good thing, I’ve researched enough before going there. I have booked Concorde Inn near (not-so-near, actually) the airport for the night.

 [ad#468×60] 

The next morning, we transferred to Hotel Maya in KLCC. This hotel is just a stone’s throw away from Petronas  Twin Towers and I can say that it made our stay in KL a wonderful one. The price(S$108) is just right for the great accommodation and a very nice, unblocked sight of the Twin Towers. (See the image gallery below for proof. Haha!) 

We only had one day to explore the city, so we headed to the famous Batu Caves first via LRT and KTM Komuter. The place is indeed an attraction because when we reached the Batu Caves station, we can already see the long queue of tourist waiting to board the train. We just spent like 2 hours climbing the stairs, exploring the caves, and taking some pictures in there. We were lucky enough to get a cab to bring us to our next stop, the Central Market. We bought some souvenirs and ate our late lunch in Secret Recipe. I can still remember the way they served our orders, we waited for like 40 minutes and of course it made me more hungry! After following up our orders, Voilà! Our orders served all at once (appetizer, main course and dessert)!  

We went back to the hotel and rested for a while. We waited for the Twin Towers to light up and then we went there to take more pictures. It’s just so magnificent! I can’t help but really admire how they’ve built it.

 [ad#468×60] 

Our experience in Kuala Lumpur is unforgettable… How I wished we had more time to explore it. We will definitely comeback. 🙂

[nggallery id=13]

Sentosa Island Adventure

Sentosa is a popular island resort in Singapore, visited by some five million people a year. Attractions include a 2 km (1.2 mi) long sheltered beach, Fort Siloso, two golf courses, two five-star hotels, and the Resorts World Sentosa, featuring the theme park Universal Studios Singapore.

Sentosa can be reached from the Singapore mainland via a short causeway or Cable Car, which originates from Mount Faber and passes through HarbourFront en route to its final destination.

Have fun viewing our pics, guys! 😉

 [ad#468×60] 

[nggallery id=12]

Hazy – The Real L Word Opening Song

The Real L Word Season 3 has wrapped up last Thursday, September 7,2012 but I still can’t get over it! I hope they’ll come back for Season 4 next year! I’m excited, Yay!

 

The show’s opening song keeps on playing in my head and so I’m posting the lyrics and the youtube vid here. Enjoy!

 

 

Lyrics:

 

Hazy by Love Darling

 

It was just the other night
I don’t want to think about it
I don’t want to start a fight
I don’t want to think about it

 

Everytime I take a step left right
Yeah I think I’m gonna sleep real good tonight
You seem to think there’s only time
What can we do but flip sit back rewind
Just think about it…

 

Chorus:
You’ll find a way to make me crazy hazy
So hypnotized think of the blue skies, new eyes
And I’ll never roam again
And I’m back in love again
And I see the stars again
Find my way back home again

 

Verse:
It was just the other day
Couldn’t get my head around it
Always know just what to say
Like a meditative sound bit

 

Everytime I take a step left right
Yeah I think we’re gonna make it through alright
I’m looking at the neon sign
The one that blinks in perfect pink sublime
Just think about it…

 

Chorus:
You’ll find a way to make me crazy hazy
So hypnotized think of the blue skies, new eyes
And I’ll never roam again
And I’m back in love again
And I see the stars again
Find my way back home again

 

Chorus:
You’ll find a way to make me crazy hazy
So hypnotized think of the blue skies, new eyes
You’ll find a way to make me crazy hazy
So hypnotized think of the blue skies, new eyes
And I’ll never roam again
And I’m back in love again
And I see the stars again
Find my way back home agaïn

 

Band’s Website: www.lovedarlingmusic.com

I’m back to blog with my fresh looking website!

Haven’t blogged for more than a year… My last post was February 22, 2010 to be exact. Wheeew! Well, I didn’t vanished… I just got busy with a lot of “cloud computing” tasks.  :mrgreen:

 

After years of creating nice and great looking websites for my clients, I realized that I have to revamp my old website’s layout. The HTML version has been occupying my laptop’s storage for more than six months already. Though it’s not totally polished yet, I’m too excited to share it to the world that’s why I’m now officially launching it! 

 

Thanks for dropping by, please come back soon… ciao!

 

The New Look

 

 

 

 

Invoking Apex from a Custom Button using a Visualforce Page

This post is about creating a custom button to be placed in a detail page using Visualforce page instead of an S-control (deprecated). I will be using Opportunity object for this example.

The Controller:

public class VFController
{
    private final ApexPages.StandardController theController;
    public List listOpps = new List();

    public VFController(ApexPages.StandardController stdController)
    {
          theController = stdController;
    }
    // Code we will invoke on page load.
    public PageReference autoRun()
    {
        for (Opportunity opp:[select id, name from Opportunity where id =:theController.getId()])
            {
	        opp.Name = opp.name + ' test';
                listOpps.add(opp);
	    }
		Database.update(listOpps);

	return theController.view().setRedirect(true);
    }
}

The Visualforce Page:

You don’t need to do anything special here. The most important part here is the parameter action = “{!autoRun}”.




You shoudn't see this page...

After that, go to Setup –> App Setup –> Customize –> Opportunities –> Buttons and Links. Add a new custom button with the following configuration.

This example simply appends “test” to the Opportunity name when you click on that custom button. This is only to show you that it works. Hope this helps. 🙂