MySQL 5.7 Reset Root Password

The most simple way to reset the root password of MySQL 5.7 on CentOS 7

Golang self-signed certificate

The simplest way to create a self-signed certificate with Go:

or ecdsa 10 years duration

Angular multipart/formdata

You would like to upload or post something not as an application/json but as a multipart/formdata.

It’s pretty simple, simpler than you would’ve thought 🙂

1. create the FormData instance

then you can use .set or .append methods to add values to the post body of the FormData.

and finally we upload it or send it away, rather.

if we have a file upload and would like to be notified about upload progress

when we subscribe to this, we have several events happening.