Welcome to Davide Airaghi's website ! 

In this website you'll find some information about me, some tips&tricks and some software i worked on.

 

Davide Airaghi

Docker: Update all the images

If you want to pull and update all the images you have so far downloaded (and are still present on your system) using docker you can execute the following command: for IMAGE in $( LANG=en docker image ls -a --format table | grep -v -E "^REPOSITORY"…

Continue reading...
Davide Airaghi

Docker - ricerca immagine contenente un layer

Può essere utile, dato l'identificativo di un layer, andare a cercare in quali immagini esso è usato. Per questa semplice operazione è possibile utilizzare lo script docker-find-layer-image riportato qui di seguito. #!/bin/bashLAYER=$1if [ "$LAYER" = "" ]; then echo "" echo "Layer not given as…

Continue reading...
Davide Airaghi

Walking Light

Walking in low light situations it may be necessary to make yourself more visible, for this reason a flashing light (with a color of your choice between 3 shades) can be really useful With "Walking Light" you have at your disposal a simple and intuitive…

Continue reading...
Davide Airaghi

Luce da Passeggio

Camminando in situazioni di scarsa illuminazione può essere necessario rendersi maggiormente visibili, per questo avere qualcosa di semplice da usare che produca una luce ben visibile e lampeggiante può rivelarsi davvero utile. Da questa esigenza nasce Luce da Passeggio, una applicazione per Android che prevede:…

Continue reading...
Davide Airaghi

openSuse: Apache modules management from shell

To manage Apache Httpd on openSuse we have the classic command a2enmod, shared with many other distros, which allows to: 1) know if a module is enabled, 2) enable a module and 3) disable a module.

To extend what already present in a2enmod i have written a simple wrapper to a2enmod in order to have mote functionalities: 1) get the list of every module available on the system, 2) get the list of every module enabled, 3) check if a module has been enabled or not, 4) enable one or more modules and 5) disable one or more module.

Continue reading...