Enterprise Section - --- Web Page Compression under nginx

Experimental environment We write index.html in/usr/local/nginx/html on a virtual machine with nginx configured. We can access the web successfully and the size of the web page is more than 200 k configuration file Nginx compresses web pages and needs to modify niginx's configuration file.Let's fi ...

Added by flash-genie on Tue, 30 Jul 2019 20:44:14 +0300

Splay Learning Notes

Previous remarks HZ people seem to have learnt Splay, and the lecturers often say Splay, so do the gods of our school. Every time they say Splay, I say that I won't be too embarrassed. After learning Splay, I really feel that it is a very beautiful data structure. Summary Pre-cheese: Binary Search Tree A binary sorting tree is either an empty t ...

Added by Banacek on Tue, 30 Jul 2019 19:08:18 +0300

Introduction to Lombok usage (common annotations)

Catalog @Data @NonNull @Getter & @Setter @ToString @EqualsAndHashCode @NoArgsConstructor, @RequiredArgsConstructor, @AllArgsConstructor lombok It is a very magical java class library. It can use annotations to automatically generate annoying Getter s and Sett ...

Added by IgglePiggle on Tue, 30 Jul 2019 18:14:00 +0300

BZOJ 2157 Tourism (Tree Chain Division)

Topic link: https://www.lydsy.com/JudgeOnline/problem.php?id=2157 This question gives us a boundary right, so we need to convert it into a point right. Topic Requirements Operation: 1. Query the sum of all bridge pleasure values between u and V in scenic spots. 2. Query the maximum value of brid ...

Added by Petran76 on Tue, 30 Jul 2019 10:20:50 +0300

Building Blog Websites from Zero Based on SpringBook - Adding Column Creation, Modification and Deletation Functions

Watch Blog is a function that supports the creation of columns, that is, a series of related articles can be archived into columns, to facilitate user management and access to articles. Here we mainly explain the creation, modification and deletion of columns. As for the columns, there are other functions involved, such as attention columns, wh ...

Added by BillyBoB on Tue, 30 Jul 2019 08:43:50 +0300

summernote's solution for uploading pictures to the image server (springboot was successful)

Problems encountered with successful connection but denial of login Premise to say, I configure the reverse proxy of nginx on my own server, so I will write my ip address directly when requesting. To configure nginx, you can see my notes of nginx. When the code feels okay, but it still can't be uploaded, first ask yourself if you have been refu ...

Added by RClapham on Tue, 30 Jul 2019 05:47:16 +0300

2019 HDOJ Multi-University Training Contest Stage 3

Today it's very autistic...Continue Pot+. Title Link: http://acm.hdu.edu.cn/contests/contest_show.php?cid=850 A: Convex hull + interval dp. B: Graph Thesis. C: Spot division.For a reference blog: https://www.cnblogs.com/uid001/p/11266021.html D: Title maximum minimum, obviously two points. Set each answer to x, how can I determin ...

Added by Ollie Saunders on Mon, 29 Jul 2019 19:49:44 +0300

Learning Java Architecture Design Patterns from the Beginning 3: Prototype Patterns

Prototype pattern - A prototype instance specifies the type of object created and creates new objects by copying these prototypes. The caller does not need to know any creation details and does not call the constructor! It belongs to the creation mode. It does not create other objects by new, but by using existing objects in memory as template ...

Added by dimitris on Mon, 29 Jul 2019 15:43:56 +0300

Polymorphism of Three Characteristics of OPP

I. THE CONCEPT OF POLYMORPHISM 1. What is polymorphism? A thing has a variety of forms, that is, to face the various states of the object. Official Interpretation: Multiple different classes of objects can respond to the same method and produce different results It is emphasized that polymorphism is not a special grammar, but a state and ch ...

Added by Ph0enix on Mon, 29 Jul 2019 15:39:21 +0300

Polymorphism of Object-Oriented Foundation

polymorphic Concept: A thing has many different forms. For example, water is solid and gaseous. Bumblebee: Autobots, Cars, Airplanes Official Interpretation: Multiple different classes of objects can respond to the same method and produce different results First of all, it is emphasized that polymorphism is not a special grammar, but a state, a ...

Added by Banacek on Mon, 29 Jul 2019 13:56:32 +0300