Youtube HTML Client using Backbone.js

My first github project Basically it fetch from youtube data api and populate using Backbone.js Head over here for the source. Fork and enjoy!

April 4, 2012 · 1 min · Shern Shiou Tan

QString to Char*

Thanks to Qt Forum Below help us to get Char* out from QString and the other way around: QString inputString = "hello"; QByteArray byteArray = inputString.toUtf8(); const char* cString = byteArray.constData(); QString qString2 = QString::fromUtf8(cString);

October 13, 2011 · 1 min · Shern Shiou Tan

How I Became A Programmer?

I learnt programming even before I receive my former education in primary school. Even though I did not learn to create a full blown application, but it did teach me problem solving, flowchart and logic programming. The Turtle My first programming language is Logo (Wiki). Logo is console consist of a turtle that draws according to the command given. We can draw anything using command like Pen off, pen on, turn right, turn left…...

July 21, 2011 · 1 min · Shern Shiou Tan

Installing Boost

Simple command to install Boost for Ubuntu sudo apt-get install libboost-dev libboost-doc

June 23, 2011 · 1 min · Shern Shiou Tan

Check Duplicate in MySQL

Simple snippet: SELECT `name`, COUNT(`name`) as cnt FROM `members` GROUP BY `name` HAVING cnt > 1 ORDER by cnt;

June 21, 2011 · 1 min · Shern Shiou Tan