Tag:sign

  • Lerna — multi package storage management tool (1)

    Time:2021-1-18

    lerna I’ve been watching it recentlyvue-cliIn the source code part of, I noticed that multiple packages were maintained in this warehouse. I was curious about how he managed these packages in a repo. Our group is now using the component library to maintain the business code shared between projects. There are two component libraries, which […]

  • Webpack5 optimization

    Time:2021-1-16

    catalog 1、 Build optimization (compressed code)2、 Long term cache (hash)3、 Persistent cache (incremental build)4、 New features of webpack55、 Summary 1、 Build optimization (compressed code) 1、Tree Shaking (1) Usedexports: true marks variables that are not exported(2) Minimize: true removes useless variables and compresses code 2. Merge module optimization.concatenateModules = true 3. Side effects (1) optimization.sideEffects =Turn […]

  • Map search + POI + marker operation of Gaode map API

    Time:2021-1-15

    use AMap.Autocomplete () automatically complete the plug-in to realize the search function map <span style=”background-color: #f5f5f5; color: #800000;”> *</span><span style=”background-color: #f5f5f5; color: #000000;”>{</span><span style=”background-color: #f5f5f5; color: #ff0000;”>margin</span><span style=”background-color: #f5f5f5; color: #000000;”>:</span><span style=”background-color: #f5f5f5; color: #0000ff;”>0</span><span style=”background-color: #f5f5f5; color: #000000;”>;</span><span style=”background-color: #f5f5f5; color: #ff0000;”>padding</span><span style=”background-color: #f5f5f5; color: #000000;”>:</span><span style=”background-color: #f5f5f5; color: #0000ff;”>0</span><span style=”background-color: #f5f5f5; color: #000000;”>;</span><span […]

  • Hilt, the official new Di Library of Android

    Time:2021-1-10

    Hilt, the official new Di Library of Android Hilt is a newly recommended dependency injection tool for Google AndroidAdded to official document:Dependency injection with HiltAt present, it is alpha release stage Hilt is above dagger. The word “hilt” means: handle, handleCode base or thisgoogle/dagger. The appearance of hilt reminds me of a flash in the […]

  • C language — circular structure 2 (basic part 6)

    Time:2021-1-10

    I haven’t written a blog for a long time. Recently, the project has been basically completed, and my daily study needs to be put on the agenda. Although there is no hope in the future, I’d better move forward with my head down… Don’t go into the topic. Dead cycle Soft crash:CPUoccupy100%, dual core50%The machine […]

  • ThreadX — event flag of IPC application

    Time:2021-1-7

    1、 Application Introduction In the application development of RTOS, event flag is mainly used for event notification between tasks. For example, there are two tasks a and B. task a is responsible for receiving messages, and Task B is responsible for responding to messages. Set when task a receives the messageResponse flagTask B detectedResponse flagIs […]

  • Chrome 87 stable version push, the biggest performance improvement of chrome over the years!

    Time:2021-1-6

    Today, chrome has updated 87 latest version, which is the last chrome update of this year. This version is the biggest performance improvement of chrome in many years, and the developer tools have also been greatly updated. Some users think that the original performance problem of chrome has been criticized for a long time. However, […]

  • Enumeration and bit flags

    Time:2021-1-2

    Enumeration is a data type often used in programs. Using enumeration can make the code more readable, extensible and easier to write. At the same time, enumeration is also a strong type to enhance the robustness of the program. For example, to distinguish colors, when enumeration is not used, a convention may be made: define […]

  • Leetcode 785. Judge bipartite graph | Python

    Time:2020-12-31

    785. Judge bipartite graph Title Source: leetcode https://leetcode-cn.com/problems/is-graph-bipartite subject Given an undirected graphgraphWhen the graph is bipartitetrue。 If we can divide the node set of a graph into two independent subsetsAandBAnd make one of the two nodes of each edge in the graph come fromASet, one fromBLet’s call this graph a bipartite graph. graphIt will […]

  • Chrome 87 stable version push, chrome performance for many years the biggest improvement!

    Time:2020-12-24

    Today, chrome updated 87, the last update of this year. This version is the biggest performance improvement of chrome in many years, and the developer tools have also been greatly updated. Some users think that the performance problem of chrome has been criticized for a long time, but after the new edge came out, the […]

  • VIM advanced – move and jump

    Time:2020-12-23

    I believe you already knowhjklIf you don’t know,Look here。 hjklIt can also be faster! Here I assume (without any bias) that you’re using MacBook, open itSystem Preferences > keyboardTo set the “key repeat” and “delay before repeat” to the fastest. “Key repetition” determines how fast the system will repeat a key when you press it […]

  • Mutex in go concurrent programming

    Time:2020-12-22

    Friendly tips:This article takes about 5 minutes and 45 seconds to read. Please give more advice on the shortcomings. Thank you for your reading.Subscribe to this site We often have concurrent access problems in the design of large projects. Concurrency is to solve the accuracy of data and ensure that the data in the same […]