How to Install Redis on Mac by Homebrew / Source?

How to Install Redis on Mac by Homebrew / Source?

Generally, there are two ways to install Redis on Mac: install Redis on Mac by using Homebrew command, and install Redis on Mac from Source. Let’s dive into how to Install Redis on Mac. How to Install Redis on Mac by Homebrew Homebrew is the easiest way to install Redis on macOS. This is the … Read more

How to Update PHP from PHP 7.x to PHP 7.4 on CentOS 7?

Here is the way how I upgrade the PHP from PHP 7.3 to PHP 7.4 on CentOS. The first and most important thing is to backup snapshot of your server before updating PHP Currently, PHP had updated to Current Stable PHP 8.1.13, however, there are many WordPress website-run environments are still keep using PHP 7.3. … Read more

How to fix “yup validation one of two fields required…”

When using Ractjs to develop a project, I got a problem “yup validation one of two fields required”, here is the solution to the error Yup validate either one of two fields is required… Solutions to Yup validation one of two fields required There are a few solutions to the Yup validation with two fields … Read more

Dive into Spring MVC @ModelAttribute Annotation

Dive into Spring MVC @ModelAttribute Annotation

In Spring MVC, the @ModelAttribute annotation can be applied to methods or method parameters. The @ModelAttribute method is usually used to fill in some public required attributes or data, such as several preset states of a drop-down list, several types of pets, or to obtain a command object required for HTML form rendering. A method … Read more

How to Upload Images to Cloudinary in Node.js Projects?

As we mentioned in the previous post, we usually store the uploaded image on some storage servers, such as AWS S3, and Cloudinary… However, wow to upload images to Cloudinary in Node.js projects? By the way, Cloudinary also with a free forever solution for developers, it is NO credit card required. It includes: 25k Monthly Transformations … Read more