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.
Tags: Certified Email System, PEC, Posta Elettronica Certificata, RFC 6109, Thunderbird
Posted in PEC - Certified Email System | No Comments »
May 27th, 2011
Troubles logging in with Skype? Here’s the solution: http://u.bb/CKL
Posted in General | No Comments »
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
Enjoy,
Rob.
Posted in General | No Comments »
April 20th, 2010
A webcam on the Iceland volcano: http://e3b4e99b.zxxo.net
Posted in Offtopic | No Comments »
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 mycode.py"
child_stdin, child_stdout, child_stderr = os.popen3(mycmd)
# Reading the output streams
my_output = child_stdout.read()
my_error = child_stderr.read()
print "my_output:", my_output
print "my_error:", my_error
Enjoy,
Rob.
Posted in Python | No Comments »
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 suhosin.post.max_vars 500
and everything worked fine again.
Enjoy,
Rob.
Tags: php apache2 suhosin
Posted in PHP | No Comments »
August 7th, 2008
Hi,
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 »
Tags: GNUstep, ObjectiveC
Posted in Linux, ObjectiveC, Ubuntu | 1 Comment »
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
Enjoy
Tags: Icons, Image Magick, Linux, PNG, SVG
Posted in Linux | No Comments »
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?
Regards,
Rob.
Tags: Linux, PyQt, PyQt4, Python, Ubuntu, Windows
Posted in Linux, Python, Ubuntu | No Comments »