Friday, October 7, 2011

The first mobile phone was invented in 1973

First mobile phone invented
The first mobile phone was invented in 1973
By the American researcher, Martin Cooper, now 83 years old. "The very first mobile phone weighed over a kilo and the battery charge did not exceed 20 minutes, which was also really good because you could not hold this thing for a long time, "recalled yesterday the former researcher at Motorola.

"We made a revolution with this phone. Before, we called somewhere and today call somebody, "he further said at the 31st International Conference of data protection and privacy. The phones today are too complex with too many applications and gadgets, he said.

"Every time we create a universal tool doing all sorts of different things, it doesn't perform one single thing neatly," said the experienced researcher. He also said that the future would be made of "a number of specialized tools that focus on one single thing to improve our lives."

In recent years, the modern tool of remote communication has experienced different stages of improvement and now provides several options like using it to search for data on the Internet and specialists promise more "improvements" yet.

Sunday, October 2, 2011

Install Xampp on Ubuntu

How to easily install Xampp on Ubuntu
Remember Xampp is a Lamp (Linux, Apache, MySQL, PHP) environement ideal for developement, not suitable for production sites for security reasons. But it comes really handy to start developping right from start.
This install Xampp on Ubuntu comes with all the packages you need


First go to the oficial donwload page:

I've downloaded the latest version Xampp Linux 1.7.7:

This file is downloaded in my Desktop folder, do not extract the file, leave just the way it is.


Now you need to log in as the system administrator root, open the console and type:

cd Desktop 

sudo -s

Extract the downloaded file to /opt

tar xvfz xampp-linux-1.7.7.tar.gz -C /opt

That's it, XAMPP is now installed in the /opt/lampp directory.

3 .Solve the httdocs permission problem

When you try to copy and paste your files to the httdocs directory you get a permission error, sol ve it with:

sudo chmod 777 -R /opt/lampp/htdocs/

4. Lunch Xampp

Now launch xampp with:

/opt/lampp/lampp start

check that everything works, open your browser and type:

Ah, it works!

5. Add your web sites to Xampp

Now to add your web sites go to :

mkdir /opt/lampp/htdocs/my-web-site-1
mkdir /opt/lampp/htdocs/my-web-site-2
mkdir /opt/lampp/htdocs/my-web-site-3

Before copying your files, run again:
sudo chmod 777 -R /opt/lampp/htdocs/

Now you can copy your own files there, then you can navigate to them by typing in your browser:

To see database browse to:

To stop Xampp:
/opt/lampp/lampp stop

If you want to uninstall Xampp on Ubuntu
To uninstall XAMPP just type in this command:

rm -rf /opt/lampp

do you?

Download videos from Youtube with Ubuntu

To download Youtube videos with Ubuntu you need to install youtube-dl. It is a program that works on the command line to download videos from Youtube.

This will download public videos from Youtube, to donwload protected videos you can change the parameters on the command line to youtube-dl -u myuser -p mypassword, your Youtube access data.
So, to donwload Youtube public videos with Ubuntu.
Open the console and type:

sudo apt-get youtube-dl
sudo youtube-dl --update
sudo youtube-dl

Change the youtube url to the video you want to donwload
This will donwload the video 74EuLyppow.mp4 to your computer

The command update is very important as you will get the latest version of this program with the latest fix.
It works perfectly for me :)