Fucked up situation !
I was going to meet WY and on the give way line, with the taxi infront of me, start accelerating. Suddenly, the taxi E-brake and I kissed his backside. Fuck!
He come down, trying to ask $500 from me. I tell him go and die. I tow cars everyday and I know how much repairs will cost. He is trying to bomb me. After ali ba ba session, he finally diam diam and agreed that I do the repairs for him with an additional of $50 for unable to use car.
Lan jiao taxi uncle !
Aftermath of the taxi:



Lucky I swerve to the left if not hitting on his main back will be costly. Fuker taxi. Next time horn them!!!
Willie Life
This is very disturbing. Our good friend FireFox has no problem. But for Internet Explorer, they will always cache the AJAX content and this results the AJAX content that is being fetched is obsolete and not the latest.
To resolve this, assuming u are using PHP, add the following code on the start of the AJAX page:
1
2
3
4
5
| <?php
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache"); |
Source: http://greenash.net.au/posts/thoughts/an-ie-ajax-gotcha-page-caching
Willie Programming AJAX, Clearing IE cache, Internet Explorer AJAX
Yes, very tired. I have many houses to visit. hahahaa !
Day 1:
Went to ah ma house
Went to ah chor house (Yes, my great-grandmother, is strong and can kick you to holland too)
Went to ah ma friend house
Went to my Aunt house
At night, my sworn brothers, WY and HH came my house.
After that, we went to HH house
HH and I eat MAC and talk cock till late night…
Day 2:
Went to relatives house
Went to WY house till late night
Again, eat MAC till late night with HH, ah boon and friends
Day 3:
Went to ah boon house till night
Right now, writing in half asleep mode
Bye bye I go sleep liao…
Willie Life
I wish everyone a Happy Chinese New Year!

Willie Uncategorized
As promised, I changed my web hosting because the previous web host uptime is very low and it take ages to load.
With the economic not doing good, I have constraint my budget in web hosting.
Check it out:
http://www.1dollar-webhosting.com/1dollarwebhosting.htm
Pretty good eh?
However, I still need time to monitor the quality because the deal is way too cheap!
Willie Life
Today marks the official last day of my life in Republic Polytechnic, even though I do not goes to school. Finally, my 3 years tertiary life has ended.
I have gained a lot of things from RP, and understand how RP system sucks despite the propagation of what Problem-based Learning is. It’s all bullshit I tell you. Luckily, I managed to get high GPA and get into University I supposed.
For now, I will wait for the admission of either NUS or NTU. Hopefully I can enter NUS because NTU is VERY and REALLY far from my house! I need to change 3 expressways to get there. I think by the time I reach school, I left with half life. Coming back home, then I am dead. I certainly don’t want such a tiring life.
Lastly, remember to congratulate me from graduating from RP. And wish me good luck for my upcoming National Service ~
Willie Life
Of course, you don’t need to even edit or bypass the input class libraries.
Simple do the following on the views when displaying embedded object code like from YouTube and etc:
1
| echo str_replace(array('<', '>'), array('<', '>'), $embed_filed); |
Source from: http://codeigniter.com/forums/viewthread/100926/#509749
Willie Programming codeigniter, embed object, object in codeigniter
This is pretty hard initially as C# also has OLEDB, ODBC drivers to communicate with a database. However, I’ll be using none of these. Let me guide you through as I have enlightened:
Firstly, download the latest MySQL Connector/Net, for connecting to MySQL from .NET
Secondly, add a reference to your project, it is probably in C:\Program Files\MySQL\MySQL Connector Net 5.0.7\Binaries\.NET 2.0 folder (it depends on your connector version), add the MySql.Data.dll file as a reference.
Thirdly, make your connection string, the following code will shows a standard MySQL connection string.
1
2
3
4
5
6
7
8
9
10
11
12
13
| using MySql.Data.MySqlClient;
class Program
{
static void Main(string[] args)
{
string my_connection = "SERVER=localhost;" +
"DATABASE=rabbit;" +
"UID=root;" +
"PASSWORD=;";
MySqlConnection connection = new MySqlConnection(my_connection);
}
} |
Lastly, you can make use of the Connector methods and class by reading Connector/NET Examples and Usage Guide
This marks the end of my simple tutorial in setting up C# with MySQL. When I am free, I will do how a tutorial on how to retrieve data or maybe how C# interact with MySQL !
Willie Programming C#, connect C# to MySQL, MySQL
In Media Player Classic, a subtitle file with .SRT extension can be load automatically by the player.
We just simply rename the subtitle file exactly the same with the movie file and vice-versa.
Example as shown below:

So when you play the movie, you should be able to see subtitle embedded into the movie!
Willie Software media player classic, subtitle