mercoledì 17 novembre 2010

PDF password set

From itext lowgie libraries you can set password for accessing to pdf.

<code type="java">
try {
PdfReader reader = new PdfReader("C:\\temp\\a.pdf");
PdfStamper stamper = new PdfStamper(reader,new
FileOutputStream("C:\\temp\\aEncrypted1.pdf"));
stamper.setEncryption(
"Ciao".getBytes(), "Mondo".getBytes(),
PdfWriter.AllowPrinting | PdfWriter.AllowCopy,
PdfWriter.STRENGTH40BITS);
stamper.close();
} catch(Exception e) {
}
</code>

domenica 14 novembre 2010

New Eclipse Plugin for cloud in Windows Azure

Create a php application in eclipse, ready for Windows Azure cloud platfrom

in riferimento a: Windows Azure Tools for Eclipse (visualizza su Google Sidewiki)

mercoledì 3 novembre 2010

Determine Oracle DB Version

To determine the running oracle version
execute the following sql stmt :

select * from v$version where banner like 'Oracle%';