vue 3 learning notes -- Usage and principle of provide and inject
props and emit are usually used when transmitting data between parent and child components. props is used when transmitting data from parent to child. If a parent component transmits data to a child component, it needs to be transmitted to the child component first, and then to the child component. If multiple child components or multiple child ...
Posted by sklein99 on Thu, 25 Nov 2021 20:09:07 -0800
shell learning notes network operation example
From Chapter 5 of Linux Shell script introduction, a mess? No such thing!
Parsing website data
$ lynx -dump -nolist http://www.johntorres.net/BoxOfficefemaleList.html |grep -o "Rank-.*" | sed -e 's/ *Rank-\([0-9]*\) *\(.*\)/\1\t\2/' | sort -nk 1 > actresslist.txt
1 Keira Knightley
2 Natalie Portman
3 Monica Bellucci
The website is ...
Posted by CavemanUK on Thu, 25 Nov 2021 19:58:18 -0800
PM2 one click, multiple servers deploy and publish Node.js project at the same time!
1, Usage scenarioWhen deploying and publishing the node.js project, SSH is often used to connect multiple servers respectively. For each server, the latest git pull code should be executed to compile and start the application. The operation is trivial and easy to forget some of them. pm2 can solve this problem. It can be completed automatically ...
Posted by sandthipe on Thu, 25 Nov 2021 19:58:41 -0800
Ten thousand words liver goods | super complete summary, Linux commonly used disk commands and file commands!
catalogue 1. Knowledge introduction
2. The production process of linux operating system
3. linux advantages
4. linux architecture
5. linux kernel and distribution
6. File system and directory structure
7. Terminal and common commands
8. Disk command
9. File command
10. Other common commands
11. Case explanation1. Knowledge introductio ...
Posted by rushenas on Thu, 25 Nov 2021 19:46:00 -0800
Container actual combat | take you to deploy Ceph cluster
Reading guideAs an open source distributed file system, CEPH can easily expand the storage capacity to more than PB and has good performance. CEPH provides three storage modes: object storage, block storage and file system. If you don't want to spend time installing CEPH, you can deploy CEPH clusters through CEPH docker. One advantage of deploy ...
Posted by kdreg on Thu, 25 Nov 2021 19:26:13 -0800
PHP CS fixer, which automatically modifies the code style
start
Recently watching The way of PHP , see Code style guide PHP CS fixer in chapter.
PHP CS fixer can automatically help you fix the code style, not just formatting.
If you only need to format the code automatically when saving, PhpStorm can open this:
Many of the items sent by others have not been formatted before. At least the automatic f ...
Posted by user___ on Thu, 25 Nov 2021 19:26:46 -0800
Spring cloud upgrade 2020.0.x - 41. Explanation of the basic process of spring cloud gateway
Code address of this series: https://github.com/JoJoTec/spring-cloud-parent
Let's continue to analyze the WebHandler mentioned in the previous section. After adding Spring Cloud Sleuth and Prometheus related dependencies, the processing flow of Spring Cloud Gateway is as follows:
Spring Cloud Gateway entry - > DefaultWebFilterChain of We ...
Posted by woza_uk on Thu, 25 Nov 2021 19:24:29 -0800
[UVM COOKBOOK]Sequences||Virtual Sequencers
Welcome to the 2023 Digital IC exchange group, QQ group No. 628200294Virtual sequencers (not recommended)A Virtual Sequence is one that uses multiple sequencers to control excitation generation. Because sequence, sequencer and driver focus on interfaces, almost all test platforms need a Virtual Sequence to coordinate the incentives and interact ...
Posted by jimmyt1988 on Thu, 25 Nov 2021 19:23:06 -0800
ES6 Chapter 4 new methods of string
prefaceThis chapter introduces new methods for string objects. Don't take important notes for less commonly used methods.Link to the original text of this chapter: New method of stringincludes(),startsWith(),endsWith()Determines whether one string is contained in another. ES6 provides three new methods.The includes() method is used to determine ...
Posted by pspeakman on Thu, 25 Nov 2021 19:21:47 -0800
Java 23 design patterns -- visitor pattern (behavior design pattern)
Visitor mode
brief introduction
The purpose of visitor pattern is to encapsulate some operations imposed on some data structure element. Once these operations need to be modified, the data structure that accepts the operation can remain unchanged.
Intent: mainly separate data structure from data operation.
It mainly solves the problems of s ...
Posted by lulon83 on Thu, 25 Nov 2021 19:19:30 -0800