Sometimes Linux screws u up and getting out of it is real fun,provided ur willing to see outputs u dont want to and all night sleep off .
ha ha ! yeah thats what i did last night.And all i was trying to do was to watch a movie in linux :)
It was FC5 full installation and it still didnt have a mediaplayer.So i had downloaded all the VLC XINE WINE mplayer , mpg123 mpg321 and 2 more packages.I was dead sure one of these was going to install and i was going to watch some movies.
And also yesterday we tried a small hack at expect and i was trying to write a script that could automatically login in to a server transfer files through ftp and logout by itself.
And we tried shell script but interactive mode was impossible hence someone said EXPECT was good ! so we tried a little hack.
and the code read like this
#!/usr/bin/expect -f
spawn ftp $remote_server
expect "username:"
send "$my_user_id\r"
expect "password:"
send "$my_password\r"
expect "ftp>"
send "bin\r"
expect "ftp>"
send "prompt\r"
expect "ftp>"
send "mget *\r"
expect "ftp>"
.
send "bye\r"
expect eof
and when finished jus execute it by bash$ expect -f filename
and its all done :) .
The time was 2Am and i sat down to install mediaplayer and i relaised all of them went down :(.Then i tried putting in wine and execting and it still wasnt playing. Then i realised it is possible to simply include the media files to a plugin manager .
and the time now was :) 5am hmm what do i do now.nothin! jus shut down the pc.
taggy --
Here is a tale ….
His name was Fleming, and he was a poor Scottish farmer. One day, while trying to make a living for his family, he heard a cry for help coming from a nearby bog. He dropped his tools and ran to the bog.
There, mired to his waist in black muck, was a terrified boy, screaming and struggling to free himself. Farmer Fleming saved the lad from what could have been a slow and terrifying death.
The next day, a fancy carriage pulled up to the Scotsman’s sparse surroundings An elegantly dressed nobleman stepped out and introduced himself as the father of the boy Farmer Fleming had saved.
“I want to repay you,” said the nobleman. “You saved my son’s life.”
“No, I can’t accept payment for what I did,” the Scottish farmer replied waving off the offer. At that moment, the farmer’s own son came to the door of the family hovel.
“Is that your son?” the nobleman asked.
“Yes,” the farmer replied proudly.
“I’ll make you a deal. Let me provide him with the level of education my own son will enjoy. If the lad is anything like his father, he’ll no doubt grow to be a man we both will be proud of.” And that he did.
Farmer Fleming’s son attended the very best schools and in time, graduated from St. Mary’s Hospital Medical School in London, and went on to become known throughout the world as the noted Sir Alexander Fleming, the discoverer of Penicillin.
Years afterward, the same nobleman’s son who was saved from the bog was stricken with pneumonia.
What saved his life this time? Penicillin.
The name of the nobleman? Lord Randolph Churchill. His son’s name?
Sir Winston Churchill.
Someone once said: What goes around comes around.
Work like you don’t need the money.
Love like you’ve never been hurt.
Dance like nobody’s watching.
Sing like nobody’s listening.
Live like it’s Heaven on Earth.


