Author Archive

Backup Mysql Database on remote FTP Server

Monday, June 20th, 2011

Here a simple script to backup all your mysql database on a remote FTP server. The script weekly overwrite the backup so you have full backup of your DBs for the last 6 days and your FTP server doesn't run out of space. #!/bin/sh   BACKUP="/path/to/temp/dir/$$"   DAY=$(date +"%a")   ### MySQL Setup ### MUSER="root" [...]

WordPress + Nginx + Cache – Automatically purge cache

Tuesday, October 5th, 2010

I've just published a new WordPress plugin that allow you to control NGINX cache. You ca download it here. More details and info are coming. If you are using it and you have whatever kind of problem or want to suggest something just leave a comment. To make this plugin works you must install  ngx_cache_purge [...]

SVN External with different username

Tuesday, December 29th, 2009

Today I had to add and SVN external project to my wordpress based project, nothing strange but the fact that the external project (NextGen Gallery) is hosted on Google Code and the authentication is different from my main repository. After a bit of search I've found that you can specify the user for external resource [...]

An illustrated guide to eight ways to kill an idea

Saturday, December 19th, 2009

Monday first in MovableType calendar

Sunday, February 1st, 2009

When you display a calendar in Movabletype using tags from Calendar's set you get a calendar with Sunday as first day of the week. In many countries (like Italy) weeks start on Monday, so, I needed to change this beahvior. I thought I could change something in the "Settings" panel or in the Config file [...]

Custom thumbnails for NGG galleries

Friday, January 9th, 2009

[NB] This feature will be available in NGG 1.2 You can already test it by checking out the trunck version from here This is a small extension for NextGen Gallery, it allow you to specify which area NGG must use to generate the the thumbnail. Quite often the thumbnails generated by NGG do not show [...]

Snow

Monday, January 5th, 2009

Get back Insert media button in WPMU

Tuesday, November 4th, 2008

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. Download it here

Yes !