Saturday, December 6, 2008

Combine CSS/JS Files in One Call [Combine Solution]

After Reading lots of articles, regarding optimisation of page renders, found something interesting script, easy to implement combine cc/js calls in one go.

The idea of concatenating JavaScript and CSS has been implemented on other platforms too.
Thanks to Rakaz’s PHP Combine Solution.
Lets Take Example:

http://www.domain.com/javascript/prototype.js
http://www.domain.com/javascript/builder.js
http://www.domain.com/javascript/effects.js
http://www.domain.com/javascript/dragdrop.js
http://www.domain.com/javascript/slider.js
You can combine all these files to a single file by simply changing the URL to:

http://www.domain.com/javascript/prototype.js,builder.js,effects.js,dragdrop.js,slider.js

Download Combine Php Script.
Re-Write Apache Rule like this:

RewriteEngine On
RewriteBase /
RewriteRule ^css/(.*\.css) /combine.php?type=css&files=$1
RewriteRule ^javascript/(.*\.js) /combine.php?type=javascript&files=$1

This might help in optimising the pages.
I will try to setup one example, to give you usefulness of this.

Saturday, November 29, 2008

Randomly....:)

Why would God let us meet..
If there is no way we can be together.
**************************************************

Only someone who has cried a great
deal understands why someone else
wants to stop the tears.
*********************************************

If tomorrow can be terrible than today..
today is better.
If tomorrow is better than today..
today is the worst.
If today and tomorrow are going
to be the same.... i am Happy.
*******************************************

You smile when your feel like crying...
you act like your okay..
when your really falling apart inside...
and you let it go....
you move on because thres nothing else
u can do or say.
***************************************

WHEN U LOOK AT ME 'N' SMILE
I GET LOST INTO UR EYES .....
NEVER ABLE TO FIND MY WAY OUT AGAIN

WHICH LEAVES ME INSANE !!!!!

Saturday, November 8, 2008

City Life [Remebering Old Day s Delhi]



"Remembering the olds days in Delhi"

Day at Janpath [crowded/noisy/fast]....

One sunny Sunday afternoon, I was walking down foothpath stalls at Janpath trying to find some interesting stuff, when it suddenly started raining. Everyone rushed into shelters. I rushed out into the emptied street.

The rainwater tapped on my head, trickled down under my tee, and soaked my jeans, making them cling tight to my legs. But I just walked and walked.

Its hot summer day, what else you want more than RAIN....:). But seems like poeple doesn't seems like enjoying those perfect moments.

Here we have crowd, but no people; noise, but no conversation.

I like it this way. Big, big cities let you be You. Unknown and anonymous.

~~ Tongue Twisters ~~

If you understand, say "understand".
If you don't understand, say "don't understand".
But if you understand and say "don't understand".
How do I understand that you understand? Understand!

SHE SELLS SEA SHELLS ON THE SEA SHORE ,
BUT THE SEA SHELLS THAT SHE SELLS,
ON THE SEA SHORE ARE NOT THE REAL ONES


Tie a knot, tie a knot.
Tie a tight, tight knot.
Tie a knot in the shape of a nought.

Upper roller lower roller Upper roller lower roller.


Our brains are divided into two.

The left side has nothing right in it and the right side has nothing left in it

Wednesday, November 5, 2008

~~ When I met You ~~

Once Upon a Time,
Something happened to me.
It was the sweetest thing that ever could be.
It was a fantasy, a dream come true,
it was the day I Met you. :)

Tuesday, October 16, 2007

Friendship

We've known each other by CHANCE,became
friends by CHOICE,still friends by DECISION,
And When we say FRIENDS FOREVER, that's
definitely a lifetime PROMISE.

#
I believe in angels, the kind that heaven sends. I'm surrounded by angels but I call them my best friends

#
There r many stars but the moon is u, there are many friends but the best is u,, To forget me that’s up to u,,, To forget u I will never ever do

Sunday, October 14, 2007

Sometimes in Life...

SOmethings in life never change,
Sometimes in life you don't find reasons,
Some moments in life aren't forgotten,
Sometimes you loose hope.....

When time rolls by you try to forget
What holds you on...

Some people in life are a part of you,
And when you let them go,
You never lose them
Because.....
You find them living in you