Congparser Module of Python Full Stack Road Standard Library Series

configparser is used to process files in a specific format, which essentially uses open to manipulate files. The configuration file format is as follows: # The first way of annotation ; The second way of annotation [node1] # node k1 = v1 # key = v ...

Posted by Giri J on Sun, 18 Aug 2019 23:29:38 -0700

c++ Polymorphism from the Perspective of c

Catalog 1. Overview 2. Preparatory knowledge points before starting 2.1 Do you know what different types of pointers mean? 2.2c file is compiled into a target file. What does the target file contain? 3.c++ Static Polymorphism 3.1 Actual coding operation 3.2 Implementation Principle 3.3 Understanding from the Perspective of c 4.c++ Dynamic ...

Posted by cshaw on Tue, 16 Jul 2019 12:52:35 -0700

Disable Transparent Huge Pages

Full text translated into MongoDB official manual I've tried to keep the original version. But the capacity is limited... Boot script Using tunde and ktune Test whether the configuration is in effect Be careful:This page describes how to disable Transparent Huge Page on Red Hat Enterprise Linux and entOS 6 and 7. If you need to disable THP on ...

Posted by fresh on Mon, 27 May 2019 12:24:32 -0700

Spring Boot - Undertow Container Start

Spring Boot : Undertow   Undertow Undertow is a NIO-based high-performance Web embedded server developed by Red Hat Untertow features: Lightweight: It's a Web server, but unlike traditional Web servers, which have container concept, it consists of two core Jar packages. Loading a Web application can be less than 10MB of memory. ...

Posted by Stryker250 on Sun, 03 Feb 2019 12:03:16 -0800

Linux Installation Tkinter+Python Version Upgrade + xlrd Installation (Excel Plug-in)

I. Tkinter Installation To install Tkinter in Python 3, you need to upgrade the Python version and recompile it!!! 1. System Version and Python Version [root@server1 ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.2 (Maipo) Python Version: 2.7.5 2. Introduction to Tkinter (1) Introduction t ...

Posted by sridhar golyandla on Fri, 01 Feb 2019 09:33:17 -0800

pdiof command, killall command, uname command, uptime command, free command

pidof command The pidof command is used to query the PID value of a specified service process in the form of "pidof [parameter] [service name]. The process number value (PID) of each process is unique, so different processes can be distinguished by PID. For example, The following commands can be used to query the PID of t ...

Posted by palito on Thu, 10 Jan 2019 10:27:10 -0800

RHEL7 and CentOS7 languages, character encoding, keyboard mapping, X11 layout settings (localectl) - system management (1)

Reading the official documents of Red Hat Enterprise Linux 7 these days, I found some system management methods that are much better than before. I am going to share my reading and learning experience with a series of articles. At the beginning of the system management guidance, the problems of language, character encod ...

Posted by napa169 on Thu, 20 Dec 2018 22:27:05 -0800

Linux Network Configuration (TCP/IP key parameters are: IP, Netmask, Gateway, DNS)

The main parameters of TCP/IP are IP, Netmask, Gateway, DNS. The main network-related configuration files in Linux are: / ect/hosts # Configuration Host Name (Domain Name) and Private IP Address Correspondence /etc/sysconfig/network# Configure host name and gateway /etc/sysconfig/network-scripts/ifcfg-eth0#eth0 configuration file, eth1 file ...

Posted by excl209 on Thu, 20 Dec 2018 15:21:05 -0800