Search
It passes

My posts, unless otherwise expressly stated, are licensed under a Creative Commons Attribution-Share Alike 2.5 Italy License.
This is just a short reminder for me and a note for you: this one-liner might be helpful if you need to write a little script for splitting a long MPG file in shorter parts without quality loss (this example cuts from 40th minute to 1 hour). ffmpeg -sameq -ab 256k -vcodec copy -acodec ac3 [...]
My Sony Ericsson U10i Aino is able to join a Wi-Fi network and then export its file system using CIFS, so on my Ubuntu side I was able to mount it (and then rsync it, of course) with the following one-liner: mount.cifs //$PHONE_IP/Memory\ Stick /mnt -o password=fake
This is just a short reminder for me and a note for you: having recently remastered a CentOS, this one-liner might be helpful to properly create the small bootable ISO. genisoimage -o $(date +’%H%M’).iso -b isolinux/isolinux.bin \ -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table ./
A few days ago, Slashdot pointed out that the massive computers of the top investment banks failed their World Cup predictions: we are talking about firms like Danske Bank, Goldman Sachs, JP Morgan and UBS. Now everyone on Earth knows that an octopus correctly predicted six eight matches in a row. Hire that beast or [...]
Counting out a well known 3D science fiction movie, though it’s 9 minutes in length, Time Lapse Across America is the most interesting film I’ve seen in the just ended first half of 2010: it’s a coast to coast trip made with pictures taken every 15 seconds. It might recall your last trip in the [...]
Having chosen to convert a bunch of long URLs using bit.ly, I slightly modified and packaged in a simple PHP5 class the code written by David Walsh. The following is an example of usage of this class: $mbit = new BitlyWalsh($login, $apiKey); echo $mbit->getShort($yourLongUrl); // echo $mbit->getLong($bitlyShortUrl); You can download here this basic class.
I spent most of the last two days helping my mother after her cataract surgery so only yesterday evening I noticed the statement of our friend Carl-Henric Svanberg: as everyboby knows, he said that “We (BP) care about the small people”. Was it just a weak sentence of a non mother-tongue speaker? Perhaps, but even [...]
I’ve written a short PHP script that outputs what I call “the Google spelling” :) a 26 words list of the most frequent words/phrases taken from Google Suggest. You can also pass the language to it, so the today’s (2010-06-07) English list is amazon bank of america craigslist dictionary ebay facebook gmail hotmail imdb jet [...]
The HP Compaq LA2405wg is a 24” TFT monitor that works at 1900×1200: I use it as the external monitor of my new notebook (ASUS UL30A). Ubuntu 10.04 Lucid doesn’t have a xorg.conf file: it tried to get the correct resolution on the fly but it wasn’t able to guess the right resolution for the [...]
This is just a short reminder for me and a note for you: it seems that jQuery Datepicker is not able to handle Date object as a value for minDate or maxDate parameters, at least when the jQuery object is called in the constructor of a ZendX_JQuery_Form_Element_DatePicker object: strings like ‘-1′ work fine, though.