Posted in english, programming on May 21st, 2010
I recently made an helper class to download a file from the web and save it to the file sytem while updating a ProgressDialog to let the user know the percentage of the download made. This class has the responsibility to manage the network communication and to send messages to the UI to update the [...]
Read Full Post »
Posted in programming on Dec 14th, 2009
I've implemented a port-knocking client implementation in PHP inspired by the knockd C implementation made by Judd Vinet.
You can can download it at this page.
If you don't know what port knocking is, it can briefly described as a way of surreptitiously offering services on a server without advertising the fact. By delivering a special sequence [...]
Read Full Post »
Posted in english, programming on Jan 17th, 2009
Yesterday I was googling to find the algorithm to covert a netmask (in the dotted decimal format like 255.255.255.0) in corresponding cidr to manage a database migration, but I can't find it. So I wrote it in PHP.
The following function takes a valid netmask in the dotted decimal format as a string in input and [...]
Read Full Post »
Posted in family, hardware on Jan 27th, 2007
Sono ormai tre mesi che ho traslocato, ma solo da poco ho finito di camblare casa: ogni stanza ha almeno una presa di rete (il mio studio ne ha due) e ho posizionato nello sgabuzzino il centro stella dove ho installato il router ADSL, lo switch e il file server.
Mentre ultimavo il montaggio del [...]
Read Full Post »
Posted in programming on Jan 20th, 2007
Uno dei limiti che avevo su piattaforma Mac OS X nel mio lavoro quotidiano era di non poter montare directory remote via ssh integrandole nel file system del mio MacBook. Spesso mi serve questa possibilità per fare il deploy di applicazioni web su server remoti che per ragioni di sicurezza permettono l'accesso solo via ssh. [...]
Read Full Post »