Install MySQL server with Docker Compose
Inside a new directory, create a data directory and docker-compose.yml with these rows: To start the container, run docker-compose up -d. To stop & remove the container, run docker-compose down. […]
Inside a new directory, create a data directory and docker-compose.yml with these rows: To start the container, run docker-compose up -d. To stop & remove the container, run docker-compose down. […]
After a recent Ubuntu update, I get this error. What finally helped was putting to the file /etc/environment: LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 For some reason, it was missing. The outputs for […]
Perl is sometime called by a *nix script and, after an update I get recently this warning message (in particular when I run apt or npm command): perl: warning: Setting […]
I need to query multiple collections to prepare a MongoDB document and then save it using Mongoose and NodeJS. The solution is to use async.parallel I have two source collections, […]
I would like to log log4j2 messages into a relational database using the datasource defined on application context and initialized using spring using log4j 2.10. One possibility is to add […]
After a recent update of mySql, I get this warning: WARN: Establishing SSL connection without server’s identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL […]
One simply way to convert a Long time stamp into a formatted string is (time paramter is Long timestamp): Date date = new Date(time); Format format = new SimpleDateFormat("yyyy MM […]
Let’s suppose I need to search all records that match a date condition. On MongoDB I’ve a bunch of data like this: { "_id" : "9ed3b937-0f43-4613-bd58-cb739a8c5bf6", "userModels" : { "5080" […]
Uno degli interrogativi più importanti di tutte le rivoluzioni industriali a cui l’umanità ha assistito è: ’innovazione porta o toglie occupazione? Personalmente ritengo che molto più semplicemente la cambi. Cambiano […]
«Non vedo un rischio di disoccupazione maggiore provocato dalle tecnologie, il saldo non sarà negativo», spiega ancora l’economista Ocse che però vede una minaccia nell’aumento delle diseguaglianze – «sia come […]