Detailed explanation of awk variables, common built-in variables, user-defined variables, built-in variables NR, NF, FNR, RS, ORS, FILENAME, ARGC and ARGV
preface
Detailed explanation of awk variables, common built-in variables, user-defined variables, built-in variables NR, NF, FNR, RS, ORS, FILENAME, ARGC and ARGV
awk variable
"Variables" are divided into "built-in variables" and "custom variables". "Input separator FS" and "output separat ...
Added by akop on Fri, 11 Feb 2022 10:54:20 +0200
Android Retrofit source code analysis
Retrofit usage
Retrofit request annotation
Serial numbernameexplain1GETget request2POSTpost request3PUTput request4DELETEdelete request5PATCHpatch request, which is a supplement to put request and is used to update local resources6HEADhead request7OPTIONSoption request8HTTPThe general annotation can replace all the above annotations. It has t ...
Added by taiger on Fri, 11 Feb 2022 10:51:24 +0200
web H5 web browser Bluetooth
target
Recently, a project is being developed. The requirements of the project are as follows: On the H5 (based on vue framework) page, call the webluetooth interface through js to read the data transmitted by a Bluetooth device and return to the display.
introduce
background
With the rise of PWA, more and more web services are supporte ...
Added by WendyLady on Fri, 11 Feb 2022 10:50:25 +0200
Web Components series - create Custom Elements
prefaceAccording to the previous introduction, we know that custom elements can be divided into two categories according to whether they inherit basic HTML elements or not“Autonomouscustom elementsCustomized built-in elementsThis raises a question: what is the difference between the two in use?Let me try to explain this problem through th ...
Added by ChroniX88 on Fri, 11 Feb 2022 10:49:07 +0200
Vue -- 02. Basic syntax, binding event, two-way binding, component
1, Basic syntax: v-bind, v-if, v-else, v-else-if, v-for
1.1 v-bind binding element
<!DOCTYPE html>
<html lang="en" xmlns:v-bind="http://www.w3.org/1999/xhtml">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<!--view Layer, template-->
<div id="app">
...
Added by RosieisSweet on Fri, 11 Feb 2022 10:46:55 +0200
SpringBoot Basics
SpringBoot Foundation
1, Features of Springboot
Parent project dependency
In each springboot project, there is a parent project dependency. After clicking it, you will see a spring boot dependencies. After clicking it, you will see that almost all the dependent version numbers commonly used in development are declared, that is, automatic ve ...
Added by justgrafx on Fri, 11 Feb 2022 10:44:21 +0200
Understand the factory model
3. Factory series
First of all, any method or class that can generate an object can be called a factory (as long as a method returns a new object, it can be said to be a factory). Therefore, a singleton is also a factory (static factory)Why is there a factory when there is new?
Flexible control of production processPermission, decoration, l ...
Added by Tindo on Fri, 11 Feb 2022 10:37:50 +0200
In depth understanding of the use of ApplicationContextAware
When review ing the code of predecessors, I saw a tool class. SpringContextUtil didn't quite understand its usage
@Component
public class SpringContextUtil implements ApplicationContextAware {
private static ApplicationContext applicationContext;
@Override
public void setApplicationContext(ApplicationContext applicationContext) th ...
Added by SauloA on Fri, 11 Feb 2022 10:28:18 +0200
[C + +] advanced binary tree (binary search tree, KV model)
Binary search tree
The concept of binary search tree and its illustration
Binary search tree, also known as binary sort tree, is either an empty tree or a binary tree with the following properties:
If its left subtree is not empty, the value of all nodes on the left subtree is less than that of the root nodeIf its right subtree is not em ...
Added by weekenthe9 on Fri, 11 Feb 2022 10:25:54 +0200
Sum of two lecodes II-167
Give you an integer array numbers with subscript starting from 1. The array has been arranged in non decreasing order. Please find two numbers in the array that meet the sum of addition and equal to the target number target. If the two numbers are numbers[index1] and numbers[index2] respectively, then 1 < = index1 < index2 < = numbers ...
Added by laradg on Fri, 11 Feb 2022 10:19:41 +0200