Let’s Uzzap about Sports

July 7, 2008

I am posting this as a bridge to my past and present entries.

So yes, Boston became NBA Champs as Predicted and my Paul Pierce became MVP as expected except that the Celtics actually made garbage time on the Lakers and made Special Attendance at the Pacman-Diaz Match last week wherein Pacman practically killed his opponent early in round 2 and finished though in the 8th.

Aside from that, UEFA EURO 2008 finals champion Spain finally does it after 24 years, now on the account of loser Germany who had an early land on the top. 1-nil just proves a tough match though, similar to this 5-set heart-pounding victory by new king Rafael Nadal over the 5-time-reigning ex-champ Roger Federer in this years Wimbledon Men’s Final

In local Sports, well, NCAA kicks off. :D

See one of its official journalists’ blog

Now….. What is Uzzap!?

It’s the most amazing messenger in the world for extended messaging that also includes:

- IM to Yahoo and MSN
- What they call E-SMS
- Email!
- Unique Chatrooms
- Auto-Buddy-Matching (Common contacts on mobile phones who become Uzzap users automatically become buddies).
- Themes
- and More!

Visit the Official Website at uzzap.com.
Text “uzzap” to 7272 for Smart subscribers
Or download directly on uzzap.com/download on your mobile and PC. :D


Swampers in the Staples!

June 13, 2008

Whatever that means, you know what I mean. :D *as korny as the fight they put up*

NBA FINALS Game 3(LAL) and 4(BOS)

There’s no place like home court… NOT TO LA!

LOS ANGELES - Boston Celtics came from behind on a House jump shot, 4:07 in the last canto, assisted by Pierce and steals the lead which the Lakers have kept for more than 3 1/2 quarters of the game, and went on to win back home court advantage and stand 3-1 in NBA Finals, 97-91.

No more time to post! :D

Game 4 Full Box Scores

Game 4 Full Play-By-Play

Game 3 Full Box Scores

Game 3 Full Play-By-Play

   Game 3 Stats:
  Final: 87-81 LAL
  Deadlocks: 4
  Lead Changes: 7
   Game  4  Stats:
   Final: 97-91 Bos
   Deadlocks: 4
   Lead Changes: 1

BOS vs LAL : Game 2

June 10, 2008
NBA FINALS Game 2 : BOS

There’s no place like home court.

BOSTON - Even hungover with his injury from the previous match, Paul Pierce piled 28 points with 4/4 3-pt field goals and 8 assists to lead Boston in Game 2 as they leave LA still without victory in the Best of 7 NBA Finals, 108-102.

Full Box Scores

Full Play-By-Play

   Game  2  Stats:
   Final: 108-102 Bos
   Deadlocks: 5
   Lead Changes: 3

The Lakers will have the home court advantage for the next 3 games, but it takes 1 win for the Celtics to steal that advantage. So I maintain, Celtics in 7. :D


Photo Manipulation

June 5, 2008

Starring Face Up….

Note the the following literature succeeding ‘Face Up’ are not related to the Images that go with it. :D And as for the poetry, their not exactly unique bits of my soul so I don’t mind plagiarizers at this point, though they will always be pitiful. There are some typographical errors along the way and I don’t have the time to copy edit. Some images are also do not have neat finishing coz they’re mostly scribbles in a hurry. Enjoy anyway!

Face Up

Adobe Photoshop 7.0

Conquer all your deaths,
face up.
No matter how rotten you are by the flesh,
your dignified soul will fly...
People will think of you this way-
Martyr.
But you are not a slave of your mold.
The real you is all out and untouchable.
Know that as you wither,
you grow... freed of soul-cage...
So conquer .
Live up.


Gimp Trip

My first real photo manipulation using GIMP in Ubuntu Linux -(Fiesty Fawn)


Loser

Still gimp

I feel empty without the pain of love I knew;
I don't feel good enough with the better thing that's new
..Is it?
I would rather not weep but feel,
than shed a few shallow tears and not be tormented;
I ache to be whole,
not to be partly at ease.


Struck, Tripped and Fallen on Sullen Ground

Still gimp
Giving up - is nothing
but a statement man would use to confuse his soul.
You only succeed in giving up...
When you have finally ceased to care,
to love,
...even one bit,
and you will not!
So far beyond your doom - most undesireable,
Understand why tears actually shine,
...and touch you whole,
even in the dark..
They are not telling the world of your pain...
but of the light that transcends from your heart..


Exchanging Creativity

I don’t know what version of photoshop she used.

My friend Melody and I exchanged artworks. Here's what I got from her:


I wanna be a Plant

Haha the ancient adobe photoshop 7.0

Maybe because she's all dead..
grieving melancholy bitter...
Still tears, entrapped as they shatter...

Maybe because she's all gone,
after some obsolete appearance..
madness in existence..
an ancient horror for remembrance..
All throughout a petrified void..
Still lost but stolen - a forlorn
though she drowns in a crowd as a good earthly meal -
a societal spice not one of many....
But the rare imposibility, is she?

Is there even a word you can modify to closely fit her?

Maybe because she's dead not vitally....
yet she suffers indescribably....


Sharp Un Witty

still gimp!

Just playin' around...


A Tale of Two Split Schizoids

the ancient 7.0

I guess that means....
8 or more!


Female Hisoka

One of my oldest… you know what software I used.

What is this raging torment that engulfs within to wither...
What is this inevitability!
Mus I always suffer?
Ever so depriving eventhough there's nothing more of me
To steal!
To covet!
How long this mourning?!
Must I ache forever,
Must I cry out these massive bursts of negativity
And search for tears to define pain - human!?
No, this pain is beyond human..
It unstalks death and prolongs
THE SACRIFICE CALLED 'LIFE'
Must I shatter more and more though I am nothing whole?!
Let it end!!!
Free my lungs, shut my eyes
And freeze them against the burning needles of inverted tears!
Clean my heart, untouch my soul...
Pity me, oh torment, Leave me be...


Wrath of the Damned

This was a really good photo to begin with. The editing was more on contrast alone with the ancient ap7.0

Nothing. Just looking like Aaliyah, and complicating her death and life in me.


Yehey! I’m a konoha Ninja

MS PAINT! Kidding! Photoshop 7.0 obviously. Technique here is just to merge various filters so that the digital prints and the actual photo become one.

Yes, I'm an avid Naruto fan!


Versions

1-AdobePhotoshop CS2; 2&3-Gimp

My exchange pieces with Mark.
See 'Uhaw pa sa Camel' in my links.


The Original Art Work before the one will dull scribbled red hair

Excerpts from a Conversation:
I want relaxing joys...
Joys that aren't achieved over tremendous pressure.
I want those that come in pearce,
in kindness freely given,
in love....
I want joy that does not demand a price or sacrifice...
I want that plain emotion from time to time....


My exchange piece with Lhoody.

GIMP

She did better with that chicmag style above

I’m tired of publishing this! To be continued!…or not!


Test GIF rendering :D

June 2, 2008

\


Javascript: DOM, Window Object, Page Load and URL Encoding/Decoding Examples

May 26, 2008

This software (wordpress.com) is so good at omitting scripts from your post and it’s true that if you wanna benefit from the glory of it all use the actual product (wordpress.org). I do not have my own domain for that though, so in spite of the absence of an actual demonstration, here are some useful javascript source codes!

window element

This code shows how to display a popup window.

onclick="window.open('test.html', 'windowname1', 'width=200, height=77'); return false;"
Full window properties
function popup(url)
{
 var width  = 500;
 var height = 500;
 var left   = (screen.width  - width)/2;
 var top    = (screen.height - height)/2;
 var params = 'width='+width+', height='+height;
 params += ', top='+top+', left='+left;
 params += ', directories=no';
 params += ', location=no';
 params += ', menubar=no';
 params += ', resizable=no';
 params += ', scrollbars=yes';
 params += ', status=no';
 params += ', toolbar=no';
 newwin=window.open(url,'windowname5', params);
 if (window.focus) {newwin.focus()}
 return false;
}

The DOM

This code shows how to change the innerHTML value of a tag, change the color of a text, change the options of a select, make some page contents disappear, disable radio buttons, mark radio buttons as checked by default and basically how to user a switch function in JS and use the function getElementByID().


<script language="javascript">
function act(n){
	switch(n){
		default: break;
		case 1:{
			document.getElementById("targetObj").innerHTML =
"<p id='helloworld'>hello world</p>";
			replaceSelectOpt("change color of 'hello world'", 2);
			break;
		}
		case 2:{
			document.getElementById("helloworld").style.color = "red";
			replaceSelectOpt("change me into useless radio buttons", 3);
			break;
		}
		case 3:{
			r = "<input type='radio' name='rad' checked='true'>huhuhuh";
			r = r + "<input type='radio' name='rad' disabled='true'>nahnah";
			document.getElementById("thejester").innerHTML = r;
			s = "<a href='javascript:void(0)' onClick='act(4)'>
I am tired. Make me vanish.</a>";
			document.getElementById("helloworld").innerHTML = s;
			break;
		}
		case 4:{
			document.getElementById('thejester').innerHTML = "";
			document.getElementById('targetObj').innerHTML = "";
		}
	}
}

function replaceSelectOpt(txt, nxt){
	full = "<option>Choose!</option><option onClick=
'act(" + nxt + ")'>" + txt + "</option>";
	document.getElementById("you_have_no_choice_but_to_follow").innerHTML = full;
}

</script>

<div id="thejester">
	<select id="you_have_no_choice_but_to_follow">
	<option>Choose!</option>
	<option onClick="act(1)">show me a paragraph</option>
	</select>
</div>

<br>
<div id="targetObj"></div>

history.go() function

Go to previous page

For whatever purpose it may serve, you may use the history() function to navigate towards a specific page in your history.

history.go(-1);
Reload Page
history.go(0);

escape() and unescape() functions //url encode and decode

These are the javascript counterparts for PHP’s rawurldecode and rawurlencode.

<input type="text" size="100" onKeyPress=
"document.getElementById('s').innerHTML=escape(this.value)">
<div id="s"></div>

Jeassshhh… There’s too much code here….(X_+)


PHP SESSION

May 5, 2008

This post was originally titled "PHP Developer Essentials" which was what I really wanted to post instead of "PHP Essentials". But as I was at it, I got really bored and I realize, I really just wanted to list all my favorite or let me just say "mostly used" php functions.

But to preserve the efforts, let me just leave what I have already typed here—Creating a session with PHP.

Creating a Session

login.php

<?php
$login_name = $_POST['username'];
$login_password = $_POST['password'];
if($login_name==’admin’ && $login_password==’@dm!n’){
   session_start();
   session_cache_expire(15);
   $_SESSION['user'] = $_POST['username'];
   header("Location: ‘home.html’");
}
else{
   die("Authentication Failed");
}
?>

What this simple program does, is get post data from a form that uses the POST method and defined the URL of this code as the form target. The form will look like:

<form action=’login.php’ method=’post’>
Username: <input type=’text’ name=’username’>
Password: <input type=’password’ name=’password’>
<input type=’submit’ value=’Login’>

After retrieving post data, it will validate the user inputs then start a session and store the login data (username) in a session variable called (user). It will then set the window location to the home page using the header() function.



My First Post

April 28, 2008

I choose WordPress for its elegance and functionality. My only comment is that it limits your pages to simple content for you can not post to a page, instead, just categorize your posts and have it all in your home page. Otherwise, this is great and I am looking forward to making this permanent.