fastDFS Distributed File System Setup

Overview of fastDFS _FastDFS is an open source, lightweight, distributed file system, which manages files, including file storage, file synchronization, file access (file upload, file download), etc. It solves the problems of mass storage and load balancing.It is especially suitable for online services with files as carriers, such as photo al ...

Added by binarynomad on Tue, 07 Jan 2020 20:38:33 +0200

Source code interpretation of React useEffect

Preface The interpretation of the source code is helpful to understand what Hooks has done. If you think useEffect is "magic", this article may help you. This blog is limited in length. It only looks at useEffect and tries to be simple and clear. It will take you to the depth of React Hooks Find the source code of Hook (you can jump d ...

Added by jl5501 on Tue, 07 Jan 2020 15:49:05 +0200

Use async validator to verify forms in React

There is no doubt that form validation in react is tedious, especially for dynamically added or deleted forms, its validation logic is more complex. At present, the UI framework uses material ui, but its form processing is not ideal. Then, another UI framework ant design is studied. Its processing of forms greatly facilitates t ...

Added by aiikcmo on Tue, 07 Jan 2020 01:15:11 +0200

Qt customize borderless Widget, Dialog and MessageBox

The article mainly refers to the one go, two three li big blog https://blog.csdn.net/liang19890820/article/details/50557240 , some modifications and upgrades have been made.    if you need to make a more beautiful form interface, it is very necessary to implement the frameless widget. In this paper, some common contr ...

Added by galayman on Mon, 06 Jan 2020 08:54:44 +0200

Compiling google libyuv so Library

libyuv is Google's Open-Source Library for conversion, rotation and scaling between YUV and RGB. It supports compiling and execution on Windows, Linux, Mac, and other platforms, x86, x64, arm architectures, and SIMD instruction acceleration such as SSE, AVX, NEON. download Download address: https://code.google.com/p/libyuv/ ...

Added by DimeDropper on Sun, 05 Jan 2020 14:22:57 +0200

I used Python to make a pork data analysis map for my friend, and the results were *

And find out how much he takes me as a brother The story goes like this:   I went to a pancake shop happily .     ​   Looking up, the two brothers raised their prices again   Sigh, you really can't eat meat burgers anymore   Order two scones and a bowl of wonton   Near the end of the meal, I received a letter from my friend Adong   Adong ...

Added by wrequed on Sun, 05 Jan 2020 07:53:42 +0200

[Series] How does Go parse JSON data?

Summary Recently, I fell into a demand pit and just climbed up. There was a serious problem with the evaluation schedule. The following three pictures are very in line with my mood at that time. Talk about needs Estimate Schedule Start drying Why is this so? Here's a brief summary: Dock with third party. Docking across teams. For the first ...

Added by cdjsjoe on Sat, 04 Jan 2020 17:59:27 +0200

Installation and deployment of Redis under Linux CentOS + Construction of Redis pseudo cluster

redis Download: http://download.redis.io/releases/redis-4.0.10.tar.gz Decompress, compile and install //Extract to local directory # tar -xvf redis-4.0.10.tar.gz -C /usr/local/ //Navigate to the unzip directory # cd /usr/local/redis-4.0.10/ //Perform compilation and installation, PREFIX must be uppercase # make install ...

Added by Smackie on Fri, 03 Jan 2020 16:06:31 +0200

DelegatingFilterProxy of spring framework

Note: the analysis version is spring framework-4.3. X, and the source code can be downloaded on Github 1. Class inheritance diagram Previous picture Figure 1 class inheritance diagram of DelegatingFilterProxy DelegatingFilterProxy just inherits GenericFilterBean directly, as follows     List-1 public class DelegatingFilterProxy extends ...

Added by Elizabeth on Fri, 03 Jan 2020 14:38:56 +0200

This article takes you to understand that the OAuth2 protocol integrates with Spring Security OAuth2!

OAuth 2.0 authorization protocol that allows third-party applications to access restricted HTTP resources, like the OAuth 2.0 authorization framework, which is commonly used when people use Github and Google accounts to log on to other systems. The following is the authorization page diagram of the Coding system using Github accounts: There a ...

Added by holiks on Fri, 03 Jan 2020 04:04:36 +0200