Thunderbird add-on for Italian PEC (Certified Email System)

June 16th, 2011

Roaming the web, I’ve come across a Thunderbird add-on for the Italian PEC - Certified Email System

The Italian PEC has recently promoted as an international standard with the RFC 6109.

The add-on is compliant with the current Italian laws.

The most important feature allows you to click on a message and see directly its content, bypassing the bothering transport envelope.

You can find this add-on on mozilla’s official add-ons site: thunderpec

Links: ThunderPEC website, download page.

Troubles with Skype?

May 27th, 2011

Troubles logging in with Skype? Here’s the solution:

Mac OSX on a NetBook

April 21st, 2010

Here is a comprehensive guide on how to successfully install Mac OSX on various models of Netbooks :-)

Install Mac OSX on Netbook


[Off topic] Iceland volcano

April 20th, 2010

A webcam on the Iceland volcano:

Executing an external program in Python…

November 19th, 2008

There are several ways of executing an external program from Python, but I had
the problem to catch the standard output.

After a while I came to the following solution:

import os

# Executing a shell command
mycmd = "python"
child_stdin, child_stdout, child_stderr = os.popen3(mycmd)

# Reading the output streams
my_output =
my_error =

print "my_output:", my_output
print "my_error:", my_error


Hardened PHP

October 10th, 2008

In a (SUSE) server I’ve got this error message.

ALERT - configured request variable limit exceeded - dropped variable 'XXXX' (attacker 'XX.XX.XX.XX', file 'XXX'), referer: XXX

It looks like it has the “Suhosin Extension” of the Hardened-PHP Project.

So I configured the following variables in my .htaccess file:

php_value suhosin.get.max_vars 500
php_value suhosin.request.max_vars 500
php_value 500

and everything worked fine again.


ObjectiveC on Ubuntu Linux

August 7th, 2008

as I’m about to become an iPhone programmer (another one?), I’ve decided to set up an objective-c environment on my Ubuntu too.

First, I’ve downloaded all the packages for ObjectiveC and GNUstep I’ve found on Synaptic.

Second, I’ve tried to compile a classical Hello World file with gcc. Here’s the code (’Ciao mondo’ stands for ‘Hello world’ in Italian):

#import <Foundation/Foundation.h>

int main(int argc, char* argv[]) {
        NSLog(@"Ciao mondo");
        return 0;

and i saved the source in a file called main.m

After that I’ve tried: gcc main.c -o hello and I soon got the following error message:

main.m:2:34: error: Foundation/Foundation.h: No such file or directory
main.m: In function ‘main’:
main.m:5: error: cannot find interface declaration for ‘NXConstantString’

Read the rest of this entry »

Converting SVG -> PNG with transparent backgrounds

July 29th, 2008

I’ve tried to convert an SVG image with transparent background to a PNG using the Image Magick’s convert command line tool. The result was an image with a white filled background.

After struggling with Yahoo search for about half an hour, I came across to this simple and useful tip:

convert -background none folder.svg folder.png

That’s it! No more white background ;)


Web Development

July 3rd, 2008


PyQt4 Tutorial

June 26th, 2008

PyQt4 is the wrapper for Trolltech’s Qt4 libraries. On the riverbank site you can find the sources and the windows binary; ubuntu seems to ship the binary on the official release, simply look for pyqt in synaptic.

Here is a good PyQt4 tutorial: zetcode

And here another good in Italian: un tutorial facile facile

Anybody knows about the binary on mac? I’ve found something on finkproject: anybody tested it?


Roberto Rocco Angeloni is proudly powered by WordPress
Entries (RSS) and Comments (RSS).

Fatal error: Cannot access protected property ObjectMgr::$_verbose in /web/htdocs/ on line 22