os module of python (ipython, file, directory, permission, management)

What is an os module The os module provides the function interface functions of most operating systems. When the os module is imported, it will adapt to different operating system platforms and perform corresponding operations according to different platforms. When programming in python, it often deals with files and directories. At this time, ...

Posted by vixtay on Fri, 24 Apr 2020 06:19:52 +0200

Order export pdf file

principle Raw data - > Load template - > temporary file - > PDF file Scheme preparation html template to pdf Difficulties: 1. Find a designer for every change; 2. html style is difficult to control (I'm not good at it); 3.html to pdf style is difficult to control word template to pdf Difficulties: 1. Selection of appropriate plug-in ...

Posted by argh2xxx on Tue, 21 Apr 2020 18:35:29 +0200

Docker update

Docker update Original version 1.10 Updated version 19.03.1 To update Docker version: Note whether the system supports the new version of the storage driver. The default storage driver for version 19.03.01 is overlay2. The following conditions shall be met for the use of overlay2 storage driver: 1, Pause the original container and ...

Posted by elentz on Tue, 21 Apr 2020 11:06:05 +0200

freecplus framework xml parsing

1, Source code description Freecplus is a C/C + + open source framework under Linux system. Please go to the C language technology network (www.freecplus.net) to download the source code. This paper introduces the parsing of string function in xml format with freecplus framework. The declaration file for functions and classes is freecplus / 65 ...

Posted by jimbo2150 on Tue, 21 Apr 2020 04:15:29 +0200

freecplus framework - date, time and timer

@[toc] 1, Source code description Freecplus is a C/C + + open source framework under Linux system. Please go to the C language technology network (www.freecplus.net) to download the source code. This paper introduces the time operation function of freecplus framework. The declaration file for functions and classes is freecplus / 65124; freecpl ...

Posted by ow-phil on Mon, 20 Apr 2020 18:04:25 +0200

See through the phenomenon - docker's network mode, docker's custom network configuration while troubleshooting (bridge mode)

See Essentials Through Phenomena - docker's four network modes, configuring docker's custom network while troubleshooting Preface The last article described resource control for docker, mainly in three areas: CPU, memory, and IO.This article describes the network mode in docker 4. 1. Brief description of three network modes in VMware Perhaps, ...

Posted by nickk on Sat, 18 Apr 2020 19:13:36 +0200

Nginx balanced TCP protocol server case

  After version 1.9, nginx can act as a port forwarding function, that is, to access the specified port of the server, nginx can act as a port forwarding function to direct traffic to another server, and obtain the return data of the target server and return it to the requester. The function of nginx's TCP proxy is different from that ...

Posted by dflow on Wed, 15 Apr 2020 12:04:12 +0200

linux under software is too laggy? How to configure domestic image source

Ubuntu 18.04 configure domestic image source Modify profile Manual change Open / etc/apt/sources.list with a familiar editor, such as vi /etc/apt/sources.list Take ubuntu 18.04(bionic) as an example to copy and replace all contents in sources.list( Use Alibaba cloud image): deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted univ ...

Posted by San_John on Mon, 13 Apr 2020 17:08:27 +0200

redis basic learning

redis basic learning   redis Redis is an open source (BSD licensed) in memory data structure storage system, which can be used as database, cache and message middleware yum install redis 1.yum installation #The premise is to configure alicloud yum source and epel source #Check whether there is redis package yum list redis ...

Posted by Zeon on Sun, 12 Apr 2020 14:52:24 +0200

Lu Feixue city deploying vue+django

Lu Feixue city deploying vue+django   Deployment of Luffy Learning City One day, Ritian sent me two mysterious codes. It's said that they are the crystallization of mjj   I put these two codes on a website. You can download them by yourself Lu Fei Xue Cheng django Code https://files.cnblogs.com/files/tiger666/luffy_boy.zip vu ...

Posted by faizanno1 on Sun, 12 Apr 2020 14:51:09 +0200