Talk about jQuery

Recently, I have been studying the jQuery source code. At the beginning, I saw that the source code was confused. I really calm down and look at the writing carefully, which makes you feel the beauty of the code. It has clear structure, high cohesion, low coupling, excellent performance and convenie ...

Posted on Fri, 17 Jan 2020 01:32:39 -0500 by InO

vue learning notes

vue basic instructions v-if ,v-else, v-show,v-else-if v-for v-text v-html v-on v-model v-bind v-pre v-cloak v-once v-if ,v-else, v-show,v-else-if The if logic example of v-if similar to js is as follows, which will be displayed only when isLogin is true v-else-if, v-else and v-if must be used tog ...

Posted on Fri, 17 Jan 2020 01:21:58 -0500 by gid

Use of LocalStorage and EssionStorage and JSON conversion

Application of Web Storage Functions: Web Storge enables applications to save program data on the client while the client is running, turning the browser into a real "program running environment" instead of a simple "interface rendering tool" Storage interface: Session Storag ...

Posted on Thu, 16 Jan 2020 21:54:36 -0500 by jc_ply

python crawler -- [Baidu knows] auto answer

The first python crawler project I did. I just started to learn it. If there are any mistakes, point out that it's OK Baidu knows how to answer questions automatically function Visit Baidu Knows , we will see a lot of new questions. In fact, many of the questions have been explained or ready-made ...

Posted on Thu, 16 Jan 2020 10:52:03 -0500 by vombomin

So fragrant log dynamic level and output, are you sure not to come in and have a look? ——Dynamic input log level and file of production environment

This article is a series, welcome to update This article is full of energy. Please be prepared before eating. Please remember to like it after reading. Preface In the last article, we discussed the performance of the log and the advantages and disadvantages of the log. A friend said that I didn't have any dry goods, so I decided to have a dry ...

Posted on Thu, 16 Jan 2020 08:30:01 -0500 by strangermaster

What happened to one of Pigeon's call clients

Pigeon is the RPC framework of meituan reviews, which involves many modules, service registration discovery, load balancing, routing, disaster recovery, failover, message transmission, etc. to understand the implementation mechanism of these modules, first of all, we need to find a starting point. As an ...

Posted on Thu, 16 Jan 2020 08:18:00 -0500 by jimmayhugh

XML summary -- XML parsing

Article directory XML analysis 1, XML parsing 1. DOM parsing 2. SAX parsing 3. Dom4j parsing xml XML analysis 1, XML parsing There are two ways to parse XML: dom and sax dom:(Document Object Model), a way to process XML sax:(Simple API for XML) is not an official standard, but it is a ...

Posted on Thu, 16 Jan 2020 08:03:00 -0500 by stovellp

Start and end of thread

1, Thread creation 1.Oracle official website description There are two ways to create a new thread of execution. One is to declare a class to be a subclass of Thread. This subclass should override the run method of class Thread. An instance of the subclass can then be allocated and started. The othe ...

Posted on Thu, 16 Jan 2020 06:05:17 -0500 by echoindia756

Reader web author publishing times statistics crawler

The first is: Manually constructing the url of each journal according to the law Crawl twice. After the first crawl, de duplicate (set) and initialize the result set. After the second crawl, query and count in the result set Convert the result set to a list and sort the dictionaries (equivalent to the data set) as a whole according to the times ...

Posted on Thu, 16 Jan 2020 03:15:10 -0500 by FoTo50

Filter&&Listener of JavaWeb

Filter: filter 1. Concept: * Filter in life: water purifier,Air purifier, bandit * web Filter in: when accessing the server's resources, the filter can intercept the request and complete some special functions. * Function of filter: * Generally used to complete general operations. For example: lo ...

Posted on Thu, 16 Jan 2020 02:12:26 -0500 by manamino