Understand vuex4 X basic usage and comparison vue3 Difference of X

brief introduction Vuex is Vue JS application state management mode + library. It acts as a centralized storage for all components in the application, and its rules ensure that the state can only be changed in a predictable way. In short, it provides a library of state management, and the change of state is predictable. Status: I person ...

Added by traxy on Sat, 19 Feb 2022 06:11:30 +0200

Detailed interpretation of Detectron2 "quick start" detection tutorial lab notebook

Detectron quick start official Colab Notebook Read the Getting Started section on: 1. Use the pre trained Detectron2 model To download an image, we need to create a detectron2 config, and then create a Default Predictor according to the config for single image reasoning. cfg = get_cfg() # Get Default Config # According to mask_ rcnn_ R_ 50_ ...

Added by plimpton on Sat, 19 Feb 2022 05:59:11 +0200

Basic Java lesson 1

Basics notes Single line comment: / / Multiline comment: / **/ Document notes:/** ​ * ​ */ identifier It refers to a symbol used to identify an entity and the name used by users in programming. It is used to name variables, constants, functions, statement blocks, etc All identifiers should be in letters (AZ, AZ), dollar sign ($), unde ...

Added by jcinsov on Sat, 19 Feb 2022 05:53:06 +0200

Applet learning

Overall knowledge system Main directory file function of applet project project.config.json project configuration file, do some personalized configuration, such as interface color, compilation configuration, etcapp.json is the global configuration of the current applet, including all page paths, interface performance, network timeout, botto ...

Added by Porkie on Sat, 19 Feb 2022 05:34:27 +0200

There are 3 ways to parse Python web pages, which are worth collecting

Generally speaking, when we crawl the whole source code of the web page, we need to analyze the web page. There are three normal analytical methods ① : regular match resolution ② : BeatuifulSoup parsing ③ : lxml parsing Regular match resolution: In the previous study, we learned the basic usage of reptiles, such as / s,/d,/w, *, +,? Ho ...

Added by HDMICable on Sat, 19 Feb 2022 05:29:57 +0200

Web Components series -- realizing the reusability of MyCard

prefaceIn the previous section, the basic layout of MyCard was implemented using Templates, and I also said at the end of the article that because it is not reusable, its practicability is basically zero.Today, we use named Slots to occupy a place in Templates, and then pass values to Slots in custom elements to improve the flexibility of custo ...

Added by premiso on Sat, 19 Feb 2022 05:21:00 +0200

7-PHP code audit -- vulnerability analysis of wordpress plug-in

1. wordpress plug-in vulnerability The security of wordpress itself is relatively perfect. Usually, most of the vulnerabilities in security audit come from the third-party plug-ins installed by wordpress. wordpress does not guarantee the security of these plug-ins, because the third-party plug-ins are written by other developers, and the secur ...

Added by littlejones on Sat, 19 Feb 2022 05:13:09 +0200

In depth understanding of "hash collision attack of PHP arrays" from the perspective of HashTable

Read the blog post "hash collision attack of PHP array" and take this opportunity to learn more about hash table and deepen understanding!Learn from the in-depth understanding and practical exercise of HashTable Original address HashTable concept A definite correspondence h is established between the storage location of the record ...

Added by n8r0x on Sat, 19 Feb 2022 05:10:29 +0200

Six ways to write single case mode

preface Singleton mode is a creation mode. This class is responsible for creating its own objects and ensuring that only a single object is created. This class provides a way to access its unique object, which can be accessed directly without instantiating the object of this class.  1. Lazy style public class SluggardSingleton { ...

Added by FadeOut79 on Sat, 19 Feb 2022 05:09:08 +0200

Byte and bit in java

Byte capacity relationship in java 1TB=1024GB TB It's a trillion 1GB=1024MB GB It's Gigabit 1MB=1024KB MB Is a sign 1KB=1024Byte KB It's kilobytes be careful: Byte The abbreviation is B That is, bytes In actual development, it is inevitable to deal with strings and Byte bytes. Many times, when you debug, you will ...

Added by dagee on Sat, 19 Feb 2022 05:04:38 +0200