This is a really simple plugin I always add to my default installation of WPMU. Nowadays embedded media are really commons in blog’s post and all my customers were asking for it.
I found the plugin “Allow Embedded Videos” (http://wpmudev.org/project/Allow-Embedded-Videos) but still the button in the editor didn’t show up.
Well, the festival still have to “grow” … In Arezzo was something else, but I’m sure next year will already better. We were there mainly for the Chemical Brothers but we also got some other cool artists like Bugo and Sud Sound System.
We also went at the Elettrowave, the electronic side of the festival. The location couldn’t be better: an old fortress by the sea !
See you next year Livorno !
PS : Someone told me that the tower of the “Fortezza Vecchia” in Livorno is taller than the tower of Pisa. Is it true ?

Yesterday I went up to Chiasso directly after work, there I met Sma and we went together to Lugano to see Marcus Miller playing at Estivaljazz 2008.
Great show, we also managed to sit in front of the stage. The clarinet/saxophone player on the left was my hero, he was moving like a spring while blowing like hell and was the only one who could compete with Miller. Alex Han his name, and 20 his age !
So, if you pass by Lugano the first weekend of July don’t forget about the EstivalJazz !
PS: As usual I didn’t have any camera with me. I took the picture from Flickr, here the complete gallery » -
In my development machine i wanted to have a specific vHost for each project.
Something that would allow me to type URL like:
http://wordpress-test1.lan/
or
http://phpmyadmin.lan/
I started to set for each one a vHost in Apache but after a while I’ve found myself with too many vHost file.
So I started to search for a more easy and fast way, and here it is:
Note: you need to install Apache mod_rewrite to make things work.
Preamble:
Let’s say we want to install a test/demo version of Wordpress and access it from the URL http://wp-test.lan/
1) We download and untar Wordpress in /var/www/wp-test/
2) We tell our machine to resolve the domain wp-test.lan with the IP 127.0.0.1. To make this we add a line to our hosts file.
hpatoio@namazu:~$sudo su -
[sudo] password for hpatoio:
root@namazu:~#echo “127.0.0.1 wp-test.lan” >> /etc/hosts
root@namazu:~#exit
hpatoio@namazu:~$
3) Now we have to change Apache config.
Open /etc/apache2/sites-anabled/000-default with your favorite editor and add these lines inside the <VirtualHost *> directive.
RewriteEngine on
RewriteCond %{HTTP_HOST} ^([^.]+)\.lan$
RewriteRule ^(.+)$ /%1$1
Basically :
4) Restart Apache
hpatoio@namazu:~$sudo /etc/init.d/apache2 restart
Now if open your browser and you point it to the URL http://wp-test.lan/ you should see the WP installation page. Right ?
It has to start somewhere,
it has to start sometime !
Which better place than here ?
Which better time than now ?

Like the last 4 years, few days ago, I was in Clusone for the Estate di S.Martino, I love this village and the feeling you get during the happening. Lovely wine, traditional food and true friends … need more to be happy ?
If the next year you wanna come mark this site: www.bandabidu.org.
If you have access on the machine with MySQL and you need to export all tables in a database you can use:
mysqldump -uroot -p DATABASE_NAME -T ‘/home/simone/export_csv’ –fields-terminated-by “,” –fields-enclosed-by ‘”‘ –lines-terminated-by “\n”
the script will create a files for each table of the DB and will place it in export_csv.
If you need to export a custom resultset or you need to export data from a remote MySQL server on your machine you can use this command :
mysql -uroot -h HOSTNAME -p DATABASE_NAME -B -e “select field1,field2 … fieldX from \`TABLE_NAME\`;” | sed ’s/\t/”,”/g;s/^/”/;s/$/”/;s/\n//g’ > my_export.csv
Amazing online tool to convert MDB Microsoft Access file to MySQL SQL scripts !
Check it out -> http://www.mdb2mysql.com/