Tag:method

  • Spring MVC request processing. Your answer is guaranteed to pass the interview!

    Time:2021-5-9

    The spring version used in this article is 5.2.2.release Nine components Almost all the functions of spring MVC are completed by nine components, so it is very important to understand the role of the nine components for learning spring MVC. /**File upload parser*/ private MultipartResolver multipartResolver; /**Region parser for Internationalization*/ private LocaleResolver localeResolver; /**Topic parser*/ […]

  • New features of interview question ES6 (detailed)

    Time:2021-5-9

    There are many new contents in ES6, and they are often used in development. With various Babel transformations, most companies in the market are developing with ES6 syntax. JavaScriptIt’s said that Netscape companyBrendan EichDashen designed it in 10 days. Leaving aside the topic of designing a programming language in a short time, no language is […]

  • Introduction to the core concepts of Python object oriented programming

    Time:2021-5-9

    The text and pictures of this article are from the Internet, only for learning and communication, and do not have any commercial use. If you have any questions, please contact us in time. The following article comes from the Tao of immeasurable testing, author: the Tao of immeasurable testing   The core concepts of object-oriented […]

  • Springboot annotation Description:

    Time:2021-5-9

    Basic annotation in springboot @Spring bootapplication annotation Any project has an entry. In the springboot boot boot class, you need to have @ springbootapplication annotation for contempt, and define a main method in the class. The main method will read the configuration file, load the specified resources, and then initializeTherefore: when the spring boot project […]

  • Tsinghua Xueba! Explain java interface with 18 lines of code, programmer: really powerful, learned

    Time:2021-5-9

    The last one shared “the role of the final keyword in Java and Java abstract classes”. First of all, I’d like to say sorry to you. Originally, I planned to update this article “java interface and the relationship between Java classes”. However, there are a little more knowledge points about Java interface, and I will […]

  • Clear the log file being written (qbit)

    Time:2021-5-9

    Test environment of this paper Ubuntu 20.04 MongoDB 4.4 command >Mongod.log # recommendation true >mongod.log echo >mongod.log echo “”>mongod.log truncate -s 0 mongod.log cat /dev/null > mongod.log cp /dev/null mongod.log dd if=/dev/null of=mongod.log These methods can also be used for emptyingtomcatOfcatalina.out This article comes fromqbit snap

  • How to get the time of regular meeting from outlook( (to be solved)

    Time:2021-5-8

    Background: Use microsoft.office.interop.outlook to get calendar items, and then filter them according to business requirements.   Phenomenon:     If it’s a regular meeting, use appointment item.start/end to get the regular meetingInitial meetingIt’s time. For example, this meeting has been repeated for four times. Starting from the second meeting, the achievements are still the initial […]

  • Proxy mode: lazy loading of third-party libraries such as ecarts in Vue

    Time:2021-5-8

    1. Basic knowledge (1) Agency model Let’s start with a simple example. As shown in the code //Note: if you are running the program in node environment, please install node fetch // const fetch=require(‘node-fetch’) //Request data according to keyword function request(keyword=”){ return new Promise((resolve,reject)=>{ fetch(`http://example.com/data/${keyword}`) .then(response=> { resolve(response.json()) }) }) } //Main procedure async function […]

  • Introduction to Objective-C

    Time:2021-5-8

    1、 Introduction to Objective-C Objective-objective-c is a strict superset of C language any C language program can directly pass through the Objective-C compiler without modification, and it is completely legal to use C language code in Objective-C. Objective-C is described as a thin layer over C language, because the original intention of Objective-C is to […]

  • Tear JS by hand (may be updated continuously)

    Time:2021-5-7

       some common ways to implement JS are frequently asked questions in the interview, and may be at a loss at the beginning. Knowing and understanding the principles can be more like a duck to water in daily development, and it is not a problem to face an interview. In addition, learn to take the […]

  • Principle and practice of spark connector writer

    Time:2021-5-7

    stayPrinciple and practice of spark connector readerIn, we mentioned that spark connector is a data connector of spark, which can be used to read and write external data system. Spark connector includes two parts: reader and writer. This paper mainly describes how to use spark connector to write Nebula graph data. Spark connector writer principle […]

  • LeetCode 1195

    Time:2021-5-7

    Portal: https://leetcode-cn.com/probl…It’s hard to understand. One method is one thread, which should keep four threads printing in order. Make complaints about the code.List the four line programsThe thread will follow thefizz – buzz – fizzbuzz – number – fizzJudge each number in turn. The four threads are executed in order, but the multithreading is not […]