Bootstrap Flask of Flask series
Explain
Operating system: Windows 10
Python version: 3.7x
Virtual Environment Manager: virtualenv
Code editor: VS Code
Experimental target
Use bootstrap flask to beautify the page and apply the style of bootstrap 4. X to the website.
Because flask bootstrap hasn't been updated for a long time and doesn't support BS4, here we use the bootstr ...
Posted by ajfton on Sat, 30 Nov 2019 11:46:33 -0800
Solve the problem of SSLError during pip installation
The reason for this problem is that the certificate of the installation source is not trusted. You can change the configuration file of pip to solve this problem:
Where is the profile first to change it? Read the source code of pip:
Here is the pip source code
if WINDOWS:
bin_py = os.path.join(sys.prefix, 'Scripts')
bin_ ...
Posted by mote on Sat, 30 Nov 2019 09:39:46 -0800
Ubuntu Server 18.04 configure rsync (xinetd)
[server configuration]
System version
# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic
Official documents: https://rsync.samba.org/documentation.html
install
sudo apt install rsync xinetd
Modify or add in / etc/default/rsync file
RSYNC_ENABLE=inetd
Create th ...
Posted by chodges on Sat, 30 Nov 2019 04:26:38 -0800
Create tablespaces and import local basic statements into formal Libraries
– create tablespace
CREATE SMALLFILE TABLESPACE "MAXDATA" DATAFILE 'D:\app\Administrator\oradata\orcl\MAXDATA' SIZE 1000M AUTOEXTEND ON NEXT 1000K;
CREATE TABLESPACE MAXINDEX DATAFILE 'D:\app\Administrator\oradata\orcl\MAXINDEX' SIZE 2048M AUTOEXTEND ON NEXT 2048K;
CREATE TEMPORARY TABLESPACE MAXTEMP TEMPFILE 'D:\app\Admi ...
Posted by bluejay002 on Sat, 30 Nov 2019 00:21:15 -0800
Election mechanism for Pulsar Functions Worker
abstract
In Pulsar, Function, Source, and Link are all running on Function Worker, and you can refer to Function for reference An article about Pulsar Functions , you can refer to the use of Source and Link
Introduction to Pular Source
Pular Sink Getting Started Guide.
This paper introduces the election mechanism of Functions Worker.Read th ...
Posted by theironchef on Fri, 29 Nov 2019 20:39:52 -0800
python parsing implementation of PIBOT communication protocol
Preceding text ROS robot chassis (3) - Communication Protocol Defined PIBOT This protocol is simple and not related to ROS, and can be extended at the same time. In this paper, we use python to realize a transceiver, which can be used in windows or linux at the same time
1. dataHolder
python struct package It can be used to pac ...
Posted by TheUkSniper on Fri, 29 Nov 2019 07:58:53 -0800
Getting started with Java Web -- installing Tomcat server in Linux Environment
Absrtact: This article mainly studied how to install Tomcat server in Linux environment.
Preparation
Check Java environment variables
Check whether the system is configured with Java environment variables:
1 [root@localhost ~]# java -version
2 java version "1.8.0_91"
3 Java(TM) SE Runtime Environment (build 1.8.0_91-b14)
4 Java HotSpot(TM) 64- ...
Posted by Dethman on Fri, 29 Nov 2019 03:48:54 -0800
Using gRPC client in PHP
Because the work needs to use gRPC, I use windows 10, but the operation flow of linux is basically the same.
Go directly to the topic, divided into several parts
1. Download Protoc
Download address: https://github.com/google/protobuf/releases
Select the corresponding platform and download the binary file used herehttps://github.com/protocol ...
Posted by jexx on Fri, 29 Nov 2019 01:01:08 -0800
Windows process communication -- shared memory
I. knowledge points
The following functions are mainly used, and the specific meaning of parameters can be Baidu
1.CreateFileMapping,OpenFileMapping,MapViewOfFile
2.CreateEvent,SetEvent,ResetEvent,WaitForSingleObject
Two, function
The logic is simple:
1. First open the shared memory according to the name. If it fails t ...
Posted by ScubaDvr2 on Thu, 28 Nov 2019 08:23:43 -0800
Windows process communication -- shared memory
I. questions:
There are some problems left in the last article. This time, we mainly solve the following two problems:
1. When writing data to shared memory, it is not sure whether the data in shared memory has been processed
2. When the sending data size is larger than the shared memory size, there will be data loss
II. ...
Posted by blue-genie on Thu, 28 Nov 2019 06:22:46 -0800