Every good Java programmer should know and use a build automation tool like Maven or Gradle. Associated with one of these tools there is always a good repository from which the artifacts are downloaded and included automatically in the project. Probably the most important repository for artifacts is Maven Central But what if you want…
Author: Edoardo
Let your code live forever
Update – July 2020 Github recently added a badge on Github profiles that contributed to the code vault. You can find it on your account main page under the personal information. How many repositories of yours have been put into the code vault??? Svalbard, an awesome place at the end of the world, where time…
Awesome things to do with a VPS
You bought a VPS and you want to boost it? Here is an interesting list of things you can do! Publish your personal website (blog or your CV). Apache and WordPress is a perfect duo. Setup a mail server with Dovecot and Postfix (part1, part2). Access your mail from browser using Roundcube Run a private…
[SOLVED] Commit failed on Gitlab – Disable (or enable) pipelines
If you are using Gitlab you have already experienced that commits will “fail” with no reason. This is due to the automatic enabling of pipelines for continuous integration and delivery (CI/CD). This is what happens when you create a new repository: This is what happens when you push the first commit: So, if you want…
DELETE all tables in a database using MySQL
HP printer and scanner on Linux
Checkout hplip installation on Ubuntu 20.04 I think that HP devices like printers and scanners are very good products, well designed and easy to use. Anyway, if you are a Linux user, you could have some problems to install the vendor software. Here is a simple guide to install all the drivers. First of all…
VPS, DNS and Apache: how to create a subdomain for a new web service
If you bought a VPS and you are now running your website, maybe you want also to install a new self-hosted web service like a cloud server to store your data. For example, you would like to run Nextcloud but actually you don’t know how to setup the environment and how to be able to…
Hide Apache and PHP version
Sometimes,ย the most easy way for an hacker to exploit your server is just to know the version of the web server that you are running on your machine. The first thing to do when you setup for example Apache, is to hide this information. In fact, the default setting is to show all the…
Remove link from HTML with CSS
This is a simple work-around to remove actions and links from a link tag without replacing the inner HTML code. For example it can be useful if you are trying to edit a CMS template like a WordPress or Joomla template. These lines of code will do the work easily: .the-outer-container a{ โpointer-events: none; โcolor:…
PostgreSQL date/time tips
I know, editing date/time fileds in a database is not easy and sometimes we don’t use good techniques to do it because of the difficulty. In some of my projects I had to manage timestamp, so, I would like to share some useful tips. Split a timestamp into two elements: SELECT d[1] AS date, d[2]…