Tag:code

  • Like heroicons? Here’s an excellent heroicon for ❤️ Vue.js component!

    Time:2021-5-9

    An open source high quality SVGs Vue component icon library free of charge using MIT open source protocol! 100% no other project dependency 100% compatible with vue.js installed by CDN preface I like heroicons very much, because the design is really exquisite. At first it was fromhttps://heroicons.dev/Website directly get SVG code written to the project, […]

  • How to use air to overload code automatically

    Time:2021-5-9

    Air can monitor the code of the project in real time, and automatically recompile and execute after the code changes Install air (Windows) (1) , inhttps://github.com/cosmtrek/air/releasesYou can download the air at, put it into the bin directory under the go installation directory, and rename it toair.exe (2) In the windows command window, you can also […]

  • 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*/ […]

  • Operators of [Java basics]

    Time:2021-5-9

    Operator concept A symbol for operations between constants and variables Classification of operators Arithmetic operator assignment operator relational operator (comparison operator) logical operator bitwise operator ternary operator Arithmetic operator +There are many meanings in Java 1. As a positive number + 5, monocular operator a + + binocular operator a + B, ternary operator a? […]

  • Process control of go language foundation

    Time:2021-5-9

    Process control is an important part of the control logic direction and execution order of each programming language. Process control can be said to be the “Meridian” of a language. The most commonly used process control in go language areifandfor, andswitchandgotoIt is mainly a structure to simplify the code and reduce the duplication of code. […]

  • Custom UDF function vector_ Trans: traverse two arrays and turn them into target vector arrays (xgboost model)

    Time:2021-5-9

    vector_ Development and optimization of trans UDF function 1、 Background Under the group data mining project, user portrait project needs to develop some basic tags, such as age, gender, marital status, car ownership, house ownership, assets, etc. These tags can not simply use the data under the group as the final evaluation result, because the […]

  • Using connected react router and Redux thunk to get through react route isolation

    Time:2021-5-9

    redux In our development process, many times, we need to let components share some data. Although data sharing can be realized through component transfer, if there is no parent-child relationship between components, data transfer is very troublesome, and it is easy to reduce the readability of code. At this time, we need a state management […]

  • The principle of Mini Pack

    Time:2021-5-9

    The article first appeared on my bloghttps://github.com/mcuking/bl… Please refer to the source codehttps://github.com/mcuking/bl… This paper mainly describes how to implement a front-end application packer similar to webpack step by step. The essence of webpack In essence, webpack is a static module bundler for modern JavaScript applications. When webpack processes an application, it recursively builds a […]

  • Angularjs custom directive

    Time:2021-5-9

    (after editing this article, I found that the content of this article should belong to the advanced level of angularjs. There are a few examples of laziness, using the official demo and adding some comments. I’m sorry.). The previous article introduced various commonly used angularjs built-in directives and corresponding code examples. In this article, let’s […]

  • How does eclipse extract and encapsulate a piece of code?

    Time:2021-5-9

    When developing eclipse, if you don’t extract the program, you need to modify it everywhere, which is extremely inconvenient and prone to errors. After encapsulation, extraction is different. It can be called and modified. It is very simple and convenient. How to extract? Now let’s take a look at the detailed tutorial. Software name: Official […]

  • Hello IDEA

    Time:2021-5-9

    Scala-SBT First, install the scala plug-in. SBT plug-in is available by default in version 13 + Create a new project and select the scala project mode based on SBT Next, choose JDK and SBT, Scala version Click Finish to generate the following code structure diagram: whereThe build. SBT file is similar to Maven’s POM. XMLIn […]

  • Less nesting rule

    Time:2021-5-9

    describeIt is a set of CSS properties that allow the properties of one class to be used for another class and contain the class name as its property. In less, you can use class or ID selectors to declare mixins in the same way as CSS styles. It can store multiple values and can be […]