awk report generator for Linux text processing three swordsmen
catalogue
1, awk
1. General
2. Working principle:
3.awk built in variables
4. Other built-in variables
2, Examples
awk operation:
Fuzzy matching:
Comparison between numeric value and string:
Logical operation & & and |:
3, Advanced usage of awk
1. Define reference variables
2. Conditional statements
4, Other examples
...
Added by ploppy on Mon, 21 Feb 2022 15:49:31 +0200
Vue framework 2.0 Basics (5) components and communication between components
Component: a reusable Vue instance with a name and accepts the same option objects, such as data, computed, watch, methods, and life cycle hooks. The only exception is options specific to root instances like el.
Function: components can be reused any number of times. Each component maintains itself independently. Because every time a compone ...
Added by keveen on Mon, 21 Feb 2022 15:47:12 +0200
JavaScript advanced learning notes 1
summary
In typical OOP languages (such as java), the concept of class exists. Class is the template of object, but the concept of class was not introduced into JS before ES6 (ECMAscript6.0 released in 2015) Before that, objects were not created based on classes, but used a special function called constructor to define objects and their cha ...
Added by arfa on Mon, 21 Feb 2022 15:33:15 +0200
day6 list job
1. Basic questions
Given a list of numbers, print all odd numbers in the list
scores = [45, 60, 89, 30, 12, 59, 99, 80, 71, 66, 1000]
for i in scores:
if i % 2 != 0:
print(i)
Given a list of numbers, print all the numbers in the list that can be divided by 3 but cannot be divided by 2
scores = [45, 60, 89, 30, 12, 59, 99, 80, 7 ...
Added by Cleibe on Mon, 21 Feb 2022 15:33:05 +0200
React component lifecycle
In version 17.0.1, React has modified the life cycle of components. The new life cycle and the old life cycle have not changed much. The new life cycle has added two new hook functions, and three hook functions are outdated.
1, Old life cycle
The life cycle of components can be divided into three stages: initialization stage, update st ...
Added by atravotum on Mon, 21 Feb 2022 15:29:03 +0200
[algorithm cultivation] graph theory algorithm II (topological sorting, bipartite graph, and search set)
Learn from https://labuladong.gitee.io/algo/2/19/36/
1, DFS implements topology sorting
Immediately above: why do you need to reverse the result of post order traversal to get the result of topological sorting? Take the above binary tree as a directed graph and point from the root node to the left and right child nodes. Then, the root nod ...
Added by sapoxgn on Mon, 21 Feb 2022 15:21:51 +0200
XCTF_MOBILE11_ Hacker spirit
First sight
The attachment is an apk. Run it in the simulator first.
The simulator with ARM CPU must be selected, because the native library in the app only provides the version of arm instruction set, not x86 instruction set:
After the simulator starts, drag apk to the simulator for installation. After installation, the icon of app in the ...
Added by kelvin on Mon, 21 Feb 2022 15:17:52 +0200
[Unity] [Wwise] obtain the duration of a Wwise event in Unity
Once I received such a demand: to display the length of a character's voice on the interface and count down when playing. When I saw this demand at that time, I thought I would directly call the function provided by the official to obtain the event length, but when I did it, I found that I was naive.
In the function interface provided by t ...
Added by nicx on Mon, 21 Feb 2022 15:15:44 +0200
Vue3 quick start
Vue3 quick start (I)
Personal blog: Vue3 quick start (I)
After the internship and entering the company, after simply installing vscode, node, git and other necessary tools, the tutor directly asked if he had studied vue3. After saying that he had only studied vue2, he shared two articles with me and asked me to check the documents to quickly ...
Added by shauny17 on Mon, 21 Feb 2022 15:12:06 +0200
The brightest kid in python log is the fancy acridine
It seems that this log module can't be downloaded in the mirror station of Tsinghua University. Other mirror stations haven't tried it. I downloaded it directly from the address of the official website[read the full text]C:\Users\Administrator>pip install nb_log
Collecting nb_log
Downloading nb_log-7.2.tar.gz (71 kB)
|████████████████ ...
Added by acheoacheo on Mon, 21 Feb 2022 15:03:51 +0200