Posts

Eldest Aunt Struck with Cancer

Just now went to visit her at KK hospital, she looked really tired, I think it's due to her medication and she told me she might not make it, her neck is swollen and she can barely move, she's 68 years old, I think as a person gets older, all sorts of illnesses start to appear, it's just part and parcel of life. I was not sure what I should say to her, I kept telling her to rest. She is now in a single bedroom, I think it's the ICU, tomorrow they are going to transfer her to a healthcare home, I think it's a charity home so the costs will be lower. She told me to take care of my father, I just said okay sure.

Just Configured My Blog to Auto Publish to Twitter

Haha, yes I have a twitter account, bet you didn't know that lol... Anyway I can't find much use for twitter, I really have no idea why it is so popular but it sure is good for people to post real-time updates, or maybe that's why it is so popular. So today I decided to make use of it, I found this web service  twitterfeed , I can configure it so that whenever I make a post on my blog, it will automatically publish to my twitter account, I can even configure it to do the same for Facebook, too bad I don't have a Facebook account now, maybe I'll create one later, nowadays it's all about the likes lol. So let's see if this post gets auto published to twitter, be going for lunch now, ciao!

Dreamt That I Got Fired

The scene that I saw was a big corporate room with someone who seems to be the CEO, not my CEO in real life though, this dream CEO is younger without any white hair. Me and two or three other people that I have never seen before were sitting together in the room, what happened next was the CEO telling us that we are terminated immediately, everyone else said nothing and simply walked out of the room, I tried to ask for the reason but the CEO said nothing. In my mind I was so worried, so angry, so confused, wondering how the heck am I supposed to get a job, wondering why the heck was I terminated. Next scene was the company HR passing me a payment slip, seems like the CEO ordered the HR to make immediate payment on the next day, obviously because I was terminated and he wanted to pay me fast so I can get lost fast. After that, I woke up, so scary, now I realize that I'm scared of losing my job, fortunately in my company, it's not easy to get terminated, you really have to sc

Automatically Reload Properties File in Spring Framework

Image
Can't believe I spent so many days trying to get this to work, in the end it is actually so simple lol, now there is no need to restart my server whenever the properties file change, spring will detect and reload it on the fly. I created a demo project in hope that it will help someone, there really is no need to spend days looking for such a simple answer ;) My Project Structure demo.jsp <h1>${hostname}</h1> <h1>${driver}</h1> <h1>${reading}</h1> <h1>${writing}</h1> database.properties hostname=localhost driver=oracle.jdbc.OracleDriver language.properties reading=english,chinese,malay writing=english,malay web.xml <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  xmlns="http://java.sun.com/xml/ns/javaee"  xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"  xsi:schemaLocation="htt

Woman Relieves Herself in Public

Source Wow, seems like she took a dump, in public, and at the MRT station! It's getting worse, the last news that I read about such incident was a young boy pissing into a bottle on the train, are these people mad or what, we are not living in the jungle, you don't shit or piss wherever you like, not in public view, at least take cover, find somewhere isolated, shit or piss onto grass patch, it will be useful as fertilizer, but this woman is the ultimate, she outright shits on the floor, so who is going to clean up after her, at least the boy pissed into a bottle.

My Job is Secured for the Next 8 Years

Today we just took over a new project, this is the one where I was supposed to be the lead but luckily my boss decided to let my senior take the lead, I find that I'm not leader quality lol, no actually being a lead is quite a pain in the ass, have to prepare monthly reports, attend meetings, just taking over this project I've already attended a lot of meetings and I don't really enjoy it, I'm the hands-on type of person, I prefer to get things done, meetings are a waste of time to me. Another thing is I realized that I won't get a promotion even if I get to be the lead, haha now you know why I say lucky, more responsibilities for the same pay. Anyway I heard from my lead that we won the project with a contract of 8 years, that means I will have a job for the next 8 years unless I resign or get terminated, I don't think I will get terminated, I got to really screw up real bad in order to get terminated but of course I will be trying my best not to. So in this

How Much Will I Leave Behind If I Die Now?

Recently this question popped up in my mind a few times, I think maybe because I'm the only person working so I'm a bit worried about my wife's future if I should suddenly leave this world. I should take this chance and find out how much I can leave to my wife if I die. Dependants' Protection Scheme $50,000 in the event of death or total permanent disability. Term insurance with rider $100,000 for main plan, $50,000 for rider, total $150,000 in the event death or total permanent disability. Company term insurance 24 times of my monthly salary, 24*3944=$94,656. Home Protection Scheme It will fully pay up my HDB loan so my wife won't have to pay anything more. CPF monies (as of today) Ordinary Account (OA) $4,151.53 Special Account (SA) $20,147.32 Medisave Account (MA) $23,386.47 Total $47,685.32 So she can get $342,341.32 and a fully paid 2-room resale flat, not bad huh, she can either sell the flat and go back to Thailand or continue to stay here

Fix XML Error When Adding Read More Function

Image
The read more function is here . Easiest way is to remove the entire highlighted part The reason why it throws error is because in xml, every tag must be closed, so other than removing the entire line, you can also do it in following two ways: Method 1 - add a slash to close the tag. <img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1vpGPR2cMdiQtyoxBtE1Nl2AEvjWrkGsWwW3mKJl8DD01Onv_6knyLz81rFCUc3YN8epCjt4eUERQ7rFgv8jPIQncGQbcUznKf1dA_gBosqlD2D8qrkXOgHEaMyoJFBkR_LALKXtWm2A/s1600/1x1juice.png" / > Method 2 - add a closing tag. <img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1vpGPR2cMdiQtyoxBtE1Nl2AEvjWrkGsWwW3mKJl8DD01Onv_6knyLz81rFCUc3YN8epCjt4eUERQ7rFgv8jPIQncGQbcUznKf1dA_gBosqlD2D8qrkXOgHEaMyoJFBkR_LALKXtWm2A/s1600/1x1juice.png"> </img> That's it!

Google Adsense New Payments System

They updated their Terms and Conditions . They also have a new payment system . One of the main changes is that they are calculating my earnings directly in Singapore dollars instead of US dollars. Another change is that my payment threshold is now $150 Singapore dollars instead of $100 US dollars, overall it's higher but well, doesn't really matter much. Now I'm more curious about how they make the conversion from USD to SGD, I hope I don't suffer a loss in payments after the conversion! Anyway let's see how.

Just Added a Read More Function and a New Related Posts Script

Haha, finally I found a good related posts script that looks nice and is easy to customize, the last one was terrible because I have no idea how I can customize it, the read more function is also great, now I can put more posts in my home page, previously some posts were too long and my home page looked really messy, at least now my blog has a more professional feel lol. Thanks to the following sites for the scripts. How To Add Automatic "Read More" Button/Hack in Blogger . How to Add Related Posts Widget with Thumbnails to Blogger / Blogspot .

KFC National Day Celebration Combo at $4.90

Just now we went to KFC for a quick snack, there were long queues, most people were queuing for the Celebration Combo, why not, cheap and good deal at $4.90. So what is included? Two pieces of hot and crispy chicken that comes with a small flag that says " HAPPY BIRTHDAY SINGAPORE", a regular whipped potato and a Nestle Sjora mango and peach drink, not bad right, I'm not sure how long does this promotion last so go grab yours today.

Adjusted My Blog Layout

A few weeks ago I added a Qoo10 link to try out their affiliate program, it didn't work out, worse of all it probably is more distracting than useful, I think a lot of clicks are wasted on it, so today I took it out and changed my site layout to focus more on Adsense, we'll see how it turns out.

Britons Murdered in Kuching

Source Neil Dalton and Aidan Brunger, both 22, were on a six-week work placement along with five other medical students to put the skills they had learnt during their time here at the university into practice. The two were found murdered at 4.15am on Wednesday with stab wounds on their chest and back following an early morning quarrel with several men in Abell Road. SAC Chai said initial investigations indicated the incident started when the two Britons, who had been drinking, began arguing loudly between themselves in a bar. The four suspects, who had also been drinking, confronted the medical students and told them to be quiet, he added. "One of the British students slapped one of the men, turned over a table and walked out," he said. When the students left the pub on foot, the suspects pursued them in a car. One of them got out of the vehicle and attacked the duo. When you are in a foreign land, always respect the laws and the people there, the worse thing that c

Popular posts from this blog

Long-Term Visit Pass - Plus (LTVP-PLUS)

How to Marry a Thai in Singapore

Commission Calculator for DBS Vickers SG Stocks