Archive for January 27th, 2005
stupid cop ruin my night
January 27th, 2005
everything was going great today until this cop came out of nowhere and totally ruined everything for me.
andy and i were planning to have dinner at a chinese restaurant. i was to drive to his work place after i get home since i get off at 5 and he gets off at 6. when i was walking out of the house to meet him around 6, i saw a police car parked outside of our house. then the police started talking to me. here’s our conversation.
police: how did you get that dent on your car?
me: *looking at my car* what dent?
police: *proceeded to point at this half inch tiny dent/cut at my rear bumper.*
me: oh that was there when we bought the car
police: when did you buy the car?
me: september. what is this about?
police: there was a lady and her car got damaged. did you back into her car?
me: what? no! when did it happen?
police: sunday
me: *thinking* that’s not possible. i was home all day sunday watching football games.
police: well your dent looks about the same height as her car’s damage area.
me: well, it’s a coincident then. i didn’t do it. how bad is her damage?
police: very bad. i’m going to have take some pictures. can i see your driver license?
me: *hands over license*
police: well, my camera is out of battery. are you going to be back later tonight?
me: yes.
police: i will have to come back and take some pictures.
*jeez, thanks for ruining my good appetite*
obviously i had to explain to andy why i was late. he was more pissed than me. as soon as we got home, the same police come knocking on our door. i asked him how is it possible that the lady’s car is badly damanged and my car only got a small dent/cut and a few barely visible scratches? he was like: i don’t know. i’m just doing my job.
WTF? do you have a brain?
he then got our insurance info. i showed him my car title and he said he’s gonna call the person who sold us the car to confirm my story.
OMG stupid cop stupid cop stupid cop!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ok how funny. i just finished typing this. and the same cop knocked on our door and told us they confirmed that it was not our car. weird………………….
OMG geeky bday gift
January 27th, 2005
ok i got my best geeky birthday gift today. LOL, you will have to be a geek to understand my excitement right now. hehehehe i’m soooooooooo happy.
you know how when you use opendir and readdir, you have to chmod your folder to 755 or 777 first? and how if you use mkdir, you won’t be able to delete the directory you created in ftp? it’s such a hassle. i just learned today that you don’t have to. OMG!! i wish i knew this sooner. the trick is to use umask.
if you want to try, just create a directory called test on your domain root, and put a testing file in it. i just put a random jpg. then paste the following code:
<?
$old = umask(0);
if($dh = opendir($_SERVER[DOCUMENT_ROOT]."/test")) {
while (($file = readdir($dh)) !== false) {
echo $file."<br />\n";
}
} umask($old);
?>
to a text file and name it “test.php”. upload it to your domain and run it. you should see something like:
.
..
yourtestingfilename
it worked for me. so no chmod. OMG i’m so happy, now i don’t have to chmod all the folders i upload in my gallery folder. muahahahaha!!!!
on the other hand, if you were to create a dir with mkdir. use the code below:
$u = umask(0);
mkdir($path_to_ur_dir, 0777);
umask($u);
that way you can easily delete the folder you created with ftp.
my birthday
January 27th, 2005
it’s my 23rd birthday today. aw getting old
at least i’m getting old with someone i love. andy’s birthday is next month.
i woke up with a card by my pillow (andy has to leave for work earlier than me). inside of the card is a poem:
Another year has gone by,
and so much has changed.
I’m your husband, you’re my wife.
I find it hard to explain.
We have two precious puppies
who both love you so much
It makes me smile to see misty jump
and bubo make his pig ears crunch
I remember on our first anniversary
I asked you to marry me
At that time I was young and eager
But there was something my heart could see
I knew from that point on
you are the one for me
And patience has finally paid me
so that we may be together
for eternity
I know you have to work today
but relax and take it easy
It’s hard to keep up with all
this stuff when life seems to busy
But I’m so much happier
now that I know
I don’t have to journey my
road alone
I love you, Andy
it made me cry ;_;

