Regular expression and text editor for Shell programming
1, Regular expression
1. Regular expression overview
It is usually used to check whether a string satisfies a certain format in a judgment statement
Regular expressions are composed of ordinary characters and metacharacters
Ordinary characters include upper and lower case letters, numbers, punctuation marks and some other symbols
Metachara ...
Posted by Lord Brar on Mon, 14 Feb 2022 14:41:57 +0100
Java Web -- database connection pool
1. Java development process
Load driver (only need to load once)Establish a database Connection (database Connection pool plays a role in this step)Execute sql StatementResultSet receive result set (query)Disconnect and free up resources
Question: The database connection object is obtained through DriverManager. Every time you obtain it, ...
Posted by cmburns69 on Mon, 14 Feb 2022 14:39:01 +0100
Add system call to print process pid in tree structure
Tip: pay attention to give the virtual machine a large enough disk, more than 60G
1, Design ideas
Download linux kernel source code Add the system call number to the system call table Write custom system call functions in the system call header file Modify the kernel source code and add the implementation of custom system call fu ...
Posted by binto on Mon, 14 Feb 2022 14:38:00 +0100
Pointer from entry to advanced
catalogue
1, The concept of pointer
2, Pointer and pointer type
2.1 pointer addition and subtraction integer
2.2 dereference of pointer
3, Field pointer
3.1 causes of field pointer
1. Pointer not initialized
2. Pointer cross-border access
3. The space pointed by the pointer is released
3.2 how to avoid wild pointer
4, Pointer o ...
Posted by gandelf1000 on Mon, 14 Feb 2022 14:36:11 +0100
[leetcode question brushing day 34] 540 Unique element in array, 384 Disrupt array, 202 Happy number, 149 Maximum number of points on a line
Day 34
540 a single element in an ordered array
Give you an ordered array of integers, where each element will appear twice and only one number will appear once.
Please find and return the number that appears only once.
The solution you design must meet O(log n) time complexity and O(1) space complexity.
method
Since all elements in the a ...
Posted by atyndall on Mon, 14 Feb 2022 14:33:23 +0100
Introduction to PyTorch's deep learning practice notes 13 - Advanced chapter of cyclic neural network - Classification
stay Introduction to PyTorch's deep learning practice notes 12 - Fundamentals of circular neural network RNN is briefly introduced in. In the next 13 lectures, we introduce an application of neural network: implementing a classifier of cyclic neural network.
1 RNN Classifier – Name Classification
Use RNN as a classifier.
Look at this que ...
Posted by bri4n on Mon, 14 Feb 2022 14:32:15 +0100
HTML (required for beginners)
1. Concept
A language that uses tags or tags to describe Web pages and present information to users
2. Hyper Text Mark Language:
Hypertext: the page can contain pictures, links, music, programs and other non text elements
Tag: that is, tag. Different tags realize different functions.
Language: an interactive tool between human and compute ...
Posted by langemarkdesign on Mon, 14 Feb 2022 14:11:23 +0100
From introduction to mastery of Java (Java data structure -- Map Collection)
Map interface description (double column set)
JavaApi gives a partial overview of the Map interface
An object that maps keys to values. A mapping cannot contain duplicate keys; Each key can be mapped to at most one value. The Map interface provides three collection views that allow you to view the contents of a Map in the form of key ...
Posted by tequila on Mon, 14 Feb 2022 14:03:42 +0100
Shallow analysis of cyberRT source code mainboard
The mainboard module is the program entry and startup module of cyberRT. We can start it in a way similar to roslaunch. The launch of cyberRT also encapsulates the mainboard module, or we can directly use mainboard - P < process_ Group > - D... & start a module. There are five files in the minaboard module, two classes (module_argumen ...
Posted by akshay on Mon, 14 Feb 2022 13:32:21 +0100
Pandas tutorial - Financial Analysis Tutorial
Note: the tutorial content is from https://nbviewer.jupyter.org/github/twiecki/financial-analysis-python-tutorial/tree/master/ This is not a complete system pandas tutorial. The test demo of this foreign tutorial is old, and the new version of pandas may not be compatible with the source program. This tutorial is a correction based on the origi ...
Posted by masalastican on Mon, 14 Feb 2022 13:24:57 +0100