Nginx-Web Service Configuration and Testing

(1) Introduction of softwareDeveloped by lgor Sysove, a Russian, for open source software.Supporting high concurrency: Supporting tens of thousands of concurrent connections (especially static small file business environments) Less resource consumption: Opening 10 Nginx threads under 30,000 concurrent connections consumes less than 200 M of ...

Posted on Mon, 19 Aug 2019 21:09:14 -0700 by d-Pixie

Cookies and localStorage

Distinction and Practice of Local Storage, Cook and Session Storage 1. Cookie cookies. Its size limit is about 4KB, invented by Lou Montulli, a former employee of Netscape in March 1993. Its main purpose is to save login information, such as you can see "remember passwords" when you log into a website market, which is usually achieve ...

Posted on Mon, 19 Aug 2019 20:15:32 -0700 by supinum

java basic learning 9(final, Abstract class, interface)

final A class cannot be inherited when the final keyword modifies it A function cannot be overridden when the final keyword modifies it A basic data member variable cannot be modified when the final keyword modifies it A reference type variable cann ...

Posted on Mon, 19 Aug 2019 19:32:32 -0700 by xander85

Spring Security Resolution - Authorization Process

Spring Security Resolution (1) - Authorization Process _When learning Spring Cloud, when you encounter the content related to the authorized service oauth, you always have a half-knowledge, so you decide to first learn and collate the content, principles and design related to Spring Security, Spring Security Oauth2 and other privileges, certif ...

Posted on Mon, 19 Aug 2019 19:21:08 -0700 by pixelgirl

Java Socket: Network Socket for Pigeon Biography

In ancient times, due to the inconvenience of communication, some smart people made use of the advantages of pigeons flying faster and recognizing directions to domesticate them for the transmission of messages - also known as "pigeon biography".In Java, a network Socket plays the same role. A Socket is an abstraction layer through ...

Posted on Mon, 19 Aug 2019 18:42:11 -0700 by CrazeD

Initial understanding of jQuery and use of common API s

Target of this note Can tell what jQuery is Ability to tell the advantages of jQuery Can tell the difference between a JQuery object and a DOM object Ability to use common jQuery API s such as jQuery selectors, filter selectors, and jQuery filteri ...

Posted on Mon, 19 Aug 2019 18:23:01 -0700 by jorley

Spring Boot Unified Exceptions are handled and parsed like this, isn't it?

Abnormal Speech "To cross the glacier of the Yellow River, we will travel all over the world with snow." No matter in life or in the computer world, there will inevitably be an exception. Last article RESTful API returns uniform JSON data format Explains the handling of uniform returns, which is a normal situation for requests; this a ...

Posted on Mon, 19 Aug 2019 17:50:09 -0700 by thewitt

Use Decorator to Check User Operating Rights

Suppose we use flask for development, we need to check whether the current user has some operational privileges. from flask import abort from flask_login import current_user from .models import Permission Let's start with the simplest case. f is an operation function, such as adding comments. Then users need Permission.COMMENT to add comments.T ...

Posted on Mon, 19 Aug 2019 07:08:37 -0700 by mazzzzz

2. Spring Security Custom User Authentication Process

Custom landing page: Create a simple login.html landing page under the static folder <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Sign in</title> </head> <body> <h2&g ...

Posted on Mon, 19 Aug 2019 06:59:38 -0700 by wallabee

Some Basic Programming Problems of PHP

Preface Some basic programming questions of PHP have been sorted out. Often doing such questions can consolidate their own foundation, exercise their logical thinking ability, and may also be used in written interviews. Among these questions, the author has met in the written examination. I think the main purpose of this paper is to examine you ...

Posted on Mon, 19 Aug 2019 05:03:23 -0700 by gazever