Several Ways and Explanations of Online Capacity Expansion under Linux

The following are mainly aimed at on-line expansion of Linux in VM environment Adding disks to VM and delivering them to the system for use Add new disks to VM Scanning SCSI Bus to Identify Newly Added Devices To identify new disk partitions Prep ...

Posted by sprint10s on Mon, 19 Aug 2019 08:42:23 +0200

Several implementations of the singleton pattern (continuous update)

Singleton Pattern is one of the simplest design patterns in Java. This type of design pattern belongs to the creation pattern, which provides the best way to create objects. This pattern involves a single class that is responsible for creating its ow ...

Posted by webwannabee on Sat, 17 Aug 2019 15:22:49 +0200

Case 15. Format output xml file

We have been working with xml files more or less. Its format is very regular, but it can't be read at a glance because there are too many tags (<>), such as the following configuration: <configuration>      <artifactItems>           <artifactItem>               <groupId>zzz</groupId>               <artifa ...

Posted by v4g on Sat, 17 Aug 2019 05:25:56 +0200

Method of changing suffix when PowerShell file name contains []

demand As we all know, the way video websites publish videos has changed a lot. For example, the MP4 file is renamed mp41, similar to the following PS E:\BaiduNetdiskDownload> ls *.mp41 -Recurse //Directory?: E:\ Baidu Netdisk Download Mode LastWriteTime Length Name ...

Posted by jesse_james on Fri, 16 Aug 2019 17:14:33 +0200

File & Recursive & Byte Stream

1.File class 1.1 File Class Overview and Construction Method [Application] Introduction to File Class It is an abstract representation of file and directory pathnames Files and directories can be encapsulated as objects through File For File, ...

Posted by nimbus on Thu, 15 Aug 2019 13:21:02 +0200

Setting up environment learning VLAN with GNS3

Catalog Setting up environment learning VLAN with GNS3 One.GNS3 Installation and Configuration Two.Build GNS3 Analog Topology Three.Experimental process Set IP information for PC1 and PC2 Layer 3 Switch Configuration Layer 2 Switch Configuration ...

Posted by andrei.mita on Wed, 14 Aug 2019 03:37:48 +0200

How to use 7z SDK to compress files in VC

First login 7z official organization website https://www.7-zip.org/ Friends with poor English can switch to Chinese first. Open the LZMA SDK page on the left and download the latest SDK and instructions as shown below. After downloading, SD ...

Posted by Fruct0se on Tue, 13 Aug 2019 15:23:31 +0200

DecorView Loading Process of Android P Window Mechanism

This paper mainly introduces the view loading process of app and the view loading process of StatusBar and Navigation Bar. Generally speaking, the UI layout that a user can see is the status bar View, the UI interface ContentView of app program, and the navigation bar View. Related categories: framework ...

Posted by eirikol on Sat, 10 Aug 2019 11:24:15 +0200

Python-32-Multithread 2

Synchronization, Asynchronization, Multithreading, Single Thread, Concurrent, Parallel Multi-threading (asynchronism) needs to solve synchronization problem, and single-threading (synchronization) needs to solve asynchronism problem. Parallel (without common resources, i.e. multiple CPUs, one CPU per ...

Posted by voitek on Sat, 10 Aug 2019 08:50:06 +0200

Spring mybatis - ssm framework environment construction (scheme 1)

The SSM framework - S-Spring S-Spring mvc M-mybatis requires the following configuration files to be placed under the resources folder: db.properties is the configuration file of the database connection pool, which has the connection information of the database jdbc: # JDBC jdbc.driverClass=com.mysql.jdbc.Driver jdbc.connectionURL=jdbc: ...

Posted by drepster on Fri, 09 Aug 2019 13:03:55 +0200