[high frequency written interview in front-end field] - JavaScript related

catalogue 1. Write a regular expression that simply describes the html tag (start tag and end tag without attributes), and remove the html tag from the string 2. Complete the function showImg(), which requires that the display of the picture can be updated dynamically according to the options in the drop-down list 3. List the common objects ...

Added by TFD3 on Wed, 17 Nov 2021 13:59:49 +0200

Detailed explanation of zero foundation to proficient sed command

preface This section explains the usage of sed in detail, combined with the regular expressions learned before. The article is completely from Xiaobai's point of view. It took a long time to edit it so that everyone can understand and operate it as much as possible. sed introduction 1. sed introduction vi is to edit text interacti ...

Added by clarket on Sat, 06 Nov 2021 08:57:03 +0200

20 regular expressions

Knowing these 20 regular expressions can save you 1000 lines of code Regular expression, a very old and powerful text processing tool, can quickly realize a very complex business logic with only a very short expression statement. Mastering regular expressions can greatly improve your development efficiency. Regular expressions are often used ...

Added by duncanmaclean on Tue, 02 Nov 2021 03:05:29 +0200

[front end] Javascript advanced learning summary

preface Basic variable syntax, conditional loop statements (similar to c language), etc Rookie tutorial Javascript function Write html input stream <script> document.write("<h1>This is a title</h1>"); document.write("<p>This is a paragraph.</p>"); </script> Response event If the onclick method is de ...

Added by vigour on Sun, 03 Oct 2021 04:38:32 +0300

RHCSA-A11. Find files

Red hat RHCE exam am - RHCSA (RH134) servera.example.com task 11. Find files Task requirements Find all files belonging to the harry user and copy them to the / root/findfiles directory Complete step Create the required directory first mkdir -pv /root/findfilesThen find the specified file and put it in the previously created directory fin ...

Added by grlayouts on Wed, 29 Sep 2021 05:52:06 +0300

Using the awk command

Using the awk command 1. What is awk AWK, a data filtering tool (similar to grep and more powerful than grep), is a data processing engine. It checks the input text based on pattern matching, processes and outputs it line by line. It is usually used in Shell scripts to obtain the specified data. When used alone, it can make statistics on text ...

Added by WeddingLink on Wed, 22 Sep 2021 04:55:45 +0300

The first personal programming operation of soft worker

The first personal programming operation of soft worker Which course does this assignment belong toConstruction method - Autumn 2021 - Software Engineering of Fuzhou UniversityWhat are the requirements for this assignmentThe first personal programming operation of software engineering practice in autumn 2021.The goal of this assignmentImplemen ...

Added by hanwei on Tue, 21 Sep 2021 13:17:52 +0300

awk advanced usage

awk 1, Introduction AWK is a language for processing text files and a powerful text analysis tool. AWK is called because it takes the first character of the Family Name of the three founders Alfred Aho, Peter Weinberger, and Brian Kernighan. 2, Basic grammar //awk [options] 'script command' file name awk [Option parameters] 'script' va ...

Added by scriptkiddie on Tue, 21 Sep 2021 11:41:10 +0300

Learning notes and summary on regular expressions

Learning notes and summary on regular expressions On regular expression I have a problem that I can solve with regular expressions. Well, now I have two problems Why regular expressions In my personal learning experience, I have been exposed to various string lookup functions, but why is regular expression so magical? I think it's its fuzz ...

Added by rotwyla98 on Mon, 20 Sep 2021 19:26:59 +0300