Tag:Set up
-
Security management under Linux system
1. Bootstrap securityThe root password of Linux system is easy to crack, of course, if you don’tset upThe boot program password, such as grub or Lilo, is strongly recommended to prevent the root password from being broken through the boot programset upThe boot password of grub or Lilo. You can edit its configuration file / […]
-
Some parameter descriptions of text input box in Web Design
Text input boxes are used in general message books, forums and other places, that is, textarea in HTML language. Textarea contains many parameters. If you learn to use these parameters, you can modify the size and appearance of the text input box at will to achieve the effect you want. The following will introduce these […]
-
XHTML CSS write regular blog
The full name of blog should be web log, which means “network log” in Chinese. Later, it is abbreviated as blog, and blogger is the person who writes blog. In terms of understanding, blog is “a publishing method that expresses personal thoughts, network links and content, arranged in chronological order and updated constantly”. In short, […]
-
Deep learning practice – using celeba_ Weight test NUAA for spoof training
1. Directly use the saved network to test NUAA Test code: def read_test_file(): base_path = r’E:\ml\fas\data\NUAA’ val_file_path = os.path.join(base_path, “test.txt”) train_image_path_list = [] train_labels_list = [] with open(val_file_path) as f: lines = f.readlines() for line in lines: image_path = line.split(‘,’)[0] label = line.split(‘,’)[1] img = cv2.imread(image_path) resize_img = cv2.resize(img, (100, 100)) train_image_path_list.append(resize_img) train_labels_list.append(int(label)) return np.asarray(train_image_path_list), […]
-
Methods and skills of setting Linux file permissions
In fact, windows system is similar to Linux system. The properties of windows system files and directories are read-only and hidden, and so is Linux. In Linux, each file has specific attributes. It mainly includes two aspects: file type and file permission. It can be divided into five different types: ordinary file, directory file, link […]
-
Well designed GNN is just a “counter”?
Editor’s noteQuestion answering (QA) task is a basic and important topic in the field of natural language understanding. At present, pre training language model and graph neural network are usually used to infer question answering. What role does GNN module play in reasoning? This problem needs to be further explored by researchers. To this end, […]
-
Detailed description of Linux system network configuration
1. View IP ifconfig 2. How to configure IP A. This method takes effect immediately, but the restart will not be saved. (all other methods except this method can be saved) Ifconfig eth0 1.1.1.1 netmask 255.0.0.0 up Ifconfig eth0:1 1.1.1.3 up method for setting up multiple IPS of one network card (useful when setting up […]
-
HTML code of web page: making rolling text
In this section, the author describes the special tags in HTML code, which can make the text in the web page scroll and control its scrolling properties.Make scrolling textThrough the previous study of this chapter, readers can well control the display mode of various paragraph text, but no matter how it is set, the text […]
-
Paragraph layout and line feed of HTML web pages
Whether the appearance of a web page is beautiful depends largely on its typesetting. When large paragraphs of text appear on the page, they are usually planned in segments, and there are extremely strict divisions for line breaks. This section starts with the detailed setting of paragraphs, so that readers can use labels to deal […]
-
CentOS supports the setting method of ReiserFS
CentOS does not support ReiserFS by default, but it supports ReiserFS by using CentOS plus kernel. The method is as follows:1: Update kernel:vi /etc/yum.repos.d/CentOS-Base.repo In the [centosplus] section of the fileenabled=0 Change toenabled=1 Then execute Yum update and restart the computer.Check whether the ReiserFS kernel is loaded:modprobe -l | grep reiserFS If you see something […]
-
Gzip’s setting in Apache 2 and squid’s processing method analysis
Gzip can speed up large websites Sometimes the compression ratio is as high as 80%. Recently, it has been tested, at least more than 40%, which is quite good In versions after Apache 2, the module name is not gzip, but mod_ deflateIf you want to open gzip, you must open the following two modulesLoadModule […]
-
Apache rewrite anti-theft chain setting method
Now when you are a website, you will encounter chain theft problems, including image chain theft, music or video file chain theft (such as MP3, flash, etc.) I believe many friends have encountered the situation that files, especially pictures, in the website have been stolen. The so-called chain stealing means that the other party’s website […]