Tag:parameter

  • Mybatis parameter processing

    Time:2021-12-30

    Series articles: Getting started with mybatis Mybatis configuration Mybatis get self incrementing primary key Mybatis parameter processing Mybatis returns results Mybatis dynamic SQL Mybatis cache Mybatis load profile Load mapper mapping file Mybatis interface binding principle Mybatis SQL execution Parameter processing Single parameter adopt#{parameter name}Take out the parameter value The interface is defined as follows […]

  • Types of learning in the scenarios of Java business projects

    Time:2021-12-30

    This is to parameterize the type from the original specific type, which is similar to the variable parameters in the method. At this time, the type is also defined as a parameter form (which can be called a type parameter), and then a specific type (type argument) is passed in during use / call.StarpoolAbstract class […]

  • node. JS daily soul question – node FS module of JS & common methods

    Time:2021-12-30

    node. FS module of JS & common methods What is FS??? The FS module is also nodeCore moduleone ofAll andFile related operationsAll of them are implemented through fs} core modulesincludeAdd, delete, modify, check, read and writeAll methods are divided intoSynchronous and asynchronousTwo implementationshavesyncThe suffix issynchronization common method 1. Readfile read file (filename, [options], callback); *The […]

  • Webpack process analysis (1): please help me check the weback cli first

    Time:2021-12-30

    preface The compiler object is a global singleton, which is responsible for controlling the construction process of the whole webpack package.This article will introduce what webpack did before the new compiler Start webpack Usually, we start the webpack in the following way // package.json script: { “start”: “webpack” } webpack/bin functionnpm run startAfter that, you […]

  • Componentization

    Time:2021-12-29

    Componentization 1. How to realize componentization1) First create a shell project.2) Integrate different functional modules and business modules in shell engineering.3) Use cocoapods to manage each module.4) Use jlrouter to manage jumps.5) Manage message distribution using runtime.6) Create middleware to manage the communication and jump between different components such as a, B, C and D. […]

  • Pointcut expression

    Time:2021-12-29

    AOP concept Today, we introduce the expression of pointcut wildcard Common wildcards are as follows .. Meaning 1: any number of parameters in the method expression @Service public class HelloService { public void sayHi(String name) { System.out.println(“hi,” + name); } public void sayHi(String firstName, String lastName) { System.out.println(“hi,” + firstName + lastName); } } @Pointcut(“execution(public […]

  • Installing MySQL 5.7 in homebrew

    Time:2021-12-29

    Installing homebrew https://brew.sh/ brew -v #See if homebrew is available brew doctor Install MySQL 5.7 #Search MySQL version brew search mysql #Installation 5.7 brew install [email protected] #Configure environment variables, as shown in red box 1 below echo ‘export PATH=”/opt/homebrew/opt/[email protected]/bin:$PATH”‘ >> ~/.zshrc #Make configuration effective source ~/.zshrc #Start MySQL service mysql.server start MySQL set password After […]

  • Pandas study notes

    Time:2021-12-29

    1. Display the maximum number of columns pd.set_option(‘display.max_columns’, 80) 2. Display the total number of rows df.shape[0] len(df) 3. View data type df.dtypes 4. Get unique and its number df[‘A’].unique() len(df[‘A’].unique()) 5. Remove all Nan rows df.dropna(how=’all’) 6. Remove all Nan columns df.dropna(axis=1, how=’all’) 7. Fill with the value of the previous row and limit […]

  • Built in instructions in vuejs

    Time:2021-12-28

    1. Basic instruction 1.1、v-cloak v- ­ Cloak function: solve the instructions that cause the page to flash due to slow initialization. In short, prevent Vue when the page is loaded JS. This instruction is usually used in combination with display: none. (1) Usage of v-cloak: <head> <meta charset=”UTF-8″> <title>Document</title> <style> [v-cloak] { display: none; // […]

  • Hadoop-3.1. 3 (V) spring boot integrated HDFS operation

    Time:2021-12-28

    Configuration environment I don’t use the unpacked package corresponding to the Hadoop version downloaded and installed directly on the Hadoop official website. I use winutils master. The whole size of the package is only about 6m. It provides support for Hadoop on windows. 3 X above 3.0 0 is OK. You can search winutils master […]

  • X-gorgon algorithm parameter acquisition (Python version, with source code)

    Time:2021-12-28

    Yesterday, when searching the x-gorgon algorithm, I saw that an old brother wrote better. I forgot the specific website. I’m afraid I won’t find it next time, so I sent it here and made some changes The code is only for learning and discussion 1 # -*- coding: utf-8 -*- 2 “”” 3 x-gorgon encryption […]

  • [front end · interview] HTTP summary (V) — get and post

    Time:2021-12-28

    Recently, I’m doing a front-end interview question summary series. Interested friends can add attention. Welcome to correct and communicate. Try to sum up each knowledge point more, at least in the interview, you can talk about each knowledge point without being dumb. preface In the process of front-end and back-end interaction, the most frequently used […]