Table of Contents Introduction Create Linux users and user groups Configure LINUX static IP Edit IP mapping SSH password-free login configuration Login test Introduction SSH (Secure shell) is a protocol that can provide secure communication in applications. Network data can be transmitted securely through SSH. Its main principle is to use an asymmetric encryption system […]
Tag: word
Java SE packages, packages, static keywords and code blocks
1. Encapsulation 1.1 Concept of encapsulation There are three major characteristics of object-oriented programs: encapsulation, inheritance, and polymorphism. In the class and object stage, the main research is on encapsulation characteristics. What is encapsulation? simply put It’s the shell shielding details. Encapsulation: organically combine data and methods of operating data, hide the properties and implementation […]
[JUC] 1. synchronized keyword and Lock interface
Article directory 1. JUC 2. Processes and threads 3. Concurrency and parallelism 4. User thread and daemon thread 5. Object locks and class locks 6. Synchronized keyword 7. synchronized case 8. Lock interface 1.JUC JUC, the java.util.concurrent toolkit for processing threads, started with JDK1.5, and has three packages: Basic package Atomic package Lock bag 2. […]
Two ways to convert Java word to html
The key points are highlighted. . . Method 1: Use the toolkit poi provided by apache. poi uses version 4.1.2 Disadvantages: Inaccurate processing of font styles; inaccurate conversion of wmf formula image parts, this document only supports doc format Advantages: The conversion speed is relatively fast and local debugging is convenient Method 2: Use libreoffice, […]
Build a website using wordpress based on IIS under Windows Server
Article directory Preface 1. Components required to build a website in WordPress 2. Component installation and configuration 1. Enable IIS 2. Install and configure php 3. Install and configure MySQL 4. Install and configure wordpress 3. Analysis of error prompts and causes encountered Foreword When I was learning wordpress before, because I was not familiar […]
Parse html to generate Word document
Content: Read the text content in the html file, and then generate a Word document for export. Case scenario: After the requirement development is completed, a document (code modification list) needs to be written. The content of the document is all the codes modified/added this time. The modified file paths and code snippets need to […]
Word2Vec word vector analysis (word similarity) based on the character story of Genshin Impact character Keqing
First get the character text of Keqing: raw_texts = [ “Emperor Yanwang brought prosperity to Liyue Port, and his reputation for governing the world was turned into novels and biographies that people talked about. However, as one of the people closest to God, Keqing seems to be the one who lacks the least awe. \ […]
Nanny-level explanation of static keyword
What is the static keyword? In Java, a static keyword is defined, which is used to modify members of a class, such as member variables, member methods, and code blocks. When a member is declared static, it is called a class member (or class attribute), not an instance member. There is only one copy of […]
2-5 (outside the article) word vector Word2Vec code practical article
Table of Contents 1 Statement: 2 Code link: 3 Reference links: 4 practical steps: 4.1 Data selection: 4.2 Data preprocessing and word segmentation: 4.2.1 Data preprocessing: 4.2.2 Why word segmentation? 4.2.3 Participles: 4.3 Model training: 4.4 Visualization: 4.4.1 PCA dimensionality reduction: 4.4.2 Draw a starry sky map: 4.5 Analogical relationship experiment: 1 claim: This course […]
[West Lake Sword Theory 2022]real_ez_node
Article directory prerequisite knowledge EJS template injection (CVE-2022-29078) Prototype chain contamination vulnerability (CVE-2021-25928) HTTP response splitting attack (CRLF) Problem solving process Code audit Construct payload Prerequisite knowledge EJS template injection (CVE-2022-29078) There is a rendering function in the EJS library that is very special Data and options are merged together via the function utils.shallowCopyFromList, so […]