Using Python to Get Information of Computer Network Card

Catalog 0. Preface 1. Test environment and key code interpretation 1.1 Test Environment 1.1.1 System: 1.1.2 Development Tools: 2. Module Introduction and Demonstration 2.1 platform module usage example 2.2 Examples of netifaces module usage 2.2.1 How to Get the Informati ...

Posted on Sat, 28 Sep 2019 09:48:39 -0400 by smitho

os module, sys module, json / pickle module, logging module

Catalog OS module sys module json and pickle modules serialization and deserialization json module pickle logging module OS module Interactive with operating system to control files/folders # create folder import os os.mkdir(r'D:\py_case\test') # remove folders os ...

Posted on Fri, 27 Sep 2019 11:44:21 -0400 by dcmbrown

Processing FTP traffic in LVS NAT mode

Concept explanation Active and passive mode of FTP data channel Active mode: The server actively connects the port submitted by the client through the specified data transmission port (default 20), and sends data to the client. The client sends "PORT xxx,xxx,xxx,xxx,ppp,ppp" on its own initiative. Wait for the server to initiate the d ...

Posted on Thu, 26 Sep 2019 07:13:56 -0400 by SureFire

mysql+centos7 + master-slave replication

MYSQL(mariadb) MariaDB database management system is a branch of MySQL, which is maintained by the open source community and licensed by GPL. One of the reasons for developing this branch is that Oracle's acquisition of MySQL has the potential risk of closing MySQL to the source, so the community uses branching to avoid this risk. MariaDB aims ...

Posted on Thu, 26 Sep 2019 03:46:59 -0400 by jsantama

Surprise, Deficiency - Interpretation of Tencent TinyOS Core Code

Tencent recently opened its own lot us operation TinyOS on Github in a low-key way. So I downloaded all the code from https://github.com/Tencent/TencentOS-tiny at the first time, and I'll give you an explanation at the first time. TinyOS Overall Architecture TencentOS tiny provides a streamlined RT ...

Posted on Wed, 25 Sep 2019 00:19:38 -0400 by puzzle

Porting ffmpeg to Heis Platform

1. xvid, x264, ffmpeg source download Link: https://pan.baidu.com/s/13phSFrLqkGrKDGF3_a2cSA Extraction Code: ls2s 2. Cross-compilation 1. xvid tar zxvf xvidcore-1.3.3.tar.gz cd xvidcore/build/generic ./configure --prefix=/home/workspace/arm_soft/ --host=arm-hisiv100nptl-linux --target=arm-linux ma ...

Posted on Tue, 24 Sep 2019 22:43:33 -0400 by Jezza

Basic Thought of Mine-sweeping Game Development

Today, I would like to introduce you to the traditional minesweeping game production ideas, why choose this game?1. It's too golden. As we all know, it's played, and it's always played.2. It is also a lightweight game, relatively simple. Let's start with the elements of the minesweeping game:From top to bottom UI: Mask Layer - > Mine Layer - ...

Posted on Tue, 24 Sep 2019 06:12:20 -0400 by bertfour

Solution to Incidental Error Reporting in minikube Installation Process

minikube installation process introduce minikube Minikube is a tool that can easily run Kubernetes locally. Minikube runs a single-node Kubernetes cluster on a virtual machine in your laptop so that users can try out Kubernetes or develop them on a daily basis. kubectl kubectl is a command line interface for running commands against the Kuberne ...

Posted on Tue, 24 Sep 2019 00:24:26 -0400 by SamShade

Understand Java thread priority, but also the priority of the corresponding operating system, or you'll get stuck

Java Multithreaded Series 6. Let's take a look at Java thread priority. Java Thread Priority In the Thread class, the following properties are used to represent priority. private int priority; We can set a new priority through setPriority(int newPriority), and get the priority of a thread through getPriority(). Some data concludes from the f ...

Posted on Mon, 23 Sep 2019 21:47:04 -0400 by bucko

Java Practice - Call Shell scripts remotely and get output information

1. Add Dependency <dependency> <groupId>ch.ethz.ganymed</groupId> <artifactId>ganymed-ssh2</artifactId> <version>262</version> </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>2.6</v ...

Posted on Mon, 23 Sep 2019 12:12:24 -0400 by chriscloyd