#! /usr/bin/env perl # Randomly print one of my favorite U2 quotes... # # This script automatically senses if it is being run as a CGI and if so # outputs HTML, if not then it outputs plain text. # # script by Tim Middleton ( http://www.vex.net/~x ) $bgcolor = "#800000"; $text = "#80B0B0"; $link = "#999999"; $vlink = "#777777"; $feedback = "http://www.vex.net/~x/feedback.py"; # my mailto, or URL... srand (time ^ ($$ + $$ << 15)); rand(time); rand(time); rand(time); # my stupid way of getting more randomness $verses = 0; $songs = 0; $ablums = 0; $album = ''; $song = ''; @verse = (); # you can send a quote number via path_info, or -1 prints the script if ($ENV{"PATH_INFO"}) { $cmd = substr($ENV{"PATH_INFO"},1); } else { $cmd = "-2"; # so a random line will be picked } if ($cmd eq "u2lines.cgi") { &send_script(); exit; } while () { # rather unefficient way to do things, but it's not a huge block of data, # so we're gonna read the whole thing from DATA into a list if (/^ALBUM:\s*(.*)\s*$/) { $album = $1; $albums++; } elsif (/^SONG:\s*(.*)\s*$/) { $song = $1; $songs++; } elsif (/\S/) { push(@verse,"$album\e$song\e$_"); $verses++ } } #print "\nAlbums:$albums\nSongs:$songs\nVerses:$verses\n\n"; if (int($cmd) > 0 && int($cmd) <= $#verse + 1) { $pick = $cmd - 1; } else { $pick = int(rand($verses)); $cmd = -2; } ($album,$song,$_) = $verse[$pick] =~ /(.*?)\e(.*?)\e\s*(.*)\s*$/; #@lines = split('/',$_); if ($ENV{'GATEWAY_INTERFACE'}) { &html_out(); } else { &text_out(); exit; } sub html_out { s/\//
/g; # sub "/" for html line breaks s/ /\ /g; # all spaces are hard (no wrapping) print "Content-type: text/html\n\n"; print "U2: Some Random Lines\n"; print "\n"; print "
$song

\n"; print "\n"; print "
\n
\n"; print "$_\n"; #for $_ (@lines) { print "$_
\n"; } print "

[$album]\n"; print "

\n

"; print '\n"; $pick++; print "\n"; print '
'; if ($cmd<0) { # this is a random pick print ''; print ' page to change...'; } else { # don't want to reload cuz of pathinfo print "Reload main page..."; } print ""; print "[ Line $pick of $verses ]"; print "'; print "CGI by T. Middleton"; print '
'; print "\n"; } sub text_out { s/\//\n/g; # sub "/" for new lines print "\n$_\n\n"; print "[ $song: $album ]\n" } sub send_script { print "Content-Type: text/plain\n\n"; open (F,__FILE__); while () { print $_; } close(F) } __END__ ALBUM:Boy SONG:I Will Follow I was looking at myself/I was blind, I could not see A boy tries hard to be a man/His mother takes him by his hand/If he stops to think he starts to cry/Oh why If you walkaway, walkaway/I walkaway, walkaway...I will follow Your eyes make a circle/I see you when I go in there/Your eyes, your eyes... SONG:Twilight I look into his eyes/They're closed but I see something A teacher told me why/I laugh when old men cry My body grows and grows/It frightens me you know It's all; it's everything/I'm soaking through the skin SONG:An Cat Dubh Say goodnight/She waits for me to/Put out the light/Lay there still/She waits to break my will SONG:Into The Heart Into the heart...of a child/I stay awhile...oh, I can go back/Into the heart...of a child SONG:Out of Control It was one dull morning/Woke the world with falling I was of a feeling it was out of control/I had the opinion it was out of control Boys and girls/Go to school and those/Remain children/But not this one I had full faith/It was burning/Gotta get them/They'll say childhood/It's in his childhood One day I'll die/The choice will not be mine SONG:The Ocean A picture in grey/Dorian Gray/Just me by the sea/And I felt like a star/I felt the world could go far/If they listened/To what I said/Washes my feet/Washed the feet/Splashes the soul of my shoes SONG:Another Time, Another Place Bright morning lights/Wipe the sleep from another day's eye/Turn away from the wall/And there's Nothing at all/Being naked and afraid/In the open space of my bed ALBUM:October SONG:Gloria Oh Lord, if I had anything/Anything at all/I'd give it to you/I'd give it to you SONG:Tomorrow Outside/Somebody's outside/Somebody's looking at the door/There's a black car parked/At the side of the road/Don't go to the door/Don't go to the door SONG:October October/And the trees are stripped bare/Of all they wear/What do I care ALBUM:War SONG:Sunday Bloody Sunday Yes.../I can't believe the news today/Oh, I can't close my eyes/And make it go away And it's true we are immune/When fact is fiction and TV reality/And today the millions cry/We eat and drink while tomorrow they die SONG:Seconds It takes a second to say goodbye/Say goodbye, oh, oh, oh, say bye bye... SONG:New Year's Day Yeah.../All is quiet on New Year's Day/A world in white gets underway/I want to be with you/Be with you night and day/Nothing changes on New Year's Day SONG:The Refugee Her mama say one day she's gonna/Live in America SONG:40 I waited patiently for the Lord/He inclined and heard my cry/He brought me up out of the pit/Out of the mire and clay/I will sing, sing a new song/I will sing, sing a new song/How long to sing this song? ALBUM:The Joshua Tree SONG:Where the streets have no name I'll show you a place/High on a desert plain/Where the streets have no name Oh, when I go there/I go there with you/It's all I can do SONG:I Still Haven't Found What I'm Looking For I have kissed honey lips/Felt the healing in her fingertips/It burned like fire/This burning desire I have spoke with the tongue of angels/I have held the hand of a devil/It was warm in the night/I was cold as a stone I believe in the kingdom come/Then all the colors will bleed into one/Bleed into one SONG:With or Without You See the stone set in your eyes/See the thorn twist in your side/I wait for you Sleight of hand and twist of fate/On a bed of nails she makes me wait/And I wait without you/With or without you Through the storm we reach the shore/You give it all but I want more/And I'm waiting for you/With or without you SONG:Bullet the Blue Sky In the howling wind comes a stinging rain/See it driving nails/Into the souls on the tree of pain From the firefly, a red orange glow/See the face of fear/Running scared in the valley below In the locust wind comes a rattle and hum/Jacob wrestled the angel/And the angel was overcome You plant a demon seed/You raise a flower of fire This guy comes up to me/His face red like a rose on a thorn bush/Like all the colors of a royal flush SONG:Running to Stand Still Step on a steam train/Step out of the driving train, maybe/Run from the darkness in the night/Singing Ha, Ah La La La De Day I see seven towers/But I only see one way out You got to cry without weeping/Talk without speaking/Scream without raising your voice You know I took the poison/From the poison stream/Then I floated out of here/Singing...Ha La La La De Day She runs through the streets/With her eyes painted red/Under black belly of cloud in the rain In through a doorway she brings me/White gold and pearls stolen from the sea/She is raging/She is raging/And the storm blows up in her eyes She will.../Suffer the needle chill/She is running to stand/Still. SONG:Red Hill Mining Town From father to son/The blood runs thin/See faces frozen still/Against the wind The seam is split/The coal face cracked/The lines are long/There's no going back Through hands of steel/And heart of stone/Our labour day/Has come and gone See lights go down, I'm.../Hanging on/You're all that's left to hold on to/I'm still waiting/I'm hanging on The glass is cut/The bottle run dry/Our love runs cold/In the caverns of the night We're wounded by fear/Injured in doubt/I can lose myself/You I can't live without/Yeah you keep me holding on We'll scorch the earth/Set fire to the sky/We stoop so low to reach so high A link is lost/The chain undone/We wait all day/For night to come/And it comes/Like a hunter child SONG:In God's Country Dream beneath a desert sky/The rivers run but soon run dry/We need new dreams tonight Desert rose/Dreamed I saw a desert rose/Dress torn in ribbons and in bows Set me alight/We'll punch a hole right through the night Everyday the dreamers die/See what's on the other side She is liberty/And she comes to rescue me/Hope, faith, her vanity/The greatest gift is gold Naked flame/She stands with a naked flame/I stand with the sons of Cain/Burned by the fire of love/Burned by the fire of love SONG:Trip Through Your Wires Still shaking/Still in pain/You put me back together again I was broken, bent out of shape/I was naked in the clothes you made SONG:One Tree Hill We turn away to face the cold, enduring chill/As the day begs the night for mercy love/The sun so bright it leaves no shadows/Only scars carved into stone/On the face of earth The moon is up and over One Tree Hill/We see the sun go down in your eyes And in the world a heart of darkness/A fire zone/Where poets speak their heart/Then bleed for it I don't believe in painted roses/Or bleeding hearts/While bullets rape the night of the merciful/I'll see you again/When the stars fall from the sky/And the moon has turned red/Over One Tree Hill SONG:Exit A dog started crying/Like a broken hearted man/At the howling wing/At the howling wind Could see the stars shining/Like nails in the night SONG:Mothers Of The Disappeared Night hangs like a prisoner/Stretched over black and blue/Hear their heartbeat/We hear their heartbeat ALBUM:Rattle 'n Hum SONG:Van Diemen's Land Hold me now, oh hold me now/'til this hour has gone around/And I'm gone on the rising tide/For to face Van Diemen's land Now kings will rule and the poor will toil/And tear their hands as they tear the soil/But a day will come in this dawning age/When an honest man sees an honest wage SONG:Desire She's a candle burning in my room/Yeah I'm like the needle, needle and spoon She's the dollars/She's my protection/Yeah she's a promise/In the year of election SONG:Hawkmoon 269 Like a Phoenix rising needs a holy tree/Like the sweet revenge of a bitter enemy/I need your love Like a thought unchained/Like a runaway train/I need your love Like faith needs a doubt/Like a freeway out/I need your love Like powder needs a spark/Like lies need the dark/I need your love SONG:Silver And Gold In the shit house a shotgun/Praying hands hold me down/Only the hunter was hunted/In this tin can town Seen the coming and going/Seen them captains and the kings/See them navy blue uniforms/See them bright and shiny things Outside are the prisoners/Inside the free SONG:Angel Of Harlem New York, like a Christmas tree/Tonight this city belongs to me Lady Day got diamond eyes/She sees the truth behind the lies An empty glass, the lady sings/Eyes swollen like a bee sting/Blinded you lost your way/Through the side streets and the alleyway/Like a star exploding in the night/Falling to the city in broad daylight/An angel in Devil's shoes/Salvation in the blues SONG:Love Rescue Me Love rescue me/Come forth and speak to me/Raise me up and don't let me fall No man is my enemy/My own hands imprison me/Love rescue me Many strangers have I met/On the road to my regret/Many lost who seek to find themselves in me/They ask me to reveal/The very thoughts they would conceal/Love rescue me And the sun in the sky/Makes a shadow of you and I/Stretching out as the sun sinks in the sea I'm here without a name/In the palace of my shame/Said, love rescue me In the cold mirror of a glass/I see my reflection pass/See the dark shades of what I used to be See the purple of her eyes/The scarlet of my lies/Love rescue me Yea, though I walk/In the valley of shadow/Yea, I will fear no evil/I have cursed thy rod and staff/They no longer comfort me/Love rescue me The ruins to the right of me/Will soon have lost sight of me/Love rescue me SONG:When Love Comes To Town I was a fighter, I could turn on a thread/Now I stand accused of the things I've said Maybe I was wrong to ever let you down/But I did what I did before love came to town I was there when they crucified my Lord/I held the scabbard when the soldier drew his sword/I threw the dice when they pierced his side/But I've seen love conquer the great divide Love comes to town I'm gonna jump that train SONG:Heartland See the sun rise over her skin/Dawn changes everything/Everything SONG:God Part II Don't believe the devil/I don't believe his book/But the truth is not the same/Without the lies he made up Don't believe in excess/Success is to give/Don't believe in riches/But you should see where I live Don't believe in forced entry/Don't believe in rape/But every time she passes by/Wild thoughts escape I don't believe in death row/Skid row or the gangs/Don't believe in the Uzi/It just went off in my hand Don't believe in cocaine/Got a speed-ball in my head/I could cut and crack you open/Do you hear what I said Don't believe them when they tell me/There ain't no cure/The rich stay healthy/The sick stay poor Don't believe in Goldman/His type like a curse/Instant karma's going to get him/If I don't get him first Don't believe in the 60's/The golden age of pop/You glorify the past/When the future dries up Heard a singer on the radio late last night/He says he's gonna kick the darkness/'til it bleeds daylight SONG:All I Want is You You say you want/Diamonds on a ring of gold/You say you want/Your story to remain untold You say you'll give me/A highway with no one on it/Treasure just to look upon it/All the riches in the night You say you'll give me/Eyes in a moon of blindness/A river in a time of dryness/A harbour in the tempest/But all the promises we make/From the cradle to the grave ALBUM:Achtung Baby SONG:Zoo Station I'm ready/I'm ready for the laughing gas/I'm ready/I'm ready for what's next I'm ready to duck/I'm ready to dive/I'm ready to say/I'm glad to be alive I'm ready for the shuffle/Ready for the deal/Ready to let go of the steering wheel Time is a train/Makes the future the past/Leaves you standing in the station/Your face pressed up against the glass SONG:Even Better Than the Real Thing Well my heart is where it's always been/My head is somewhere in between SONG:One Is it getting better/Or do you feel the same/Will it make it easier on you now/You got someone to blame One love/We get to share it/Leaves you, baby, if you/Don't care for it Did I disappoint you/Or leave a bad taste in your mouth/You act like you never had love/And you want me to go without We're one, but we're not the same/We get to/Carry each other/Carry each other Have you come here for forgiveness/Have you come tor raise the dead/Have you come here to play Jesus/To the lepers in your head Did I ask too much/More than a lot/You gave me nothing/Now it's all I got You say/Love is a temple/Love a higher law/Love is a temple/Love the higher law/You ask me to enter/But then you make me crawl And I can't be holding on/To what you got/When all you got is hurt SONG:Until The End Of The World Haven't seen you in quite a while/I was down the hold just passing time Last time we met was a low-lit room/We were as close together as a bride and groom We ate the food, we drank the wine/Everybody having a good time/Except you/You were talking about the end of the world I took the money/I spiked your drink/You miss too much these days if you stop to think You lead me on with those innocent eyes/You know I love the element of surprise In the garden I was playing the tart/I kissed your lips and broke your heart/You...you were acting like it was/The end of the world In my dream I was drowning my sorrows/But my sorrows, they learned to swim/Surrounding me, going down on me/Spilling over the brim Waves of regret and waves of joy/I reached out for the one I tried to destroy/You...you said you'd wait/'til the end of the world SONG:Who's Gonna Ride Your Wild Horses You're dangerous 'cause you're honest/You're dangerous, you don't know what you want Well you left my heart empty as a vacant lot/For any spirit to haunt/Hey hey sha la la/Hey hey You're an accident waiting to happen/You're a piece of glass left in a beach Well you tell me things I know you're not supposed to/Then you leave me just out of reach/Hey hey sha la la/Hey hey sha la la Who's gonna ride your wild horses/Who's gonna drown in your blue sea/Who's gonna ride your wild horses/Who's gonna fall at the foot of thee Well you stole it 'cause I needed the cash/And you killed it 'cause I wanted revenge/Well you lied to me 'cause I asked you to/Baby, can we still be friends Oh, the deeper I spin/Oh, the hunter will sin for your ivory skin Took a drive in the dirty rain/To a place where the wind calls your name/Under the trees the river laughing at you and me/Hallelujah, heavens white rose/The doors you open/I just can't close SONG:So Cruel We're cut adrift/We're still floating/I'm only hanging on/To watch you go down.../My love I disappeared in you/You disappeared from me/I gave you everything you ever wanted/It wasn't what you wanted I gave you everything you ever wanted/It wasn't what you wanted The men who love you, you hate the most/They pass through you like a ghost/They look for you but your spirit is in the air/Baby, you're nowhere Oh...love...you say in love there are no rules/Oh...love...sweetheart.../You're so cruel Desparation is a tender trap/It gets you every time/You put your lips to her lips/To stop the lie Her skin is pale like God's only dove/Screams like an angel for your love/Then she makes you watch her from above/And you need her like a drug She wears my love like a see-through dress/Her lips say one thing/Her movements something else Oh love...like a screaming flower/Love...dying every hour...love You don't know if it's fear or desire/Danger the drug that takes you higher/Head in heaven, fingers in the mire Her heart is racing, you can't keep up/The night is bleeding like a cut Between the horses of love and lust/We are trampled underfoot SONG:The Fly It's no secret that the stars are falling from the sky/It's no secret that our world is in darkness tonight They say the sun is sometimes eclipsed by a moon/You know I don't see you when she walks in the room It's no secret that a friend is someone who lets you help It's no secret that a liar won't believe anyone else It's no secret that a conscience can sometimes be a pest/It's no secret ambition bites the nails of success Every artist is a cannibal, every poet is a thief/All kill their inspiration and sing about their grief A man will rise/A man will fall/From the sheer face of love/Like a fly from a wall It's no secret that the stars are falling from the sky/The universe exploded 'cause of one man's lie SONG:Mysterious Ways Johnny take a walk with your sister the moon/Let her pale light in to fill up your room You've been living underground/Eating from a can/You've been running away/From what you don't understand... Johnny take a dive with your sister in the rain/Let her talk about the things you can't explain To touch is to heal/To hurt is to steal/If you want to kiss the sky/Better learn how to kneel She's the wave/She turns the tide/She sees the man inside the child SONG:Tryin' to Throw Your Arms Around the World Six o'clock in the morning/You're the last to hear the warning/You've been trying to throw your arms/Around the world You've been falling off the sidewalk/Your lips move but you can't talk/Tryin' to throw your arms around the world Sunrise like a nosebleed/Your head hurts and you can't breathe/You been tryin' to throw you arms around the world How far you gonna go/Before you lose your way back home/You've been trying to throw your arms He took an open top beetle/Through the eye of a needle/He was tryin' to throw his arms around the world Nothin' much to say I guess/Just the same as all the rest/Been trying to throw your arms around the world SONG:Ultraviolet (Light My Way) And the day is as dark as the night is long You bury your treasure/Where it can't be found/But your love is like a secret/That's been passed around There is a silence that comes to a house/Where no one can sleep/I guess it's the price of love/I know it's not cheap When I was all messed up/And I had opera in my head/Your love was a light bulb/Hanging over my bed SONG:Acrobat Don't believe what you hear/Don't believe what you see/If you just close your eyes/You can feel the enemy When I first met you girl/You had fire in your soul/What happened your face/Of melting in snow And you can swallow/Or you can spit/You can throw it up/Or choke on it And you can dream/So dream out loud/And don't let the bastards grind you down No, nothing makes sense/Nothing seems to fit/I know you'd hit out/If you only knew who to hit And I'd join the movement/If there was one I could believe in Yeah I'd break bread and wine/If there was a church I could receive in/'cause I need it now/To take a cup/To fill it up/To drink it slow/I can't let you go I must be an acrobat/To talk like this/And act like that (What are we going to do now it's all been said)/(No new ideas in the house and every book has been read) In dreams begin/Responsibilities SONG:Love Is Blindness Love is blindness/I don't wanna see/Won't you wrap the night/Around me Thread is ripping/The knot is slipping/Love is blindness Love is clockworks/And cold steel/Fingers too numb to feel Squeeze the handle/Blow out the candle/Love is blindness A little death/Without mourning/No call/And no warning/Baby...a dangerous idea/That almost makes sense Love is drowning/In a deep well/All the secrets/And no one to tell ALBUM:Zooropa SONG:Zooropa (what do you want?)/(what do you want?) Be a winner/Eat to get slimmer Zooropa...a bluer kind of white We're mild and green/And squeaky clean Through appliance of science/We've got that ring of confidence And I have no compass/And I have no map/And I have no reasons/No reasons to get back And I have no religion/And I don't know what's what/And I don't know the limit/The limit of what we've got You got the right shoes/To get you through the night It's cold outside, but brightly lit No particular place names/No particular song/I've been hiding/What am I hiding from Don't worry baby, it's gonna be alright/Uncertainty can be a guiding light/I hear voices, ridiculous voices/Out in the slipstream SONG:Babyface Watching your bright blue eyes/In the freeze frame/I've seen them so many times/I feel like I must be your best friend You're looking fine, so fine, oh my/Dressed up like a lovely day, oh I've got slow motion on my side/Turning around and around/With the sound and colour/Under my control, go/Round and around, going down SONG:Numb Don't move/Don't talk out of time/Don't think/Don't worry/Everything's just fine/Just fine SONG:Lemon Lemon/See through in the sunlight/She wore lemon/But never in the daylight And when you're dry/She draws her water from the stone A man makes a picture/A moving picture/Through the light projected/He can see himself up close A man captures colour/A man likes to stare/He turns his money into light to look for her A man builds a city/With banks and cathedrals/A man melts the sand so he can/See the world outside A man makes a car/And builds roads to run them on And these are the days/When our work has come assunder/And these are the days/When we look for something other SONG:Stay (Faraway, So Close!) Green light, Seven Eleven/You stop in for a pack of cigarettes/You don't smoke, don't even want to/Hey now, check your change Dressed up like a car crash/Your wheels are turning but you're upside down You say when he hits you, you don't mind/Because when he hurts you, you feel alive Red lights, gray morning/You stumble out of a hole in the ground/A vampire or a victim/It depend's on who's around You used to stay in to watch the adverts/You could lip synch to the talk shows And if you look, you look through me/And when you talk, you talk at me/And when I touch you, you don't feel a thing Three o'clock in the morning/It's quiet and there's no one around/Just the bang and the clatter/As an angel runs to ground Just the bang/And the clatter/As an angel/Hits the ground SONG:Daddy's Gonna Pay For Your Crashed Car You're a precious stone/You're out on your own/You know everyone in the world/But you feel alone A little uptight/You're a baby's fist/Butterfly kisses up and down your wrist SONG:Some Days Are Better Than Others Some days are dry, some days are leaky/Some days come clean, other days are sneaky Some days take less, but most days take more/Some slip through your fingers and onto the floor Some days you're quick, but most days you're speedy/Some days you use more force than is necessary Some days are sulky, some days have a grin/And some days have bouncers and won't let you in Some days you wake up in the army/And some days it's the enemy SONG:Dirty Day I don't know you/And you don't know the half of it They said be careful where you aim/'cause where you aim you just might hit You can hold onto something so tight/You've already lost it You can't even remember/What I'm trying to forget You're looking for explanations/I don't even understand If you need someone to blame/Throw a rock in the air/You'll hit someone guilty Get it right/There's no blood thicker than ink/Hear what I say/Nothing's simple as you think SONG:The Wanderer I went out walking/Through streets paved with gold/Lifted some stones/Saw the skin and bones/Of a city without a soul I stopped outside a church house/Where the citizens like to sit/They say they want the kingdom/But they don't want God in it I passed by a thousand signs/Looking for my own name ALBUM: Single SONG:Kiss me, Kill me, Hold me, Thrill me They don't know what you're doing/Babe it must be art ALBUM:Pop SONG:Discotheque You know your chewing bubblegum/You know what that is/But you still want some SONG:Do You Feel Loved Take the colours of my imagination/Take the scent hanging in the air/Take this tangle of a coversation/And turn it into your own prayer SONG:Staring at the Sun Summer stretching on the grass/Summer dresses pass/In the shade of a willow tree/Creeps a crawling over me I'm not just deaf and dumb/Staring at the sun/Not the only one/Who's happy to go blind I'm not the only one starin' at the sun/Afraid of what you'd find if you took a look inside There's an insect in your ear if you scratch it won't disappear/It's gonna itch and burn and sting/Do you want to see what the scratching brings/ Waves that leave me out of reach/Breaking on your back like a beach.../Will we ever live in peace? 'Cause those that can't do often have to/Those that can't do often have to... preach SONG:Gone Then you discover.../What you thought was freedom is just greed SONG:Miami Weather 'round here choppin' and changin'/Surgery in the air No big deal we know the score/Just back from the video store SONG:If You Wear that Velvet Dress Tonight the moon is playing tricks again/Feeling sea sick again/And the whole world could just dissolve... into a glass of water Tonight the moon has drawn its curtains/It's a private show no one else is going to know It's okay... the struggle for things not to say/I never listened to you anyway/And I got my own hands to pray... Tonight the moon is a mirrorball/Light flickers from across the hall/Who'll catch the star when it falls SONG: Wake Up Dead Man If there's an order in all of this disorder/Is it like a tape recorder?