News
How to setup Docker container with legacy PHP 5.6 and Xdebug
PHP 5.6 is currently outdated and no more supported, but sometimes, in real World, you could be forced to setup and debug legacy projects that works with outdated technologies.
Split, reduce and convert PDF to JPEG using PHP ImageMagick
During these days I’m working on a PHP project based on manipulation of PDF files uploaded by users. Documents must be truncated, splitted to images, quality reducted, etc.
Quickly setup HTTPS on PHP Apache2 Docker container with self-signed SSL certificate
I often use local Docker images for development reasons, and sometimes, I need to implement features that only works in HTTPS environment: i.e. JWT Bearer token.
Hello World: l'origine dell'esempio per eccellenza
Chiunque abbia mai avuto il piacere o il dispiacere, a seconda dei casi, di trovarsi alle prese con un linguaggio di programmazione, saprà già a cosa si riferiscono queste due parole.
Continous deploying via FTP of Hugo-based Website with Github Actions
UPDATE 2020-05-01: Some weeks after this post was published, SamKirkland released version 3 of FTP-Deploy-Action. So I updated code snippets. Old version of this post is available on archive.is.
How to add Iubenda prior blocking of cookie scripts to Hugo Disqus shortcode
In recent days, I worked to convert my Wordpress-based personal website to a static blog created using Hugo framework. The result of this conversion is the blog you are reading at the moment. I made this decision because I was bored to continously update and take care of a complete Wordpress instance with the purpose of keep online a simple personal blog. But this is another story…
Perché la Net Neutrality ci riguarda tutti?
Il prossimo 14 Dicembre la U.S. Federal Communications Commission, ente che regolamenta il traffico Internet negli Stati Uniti, deciderà se abolire o meno il principio della Neutralità della rete (conosciuto come Net Neutrality). La decisione non riguarda solo la regolamentazione negli USA ma, ovviamente, le ripercussioni saranno di livello globale.
La responsabilità di dire “No”
Lo scorso 4 novembre, durante la ScotlandPHP Conference 2017, ho avuto il piacere di assistere ad un inspirato intervento di Adam Culp sul tema dello sviluppo di codice pulito. Ho trovato tale intervento particolarmente interessante perché, se pur ribadendo concetti che tutti gli addetti ai lavori conoscono (o dovrebbero conoscere), Adam ha voluto porre l’accento sull’aspetto professionale della questione e sulle responsabilità dei soggetti coinvolti.