Archive for aprile, 2007
The worst Captcha EVER !!!!!
Sometime things are so badly made that it seems a joke…
Here I am , asking myself why mldonkey doesn’t load a local ipfilter if its download fails. So I went on their forums to ask and since I’ve never done that I had to register first …. I found no solutions but a I got myself a new question : Am I visually impaired or plain stupid?



Buona Pasqua
Kiss WordPress Upgrade Script
Description
This is a KISS ( Keep It Simple Stupid ) script to backup and upgrade to the latest version your wordpress blog.You will need a shell / ssh to run this script ( tested on standard linux bash ).
Features
- No configuration needed
- Full Database Backup
- Full blog root backup excluding the backup directory
- Automagic blog upgrade
- Easily written and hence easily adaptable
Installation
open a shell and “cd” to your wordpress blog root path ( the one that contains wp-admin directory or wp-config.php for example)
wget http://www.lucagasperini.com/wpautoupgrade.sh
chmod u+x wpautoupgrade.sh
Usage
open a shell and “cd” to your wordpress blog root path
sh wpautoupgrade.sh
Now point your browser to http://www.example.com/wp-admin/upgrade.php
Restore
I have an idea for doing things the KISS way but no time for now so you have to do things manually . The backup performed is standard so you can simply follow the codex.
Notes
- Two different backups are made , content and sql table, they are stored in /pathtoblog/backup.
- To download your blog backup file point your browser to http://www.example.com/backup/files.tar.gz.
- To download your sql table backup point your browser to http://www.example.com/backup/sql.gz
- All backups are kept and are not backed-up ( buckups don’t contain older backups). This mean that over time the backup directory can potentially become huge.Check it and delete older ones
- I didn’t want this script to call the upgrade.php autamatically cause it means no feedback at all.
- If you don’t have a standard wordpress install don’t use this script. For example if you use a Debian package to install wordpress this script won’t work because the deb has been debianized and all config have been moved to /etc/wordpress rather than standard /blogroot
- If it doesn’t work is your fault
Italian anti-Microsoft Terrorism
aka: Google hates Microsoft or Google loves me?
Weird …..the page rank misteries.
A few weeks ago I wrote a post concerning how much vista is expansive compared to computers shipped with linux where you just pay the hardware and you get a bunch of good free software.
Nowadays when you go to a computer shop you find a lot of laptops with big “Ready for Vista” stickers so i called my article “Get Ready for Windows Vista” that is in italian “Preparati a Windows Vista”, just for the sake of joking .
It happens that if you search for “Preparati per Windows Vista” instead of seeing results from shops, newspapers, magazines that actually talk about getting ready for vista you see the first result from Microsoft and the second one is from my blog where I actually tell people that buying Vista is stupid, expensive and in the case you still want it I left there a link to a financial institute that make loans and I called it “Preparati a Windows Vista”.
Here you are , “Get Ready for” or “Preparati a ” Windows Vista” using google.
P.S. What happens when you don’t know this stuff and you look for “Get ready for Linux”? And mostly “How the hell is possible?”
The Shield
Martedì è reiniziato The Shield con la sesta serie .
Negli episodi precedenti il detective Kavanough aveva messo alle strette con delle indagini la squadra di Vick e anticipo che nella sesta serie lo si vedrà ancora.
Sei serie sono tante , [spoiler]in 24 alla sesta serie succede che Jack Bauer viene liberato dopo due anni di torture dei cinesi , demolito e piene di cicatrici, di la a 20 minuti corre dietro ad un terrorista ovvero i cinesi non son capaci a far torture. [/spoiler]The Shield rimane un po più coi piedi per terra… quelli che vengono sparati muoiono e quelli che vengono torturati bene che gli vada zoppicano.
Pensando a The Shield mi vengono in mente una serie di telefilm buonisti all’italiana come le saghe infinite su Carabinieri , Polizia , Vigili Urbani (della 3) , Guardia di Finanza e ultimamente pure della Guardia Costiera. Ma a chi piace vedere poliziotti onesti nei film?Non è meglio avere un poliziotto bastardo come Vick piuttosto che “quella gran brava persona” che è Nino Frassica ma che fondamentalmente non è capace di usare una pistola e fa risolvere tutti i suoi casi ad un prete in bici? …solo in Italia un prete con la faccia da santo (poverino che bon che l’è ) puo andare in prima serata
Io voglio vedere quelli sporchi….
Delle belle strade
Strada della morte in Bolivia




Strada Siberiana per Yakutsk



The Sound of RAM
I just read a crazy article and I wanted to try it. Here’s how you can enconde in ogg the sound of your machine’s RAM.
To listen it:
sudo cat /dev/mem >> /dev/audio
To record it:
sudo cat /dev/mem | oggenc -rq 1 -o mem.ogg -
Here’s mine
I used ogg2mp3 in portage for the transcoding.
Original aricle: mogrify » Blog Archive » 33 seconds of RAM


