Planet Ubuntu Nepal

June 27, 2010

Bibek Paudel

England vs Germany

Football is a simple game; 22 men chase a ball for 90 minutes and at the end, the Germans win. The words of Gary Linekar, the famous striker of the English team that lost to Germany in the 1990 World Cup semis.

As arch-rivals England and Germany gear up for the 2nd round match of the 2010 FIFA World Cup match later today, I am also getting a little more excited than usual. In school, I used to be an avid follower of football, reading and watching about the games as much as I could. I remember Oliver Bierhoff’s golden goal in Euro ’96 final and the famous match Germany and England played in the semis. Lately, I have watched only a few matches. Though the English have good players and play well, for some unknown reason, I have never liked their team- and always wanted them to lose. As I root for Germany today, here are some interesting pieces of information I collected for the pre-match consumption.


Games against Germany represent some of the lowest points in England’s 44 years of hurt. Of course England wants to win the World Cup but if we can’t, we at least want to be beat the German: a life-long England supporter in the Deutsche Welle.

The New York Times: “Three World Cups!” the Germans like to cry, gently mocking England’s sole success in the competition, a 4-2 victory over West Germany in extra time in 1966 at London’s Wembley Stadium, and comparing it with Germany’s success in 1954, 1974 and 1990 (all as West Germany, before German reunification). “Two world wars!” has been the English supporters’ response.

The British tabloid has been quick to draw comparisons between the game and the war. The Daily Star writes, GERMANY is set to kick up a Reich stink at the World Cup by playing in Nazi-style black shirts. The German tabloid Bild calls The ‘Daily Star’ headline is just sick. The SS and Fascist groups in Italy and England were known as ‘Black Shirts’. It says, it was the height of poor taste, coming the day after International Holocaust Remembrance Day.

The Independent gets humbler than the tabloids and makes a list of good things about the rivals including the invention of 23-year-old German university student, Paul Nipkow, who thought up the first electromechanical television system in 1884, without which, we would be listening to today’s match on the wireless. Read more in What has Germany ever done for us?

Germans watching the World Cup (source: The Welt)

The BBC reports that a psychic octopus said to have correctly predicted many of Germany’s previous match has predicted a German win in today’s match.

Since ’66 the Germans have always finished at least one stage ahead of England in the World Cup and there was a time, until that amazing 5-1 win in Munich in 2001, when they regularly got the better of us. But you don’t have to be burdened by history; the point is to try to make it… I see it’s the youngest side the Germans have brought to the finals since 1934. (The Independent)

Germans thrive when under pressure. (The Independent)

Germans: Eleven years ago, half our rival’s squad would not qualify as citizens under rules introduced by Kaiser (nice pictures): The Daily Mail

The Daily Mail also writes about how economy will boost if England wins and how people in both countries have stocked beer for the occasion.

In an interesting article, The Daily Mail writes, why do we love to hate them? It can’t just be that deep down we know they’re better than us at football, and particularly at taking penalties? Can it? The piece is aptly titled: Why we still love bashing the Boche: as we face Germany in the World Cup tomorrow, we salute the silly side of our old enemy.

The German and British Prime Ministers to watch the big game together during the G8 summit: The Local

The Guardian writes about “Das Englische Elfmetertrauma“, the famous penalty-shootout duels between Germany and England.

The Bild gives six reasons why the Germans think they will beat England. The Daily Mail has its own set of reasons why England will win.

Classic

The Welt has another interesting photo gallery titled Again and Again against England, with classic pictures from previous matches between the countries.

The Spiegel has a nice photo gallery too.

The Psychological War

According to The Daily Mail, the English FA wanted to book the five-star Hotel Velmore Grande for the Sunday’s game, but Germans were quicker. The Bild said They wanted to pitch up in the Hotel Velmore Grande for the quarter finals but the DfB [German FA] was quicker – and now we are getting ready in the luxury five-star accommodation for victory on Sunday.

Psychological War? Sure. Read ahead.

The man fielded for the pre-match press conference by the German team was Andreas Köpke, the German goalie who saved England’s penalty in the ’96 Euro Cup victory.

The German team recently visited the Lions’ Park in South Africa. The English team are called “The three lions” by the press, in reference to the English Coat of arms. The Welt has a photo gallery of the visit to the Lions’ Park. The Daily mail story also writes in length about it.

The Tabloid War

More World Cup

The Bild: What kind of people don’t watch the world cup ? (with a gallery).

The Telegraph: WAGS arrive in South Africa to back England. (I am of the opinion that England would make a better pop-band than a football team ;) )


Disclaimer:
Traditionally, I’ve been a stronger supporter of Brazil and Italy and a sympathizer of Argentina and Spain. But since many of the players who were the reasons for my support have retired and changed, it’s hard for me to choose a team today :)


by Bibek Paudel at June 27, 2010 10:48 AM

June 24, 2010

Bibek Shrestha

Send mail from command line from specific email address

In an email, from is set in the header. To set FROM in any email sent through the mail command, here is the syntax

echo 'Mail body' | \
mail -s 'this is the email subject' -a 'From: sender@example.com' receiver@example.com

by bibekshrestha at June 24, 2010 05:00 AM

June 17, 2010

888

Install Wowza Media Streaming Server In Debian Lenny


Login to your Debian Lenny box

Edit your sources.list file to install java
#vi /etc/apt/sources.list
Add non-free to the end of the line deb http://ftp.se.debian.org/debian/ lenny main
i.e. the line should look like
deb http://ftp.se.debian.org/debian/ lenny main non-free

Install Java
#apt-get update && apt-get install sun-java6-jre

Download Wowza Media Server using wget
#wget -c http://www.wowzamedia.com/downloads/WowzaMediaServer-2-1-1/WowzaMediaServer-2.1.1.deb.bin

Add execute permission
#chmod +x WowzaMediaServer-2.1.1.deb.bin

Run the installer
#./WowzaMediaServer-2.1.1.deb.bin
(Press Space to read next page of the agreement)
(Type Yes at the end of the agreement)
(The setup will be finished)

Now go to your installed location and run startup.sh
#cd /usr/local/WowzaMediaServer/bin/ && ./startup.sh
paste your license key
Press CTRL+C to stop the server if it is still running and you can't get a prompt.

Now copy your flv video video.flv
#cp /root/video.flv /usr/local/WowzaMediaServer/content/

Goto applications folder and make directory video
#cd /usr/local/WowzaMediaServer/applications && mkdir video

Start the streaming server
#/etc/init.d/WowzaMediaServer start

Now,
In Flash Insert a Flv Playback Component
In its source give the url rtmp://server_ip/video/_definst_/video.flv
Press CTRL+Enter and you are done

by noreply@blogger.com (Techs Palace) at June 17, 2010 02:24 AM

Install Centova Cast On Debian Lenny With Plesk


I assume you have a Debian Lenny system.

Login to the server and change to root by typing
$su
(only if you didn't login as root)

Install this package which helps in compiling
#aptitude install build-essential
Download buildices, this will automatically install ices in our server
#cd /root && 
wget http://www.centova.com/clientdist/ices/buildices-1.0.0.tar.gz

Extract it
#tar xfzv buildices-1.0.0.tar.gz

Go inside the folder
#cd buildices-1.0.0

Add execute permission
#chmod +x ./buildices.sh

Run buildices
#./buildices.sh --proceed

Edit your virtual host configuration file
# vi /var/www/vhosts/your_web_site/conf/vhost.conf
add the following to the file

<Directory /var/www/vhosts/johncarrera.com/httpdocs>
php_admin_value open_basedir none
php_admin_value safe_mode Off
</Directory>
<Directory /var/www/vhosts/johncarrera.com/httpdocs/cast/start>
AllowOverride All
</Directory>

Edit php.ini
#vi /etc/php5/apache2/php.ini
Make sure enable-DL option in php5 ini is turned on

Make sure Safe_mode is turned OFF

Edit cli php.ini
# vi /etc/php5/cli/php.ini
Safe mode should be OFF and enable_DL should be ON

Reload your apache
#/usr/local/psa/admin/sbin/websrvmng -a
#/usr/local/psa/admin/sbin/websrvmng -r
#/etc/init.d/apache2 restart
Download the Centova file
#cd /root && wget https://secure.centova.com/cp/client/index.php?page=download&file=52

Extract it
#tar xzvf centovacast-2.2.3-lin64.tar.gz

Go inside it
#cd centovacast-2.2.3

Make it executable
#chmod u+x install.sh

Run install.sh
#./install.sh

Question: enter the url for centova
http://www.your_web_site.com/cast/

Question : enter the path for centova
/var/www/vhosts/your_web_site/httpdocs/cast/

answer yes to rest of the questions, then finished.

Create a database for Centova then go to

http://www.your_web_site.com/cast/ in your browser and answer questions

Then put the license number into the web interface.

Upload mp3 files to centovacast to be played in this directory /home/centovacast/vhosts/stream_name/var/spool

Now you can listen to your streams by going to:
http://your_web_site.com/cast/start/stream_name/

by noreply@blogger.com (Techs Palace) at June 17, 2010 02:01 AM

Installing Parallels Plesk Panel On Debian Lenny


I asume that you have a clean Debian system with only ssh server installed.

Login to your server

If you have not logged in as root, change to root:
#su

Download Plesk autoinstaller:
#wget http://download1.parallels.com/Plesk/PPP9/Debian5.0/parallels_installer_v3.6.0_build100407.15_os_Debian_5.0_x86_64

Set execute permission on the file you downloaded:
#chmod +x parallels_installer_v3.6.0_build100407.15_os_Debian_5.0_x86_64

Run the Plesk installer:
#./parallels_installer_v3.6.0_build100407.15_os_Debian_5.0_x86_64
Read the messange and press 'n' and 'Enter' to move forward

Choose official Paralels Plesk Panel Update Server as source
(This is the default selection)
Similarly continue with the default and recommended selection.

After installation completes you will be dropped back to your shell.
Now use the web interface to do one time configuration.

Open browser on your computer(Not your Debian server)
Open https://server-ip-address:8443

Your default user name is 'admin' and password is 'setup'
Enter that in the login page

Accept the license agreement in the next page. Also select 'Do not show it again'.

Now on this page,
  • Set your hostname without 'www' prefix. Forexample host.domain.com
  • Set your default IP address
  • Change default password
  • Click 'OK' to go to next page
  • Fill the contact information
Click 'OK'

One time initial configuration is complete.

Now you'll reach Control Panel from where you can manager your overall system.
You can come here any time by opening https://yourserver:8843 in your browser.

For example we'll create one domain for web hosting with ftp support.

  • Go to home->Domains
  • Click create Domain
  • Enter your domain name and also check the box for 'www'
  • Select the IP address of your choice.
  • Choose Default Template
  • Select Web site hosting option
  • Choose a user name and password for managing this domain
  • Click Next
  • Choose a username for FTP user and give it a password different to your other password. (FTP uses clear text password so it is best to use non regular password in any FTP server you use untill and unless its SFTP server i.e. Secure FTP server)
  • Select the necessary quota you want
  • Under web statistics choose web statistics of your choice. Basically it allow you to see your web site visitors record
  • Click Next
  • Choose overuse policy as per requirement
  • Under Expiration date choose as per requirement
  • Click Finish.

Thats it. Now test your domain by opening the website in a browser. The plesk page should come. Now upload your files from ftp and your site is ready.

by noreply@blogger.com (Techs Palace) at June 17, 2010 01:45 AM

June 16, 2010

Bibek Shrestha

Night experiments with my camera

Loadshedding time.
Got my tripod and my Canon Powershot to see what I could get out of it.

 

by bibekshrestha at June 16, 2010 03:05 AM

Innocence

Ma speeeiinngg bhanau?
Malai thaha cha, ma speeeinng bhanau?

Am ee ee an aa
Am ee ee an aa.

Two smallll kids returning from school.

by bibekshrestha at June 16, 2010 03:00 AM

June 13, 2010

Bibek Shrestha

Poking log

Saturday June the 13th 1:17 AM,

Poke,

Ouch,

Haha!!
:(|)

Chameleon

Owl

Telepathic, I get it!!

bed time. me going down under. (offline)

Sigh!!

--

Other form of communication.

by bibekshrestha at June 13, 2010 01:56 AM

June 08, 2010

Bibek Shrestha

There are more fun things to life than work

While I was working impatiently today, a friend of mine sent an email that said:

There are more fun things to life than work as well. so keep alive to enjoy that too!

So I called up a friend, went out for coffee and chit chatted.

Made my day today. I hope it made her's too.

by bibekshrestha at June 08, 2010 07:45 PM

June 04, 2010

888

Reinstall GRUB2 after installing Windows


If you install Windows after installing Linux, windows will erase Linux's GRUB. You have to re-install GRUB which will allow you to boot both Windows and Linux.

Reinstalling GRUB legacy was very easy but now with GRUB2 you have to do little more.

Follow the steps below, you need to know where your '/' (root) partition is. 

Boot your computer from Ubuntu Live CD.
Choose 'Try Live CD'
Once the desktop loads, Open Terminal from Applications menu -> Accessories
Type: sudo  fdisk -l
From here you can figure out your root partition.

Now if your root partition is /dev/sda1 follow the following commands below:
sudo mount /dev/sda1 /mnt
sudo mount --bind /dev /mnt/dev
sudo mount --bind /proc /mnt/proc

Now chroot to /mnt:
sudo chroot /mnt

Now install grub:
grub-install /dev/sda

Now update the grub:
update-grub2

Now you will see the GRUB and can boot between Linux and Windows. If you don't see the Windows option in GRUB menu, open the Linux that is present in GRUB and run the last command of this tutorial.

by noreply@blogger.com (Techs Palace) at June 04, 2010 08:50 AM

June 03, 2010

Ishwor Gurung

busybox for android, posted June 3, 2010

I've just ported and tested stock busybox-1.16.1 for Android. Also ported is the linux tree(1).

Both of these packages are linked statically so are quite fat.

You can download them from my downloage page. Enjoy!

June 03, 2010 02:00 AM