Fake, fake, data-fake read Compound 4 once

It was a pleasant Saturday afternoon, and after adding hours of free work to the company, I suddenly wanted to see a movie, but as a junior engineer, how can I make as much money as those senior engineer s to go to the cinema and spend it?(Officer COS: Movies are reluctant to see. It's so grand, so special!) First let's learn th ...

Added by driverdave on Wed, 15 May 2019 13:14:21 +0300

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

Implementing Picture Preview Component Based on Element UI

This is a simple click preview componentBy the way, record scope pits in vue stepped on during component writing~ Start with registering global components! Project catalogue: Imitate elementUI directory structure, directory name is component name, SRC is component source file (or js service file), there is also an index.js in the file director ...

Added by reddevil on Wed, 15 May 2019 05:40:54 +0300

h5 Game: WEB2048 for Different Size Screens

I. Interface Display and Brief Introduction First completed and then different sizes of screen effects, the interface imitation of the original 2048: (768px < screen) (500px < screen < 768px) (Ultra-small screen less than 500 px) It was expected that the list of games would be on the left and the list on the ...

Added by PurpleMonkey on Wed, 15 May 2019 03:06:21 +0300

Realization Principle of Water Wave Chart

In the project, I used Canvas to realize the water wave chart, and here I will share with you the principle of its implementation. When you first see waves, you may not know where to start. Let's take a look at the characteristics of waves. That's right. Someone will surely think of it as a sine-cosine curve. For small ...

Added by jbloom on Tue, 14 May 2019 23:56:34 +0300

Go Implements Mass Log Collection System (3)

I've reorganized the box for this log collection system, as shown below The overall logic of the code to be implemented this time is: The full code address is: https://github.com/pythonsite/logagent Introduction to etcd Highly available distributed key-value storage for configuring sharing and service discovery Similar projects: zookee ...

Added by laflair13 on Tue, 14 May 2019 23:30:40 +0300

Implementation principle of two main methods of front-end routing

Original Link: https://segmentfault.com/a/1190000007238999 Early routes were implemented on the back end, reload ing pages based on url caused great pressure on the back end as the page became more and more complex. In order to alleviate background pressure and front end user experience, the method of partial refresh of ...

Added by Derokorian on Tue, 14 May 2019 22:28:05 +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

One of the easiest ways to restrict input for Android

Today brings a small Amway in the work, product requirements for user name input need to be limited, can only be digital and alphabetic, symbols, can not contain spaces and keyboard input emoji. Start to get this demand, I think to add an addTextChangedListener to EditText, which makes a variety of judgments on OK! Haha, and can play happily. ...

Added by horizontal on Tue, 14 May 2019 16:39:19 +0300

vue+webpack4 multi-page packaging configuration

vue+webpack4 multi-page packaging configuration There are usually two forms of multi-page configuration, one is multi-page multi-configuration, the other is multi-page single configuration. Because webpack (more than 3.1) can directly process an array of configuration objects, it is possible to write a configuration for each page individually.  ...

Added by ndorfnz on Tue, 14 May 2019 15:24:39 +0300