Latest posts
92 articles
Insert text from a file recursively using sed
To add some context, my goal here was to insert a copyright statement at the start of each PHP file present in my working directory. I knew how to replace the content of a file with the sed utility, so I first started to look for a way to read input from a file. It appears that the GNU version of…
The Unconditional Basic Income could be a solution to end poverty and ensure a decent life to everyone. We have to be enough asking The European Commission for them to consider that option seriously.
Please help make pressure on UN and South Sudan neighbours to protect the people of South Sudan from genocide.
Linux: display images type and size in command line
Front-end developers probably often need to verify the properties of some images like their type or their dimensions. To avoid firing Gimp or similar software just for a quick look, GNU/Linux distributions1 offer as usual handy tools like identify, coming from the ImageMagick suite. You can of…
Apache: enable HTTPS
To enable HTTP Secure (HTTPS) on Apache, we first enable the modules called mod_ssl and mod_socache_shmcb in the main Apache configuration file, located at /etc/httpd/conf/httpd.conf: We include SSL own configuration file: In this file, we also set a document root (or keep the default path…