Launch Sublime Text 3 from command line

Wiped and reinstalled OS X on the MBP, thus lost the shortcut to invoke Sublime Text on command line.

Thought I should document this so I won’t have to go through Sublime Text directories in Applications.

Open up Terminal and run the following (assuming 1. Sublime Text is installed 2. /usr/local/bin is in your PATH)

Step 1: Go to Terminal; Check whether /usr/local/bin in in your PATH

echo $PATH

Terminal should return the following

/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin

/usr/local/bin is located at the end of the string. You’re set!

Step 2: Run the following on Terminal

ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin

Step 3: Test the setup by running the following:

subl .

This will kick in Sublime on the current directory.

 

How to extract the blue color from the Blue Pea Flower

Blue color can be extracted from the Blue Pea Flower, and is commonly used in South East Asian dessert and foods. What’s even better, the extract is wholly natural.

What is required:

  1. 10 buds of Blue pea flower
  2. 200ml of Water
  3. Metal container
  4. Heat

Place the blue pea flowers and 200ml of water into the metal container and simmer over low heat. The blue color from the flower will dissolve into the water.

Add more blue pea flowers or water to regulate the color.

Visiting Melaka

I woke up one morning to find the Malaysian state of Malacca renamed as Melaka. Is that going to increase the number of visitors? – oh well, nvm.

I was in Malacca for a quick getaway and thought to document the worth-goings vs skip-where-possibles.

Food

1. Teo Soon Loong Seafood Restaurant (Teochew fare)

Address: No. 42 & 44,Jalan KPKS 1,Kompleks Perniagaan Kota Syahbandar, 75200 Melaka, 75200 Malacca, Malaysia
Phone: +60 6-288 0209

This restaurant moved from its old premises in 2nd Cross Street into new digs at Jalan KPKS 1. The new place is bright and bigger than its old premises and more importantly doesn’t have that musty old building smell. The new premises has ample parking space for cars and chartered buses.

Make a reservation at least one day in advance for weekdays and one week in advance for weekends. Order one whole suckling pig (RM268) when making reservations for more than 8 pax, it’s well worth the money!

Not to miss
Oyster noodles, Signature braised duck, Steamed pomfret, Suckling pig, Bitter gourd with pork, Orh Nee

Skip
Yam ring, Sweet and sour pork, Oyster omelette

Desserts

1. East & West Rendevous (60, Lorong Hang Jebat, 75200 Melaka, Malaysia)

Skip
Durian chendol. Wasted my time for this.

Interesting
Dried Blue Pea Flower. The deep blue color from the petals can be extracted from the flower and is used in the making of the Pulut Tai Tai (Nonya Steamed Blue Glutinous Rice) dessert.

 

Idea

The blue extract from the pea flower could be used for a drink of sorts.