Hello WordPress!

Posted on September 27, 2007 at 21:55 Down the Drain No Comments

Yeee-HAH! After days of figuring out how things work in WordPress, at last, I have my blog use it. I’d say the layout had me somehow motivated. I missed using divs so I decided to use one for v.10 of Flirt Wind. So how have I been doing? Hmm.. Let’s see:

Monday: Ma’am commented on me knowing already how to do a slice serve in Badminton.

Tuesday: Our exam in Assembly was returned and guess what, I got a perfect score! Thanks to the bonus of 3 points. *whew*

Yesterday: We had our very first exercise in PHP and I was able to finish it on time! We had to display the values the user enters in a given form. Our last JavaScript exercise was also used to validate the inputs. The PHP include function was put to use and since I was already familiar with it, no sweat. ^_^ It’s actually the very first PHP function that I learned.

Today we had our 3rd long exam in Stat105. I was able to answer all the items yet only very few of which, I believe, are correct. Lairy made me realize when we had lunch that the value of lambda is simply 1/Mean. I totally forgot about that formula and used the mean directly in solving the Exponential Distribution problem. Nyeah. We also had our exam in Badminton. I got an 83%. I then played with my usual ‘playmates’ Feliza, Charmie, and Rheinhart. We subsequently ate Spaghetti at Heaven’s Bliss and I treated (forced! x_x *lol*) them a liter of Pepsi.

I have a flu right now. I’ve been sneezing here and there and I just hate it when there’s the ‘thing’ inside your nose (ugh). And I can’t help but think of our Bio20 exam last week. We were asked in one of the enumerations to give signs of flu. My classmate said he answered sneezing. I never thought of it. X_X My answers were plain guesses. And the right side of my nose somewhat hurts when touched. Maybe I should get it fixed at Toronto plastic surgery. *woot!*

JavaScript: Displaying Date and Time

Posted on September 23, 2007 at 16:19 JavaScript 1 Comment

Our first exercise in CMSC 140. I was, by any luck, able to do it without any help from my classmates and, as a matter of fact, even enjoyed doing it! 😉

P.S. Also prints out “Hello World!” n times, where n is the date.

date_time.html

<script type="text/javascript">
   var nelson = new Date();
   var date = nelson.getDate();
   var day = nelson.getDay();
   var month = nelson.getMonth();
   var fullYear = nelson.getFullYear();
   var hours = nelson.getHours();
   var minutes = nelson.getMinutes();
</script>