Saturday, January 30, 2010
Hello! It's time for my weekly post! =)
Ok. This week, I fixed two SQL errors. One of the error require me to did some regular expression. According to wikipedia's explanation,
"
In computing, regular expressions, also referred to as regex or regexp, provide a concise and flexible means for matching strings of text, such as particular characters, words, or patterns of characters. "
Sounds chim? Let me give you an example.
// function to validate email address
function validate_email($email_address) {
if (!preg_match ("/^([a-zA-Z0-9\._-])*@([a-zA-Z0-9_-])+ ([a-zA-Z0-9\._-]+$/", $email_address))
return false;
return true;
}
Haix. After Chinese New Year, it's time to bid farewell to the company. Seriously, I will miss the company cause I have fond memories of it. The people there are good, the working hours are nice, and it's not so stress working there. =(
On friday, I went back to sp to meet my friends. We took the bus provided by the school to NUS school of computing. Wow the place there is big! Even my friends said NTU is not that big as NUS. -.- After listening to the talk, I was even more confused. Which course to take? Computer science or Computer engineering? NUS, NTU or SMU? All those thoughts on my mind make me want to stop thinking anymore..
Anyway thanks Auron for helping me chiong Strikeforce to chapter 6. Yay soon can get lu bu!
Ok. I think it's time to get started on my cute css..
Shall stop here. See you all next week!
Edited at 11.19pm:
Forget to post this. Today, a maid was packing the stuff that I packed, to put it inside her trolley. And she dropped a bottle of chilli. =( Nyuuu a lot of chilli sauce at my counter. After she dropped, instead of helping her, the employer was "scolding" her, and the child was taking a dig at her. Look like she wasn't well treated in this family. =( Haix.
Posted by hL at 8:53 PM