180626-Spring Design a Simple Access Counter with Redis
Links to articles: https://liuyueyi.github.io/hexblog/2018/06/26/180626-Spring Designs a Simple Access Counter with Redis/
Spring Design a Simple Access Counter with Redis
Why do you want to make an access count? Previous personal blogs used divination operators to do site visits counting, which is good, but the response is very slow, followed ...
Added by Axcelcius on Wed, 15 May 2019 07:21:53 +0300
Introduction of AspNetCore Limit Middleware
IpRateLimitMiddleware(Github: AspNetCoreRateLimit ) is a stream-limiting middleware for ASPNETCore that controls how often clients invoke APIs. If clients frequently access the server, it can limit its frequency and reduce the pressure of accessing the server.Or if a crawler is crawling critical data, you can limit the number of ca ...
Added by dapuxter on Tue, 14 May 2019 20:08:52 +0300
Quick Use of vue+webpack
First, there are two ways to use vue:
1. Download vue.js
<script src="vue.js"></script>
2. use npm
npm install vue
2. On the basis of vue's mvc idea, there will be many functions to be realized, which can be written without being native. For example, ajax requests, various plug-ins.
Install vue-cli to enable these ...
Added by eddjc on Tue, 14 May 2019 16:14:53 +0300
Spring5-Processor handlers
The central point of the Spring Web application is the Dispatcher Servlet (see more details) Spring 5 Source Parsing-On the Life Cycle of Spring Dispatcher Servlet ).This is the central entry for all incoming requests.But if we don't, we can't do anything without a lot of handlers.
First of all, in this article, we'll start by explaining ...
Added by sara_kovai on Tue, 14 May 2019 15:12:36 +0300
Dedecmsv5.7 Integrates ueditor image upload with watermarking
The latest project is to redevelop dedecms v5.7. The uploaded pictures are required to be watermarked. Baidu ueditor Editor does not support automatic watermarking. So, I have found a lot of data to integrate and record, and the specific effect map.
I'm not going to carefully write dedecms v5.7 to integrate ueditor editor.
1. Open the confi ...
Added by sareejoh on Sun, 12 May 2019 13:44:43 +0300
Python Notes-Python 3 Realizes Timing and Automatically Submitting Questionnaire Star Questionnaire
The general contents are as follows:
Using Fiddler to capture packets, the data packets transmitted by click-submit are analyzed; (Key)
Climb the IP address published by the free proxy IP website (e.g. Sissi proxy) and construct the IP address pool;
Refer to the User Agent package of the fake_useragent library to get the ran ...
Added by lordgreg on Sun, 12 May 2019 09:36:57 +0300