Non interactive operation of Shell script

1, Here Document interaction free 1.1 definition of interaction free Provides a list of commands to interactive programs using I/O redirection As an alternative to standard input, it can help script developers not use temporary files to build input information, but directly produce a file in place and use it as standard input for commands. ...

Added by maexus on Mon, 14 Feb 2022 16:06:00 +0200

Day 17 assemble

   Requirements: use the array to store 3 student information, and traverse the array to obtain each student information public class Student { private String name; private int age; public Student(){ } public Student(String name, int age) { this.name = name; this.age = age; } public String getName() { ...

Added by kanikilu on Mon, 14 Feb 2022 15:05:24 +0200

GO Language Learning Road 21

2022/02/12 /* //Basic introduction to processes and threads 1. A process is an execution of a program in an operating system. Is the basic unit for system resource allocation and scheduling 2. Threads are an execution instance of a process and the smallest unit of program execution. * It is a smaller base unit that can run independently ...

Added by php_coder_dvo on Sat, 12 Feb 2022 19:38:12 +0200

Built in object creation event

<!--           String  charAt(idx) returns the char value at the specified index. int indexOf(int ch, int fromIndex) returns the index at the first occurrence of the specified character in this string, and searches from the specified index. String substring(int beginIndex) returns a new string, which is a substring of this string. substr(m,n ...

Added by GoncaloF on Fri, 11 Feb 2022 17:30:24 +0200

The sixth web front-end training notes (HTML)

I array Definition of array 1. Implicit definition Var array name = []; 1 / empty array var array name = [value 1, value 2, value 3...]; 2. Direct instantiation var array name = new array (value 1, value 2, value 3...); 3. Define the array and set the length var array name = new array (size);                      Array operation The subscript o ...

Added by apan on Thu, 10 Feb 2022 23:05:14 +0200

Notes to Java core technology Volume 1 Chapter 6 interface and internal classes anonymous internal classes and static internal classes

6.4.6 anonymous inner class Suppose that when using variables, you can directly new a new object without naming it again. This local inner class that cannot afford the name of a class is called an anonymous inner class. The writing method is: new interface name () {overwrite method () {method content}} public class Main ...

Added by hbalagh on Mon, 07 Feb 2022 00:00:25 +0200

The secret of string function

catalogue 1. String function 1.strcpy application and Implementation  2. Application and implementation of strcat  3. Application and implementation of StrCmp 4. STR application and Implementation 1. String function When it comes to string functions, I believe they are not unfamiliar. Today, we mainly understand the applicat ...

Added by xeirus on Sat, 05 Feb 2022 09:58:06 +0200

C# learning - use of classes

1, Define class In order to make the program clearer and easier to use, object-oriented programming is used Class is actually the template of objects. Each object contains data and provides methods to process and access data Class defines what data and functions each object of a class (called an instance) can contain, mainly including data mem ...

Added by Leshiy on Fri, 04 Feb 2022 16:39:59 +0200

Integer bisection template

Essence of dichotomy: there are boundary points that conform to a certain property, which are used to find the boundary of sub interval that conforms to a certain property in a certain interval, or the boundary that does not conform to this property (integer dichotomy, boundary disjoint) Data with monotonicity can be dichotomized, and data wit ...

Added by vinoindiamca on Fri, 04 Feb 2022 10:44:26 +0200

In depth JavaScript learning notes: this point of function

In depth JavaScript learning notes: this point of function Reference: Teacher Wang Hongyuan's in-depth JavaScript course Why do you need this? In common programming languages, almost all have this keyword (self is used in Objective-C), but this in JavaScript is different from this in common object-oriented languages: In common object-orie ...

Added by mlewis on Fri, 04 Feb 2022 08:41:13 +0200