How do beginners get started with linux? It turns out that linux can also be learned this way
prefaceIn this small room with only cangls and Xiaobai, there was a discussion on learning methods.Xiaobai: cangls, I want to ask you a question. How do you remember so many linux commands.cangls: I, others watch my little movies. I don't know! Maybe there are too many examples, just remember some.The inspiration for this writing comes from a b ...
Added by steve490 on Mon, 24 Jan 2022 17:14:14 +0200
Discussion on developing pytest plug-in based on automated testing framework
In this chapter, we introduce how to develop the pytest plug-in. In the last article, we introduced four python unit testing frameworks. It can be divided into two categories: one must have class inheritance, such as QTAF , and , unittest, and the other can have no class inheritance, such as nose/nose2 , and , pytest. For the framework with ...
Added by phast1 on Mon, 24 Jan 2022 16:32:12 +0200
The life cycle of java multithreading
1. Thread creation
1.1 inherit Thread
public class ThreadDemo01 extends Thread {
private String name;//Properties of this thread
//Pass parameters through full parameter structure
public ThreadDemo01(String name) {
this.name=name;
}
//Override run method
@Override
public void run() {
for(int i =1;i<=10;i++) {
System.out ...
Added by dennisjade on Mon, 24 Jan 2022 15:29:51 +0200
Logging framework Logback for Java interface testing
1, Introduction
For a mature interface testing framework, log management is essential. In the development and debugging phase, logs can help us locate problems faster; During the operation and maintenance of the test, the log system can help us record most of the abnormal information. Usually, many test frameworks collect log information to mo ...
Added by duk on Mon, 24 Jan 2022 10:01:57 +0200
Inheritance and polymorphism in C #
inherit
Inheritance is to realize the reuse of programs, and transfer the functions of the parent class to the child class, so the child class can save the work of redefinition.
This concept is also closely related to object-oriented. Object oriented is to abstract objects, and different abstraction levels will get different classes. For ex ...
Added by Nytemare on Mon, 24 Jan 2022 09:02:01 +0200
golang learning notes 003 -- variables and data types
1. Variables
1.1 three ways to use variables
● the first: specify the variable type. If no assignment is made after declaration, the default value is used ● the second: self judgment according to the value (type derivation) ● the third: omit var. Note: = the variables on the left should be undeclared, otherwise the compilation error will ...
Added by CPInteract on Mon, 24 Jan 2022 08:53:38 +0200
8, Method enhancement and API use
Methods strengthen practice
This requirement and code are at the bottom of the article.
1. Method parameter transfer
1.1 what is method parameter transfer
Concept: when using a method, the passed in value or variable is the parameter transfer.
1.2 essence of parameter transfer:
Java parameter passing:
The basic data type passes the value ...
Added by wtg21.org on Mon, 24 Jan 2022 05:06:11 +0200
Rumor shredder: using try catch in JAVA will affect performance
preface:
I don't know when it came out that using try catch in Java will seriously affect performance.
However, is this really the case? Should we be afraid of try catch like tigers?
1, JVM exception handling logic
Explicit exception throwing in Java programs is supported by the arrow instruction. In addition to actively throwing excep ...
Added by visionmaster on Mon, 24 Jan 2022 04:28:21 +0200
[C language] Pointer advanced fourth station, parameter transmission of array / pointer
Friends, here we are!
Pointer advanced fourth station 🚏, Parameter transmission problem
0. Cited examples
The type of formal parameter in the user-defined function should correspond to the actual parameter type passed in the function call
In the study of elementary C language, we know that parameters can be divided into two types ...
Added by dunhamcd on Mon, 24 Jan 2022 02:17:21 +0200
golang learning notes 007 -- functions, packages and error handling
1. Function
func Function name (parameter list ) (Return value list){
Execute statement...
return Return value list
}
2. Package
● Three functions of package
○ Distinguish functions with the same name,Variable identifier
○ When there are many program files,Can manage the project well
○ Control function,Variable and other access ...
Added by scraptoft on Sun, 23 Jan 2022 22:25:14 +0200