Costruire un archivio con PHAR per farne una copia statica, o usare il dbms?
Mi è stato chiesto di fare una versione statica di una parte di sito (una sottocartella), così ho preso wget e scaricato i file (wget -nc -r http://host.domain/directory). La parte in questione è una applicazione PHP/MySql che usa mod_rewrite, così il numero di file è effettivamente molto alto. Ora il problema sarebbe quello di gestire […]
Rimuovere un virus da wordpress
Little tool spot (php to UML)
This is my little endorsement to this tool http://tech.motion-twin.com/php_php2xmi.html really usefull to extract uml from an existing PHP project. In GNU/Linux system (actually Bsd world too) there is at least Umbrello which read and write XMI format. I am not expert of MS Windows world I just tryed googling it, I found this: http://www.altova.com/umodel/xmi.html . Umodel is 149$ […]
Twitter Insecure by Design
It happens I have a new identity … no, someone has my credential or such for using my twitter account. Twitter does not reply, there is no team that can fix it. Problem with twitter is that it is insecure by design. You indicate an email address and confirm it, at registation time, or whenever […]
PayPal SEPA o no
visto: https://cms.paypal.com/it/cgi-bin/?cmd=_render-content&content_ID=ua/upcoming_policies_full&locale.x=it_IT SEPA (Single Euro Payment Area) a parte, le tariffe sulle transazioni paypal sono differenti nel caso i fondi provengano da carta di credito, e nel caso provengano da trasferimento bancario. Me ne accorgo solamente ora. Negli e-commerce siamo abituati ad aggiungere una riga per le tasse, nel caso il cliente scelga di pagare […]
Runyourjs drupal module
Commissione europea e open standard … source … cosa?
Punto informatico (http://punto-informatico.it/3839217/PI/News/ue-open-che-fa-risparmiare.aspx) and theinquirer.net (http://www.theinquirer.net/inquirer/news/2277311/european-commission-foresees-eur11bn-savings-from-open-standards) talks about an direction approved by European Commission on adoption of open standars, then later, they use open source, as synonimous. Some time ago I had an argue in linkedin during which I sustained that public administration should adopt opensource software because it is open and cheap, a microsoft supporter […]
Unesco World Heritage List
Ok, following https://mapping.withgoogle.com/course I can not find a good export of unesco world heritage sites, interested in Italy. first step is to download xml format (http://whc.unesco.org/en/list/xml/), use an online service to translate to csv (http://xmlgrid.net/xml2text.html), save it (download), then transform from dos to unix, import in libreoffice calc (google docs does not work), saved as ods format, […]