Using mysql module of python

PyMySQL installation Before using PyMySQL, we need to make sure PyMySQL is installed. PyMySQL download address: https://github.com/PyMySQL/PyMySQL. If it is not already installed, we can use the following command to install the latest version of PyMySQL: $ pip install PyMySQL If your system does not support the pip command ...

Posted by ganlal on Thu, 19 Mar 2020 09:10:11 -0700

Create operator in RxJS

The creation operators in RxJs are the starting point of creating data flow. These operators can create a flow out of nothing or according to other data forms. The Observable constructor can directly create a data flow, such as: const $source=new Observable(observer=>{ observer.next(1); observer.next(2); observer.next(3); }) H ...

Posted by brij_theinvader on Thu, 19 Mar 2020 04:46:31 -0700

Prometheusf installation and use

Reference resources https://blog.51cto.com/14157628/2473866?source=dra Before deploying Prometheus, due to the low configuration of the experimental environment, the original dashboard and Scope were deleted! Before you actually deploy Prometheus, you should understand the relationships and functions among the components of Prometheus: 1) ...

Posted by [JayZ] on Wed, 18 Mar 2020 08:22:06 -0700

Docker compose deploy jumpserver fortress machine

1, Environment deployment 1. Build docker environment yum -y install docker 2. Install docker compose curl -L https://github.com/docker/compose/releases/download/1.23.2/docker-compose-`uname -s`-`uname -m` -o /usr/bin/docker-compose chmod +x /usr/bin/docker-compose 3. Create project directory mkdir -p /data/jms cd /data/jms 4. Download the doc ...

Posted by efron on Tue, 17 Mar 2020 11:02:24 -0700

Spring Learning Road 1

Spring Framework brief introduction The Spring framework was created due to the complexity of software development Purpose: To solve the complexity of enterprise application development Functionality: Replace EJB with basic JavaBean and provide more enterprise application functionality Scope: Any Java application Advantage: Open Source Free F ...

Posted by mitch.craig on Tue, 17 Mar 2020 09:45:17 -0700

Picture Preload Component for WeChat Applet-wxapp-img-loader

As you can see from the title, wxapp-img-loader is a plug-in for pre-loading picture components of WeChat applet and has been applied in Jingdong Shopping Applet Edition.The following steps are used: 1. Copy the img-loader directory to your project 2. Add the following code to the WXML file of the page to introduce the compon ...

Posted by jeva39 on Tue, 17 Mar 2020 09:16:42 -0700

Configuration method of Frp intranet penetration in raspberry pie

Material Science Raspberry pie A server with public IP One filed domain name (not required) Course Prepare corresponding procedures download Download address: https://github.com/fate/frp/releases ## Server side wget https://github.com/fatedier/frp/releases/download/v0.32.0/frp_0.32.0_linux_38 ...

Posted by gunabalans on Tue, 17 Mar 2020 00:42:56 -0700

How to use Serverless to implement a book query App

I have a friend (this friend is not me). There is a small library in my friend's unit. There are many books in the library. Although each book is numbered in the corresponding area, after all, there is no library management system, so it will take some time to find it. In order to make it easier for you to find these books, my friend contacted ...

Posted by Tucker1337 on Mon, 16 Mar 2020 03:08:15 -0700

The dynamic display method and timer of the nixie tube

The previous blog blog mainly recorded some simple external interrupts and timer usage. At that time, we would only let the designated nixie tube display the same number. In this blog, we will record several ways to let different nixie tubes display different numbers (also called dynamic display). A ...

Posted by MadDawgX on Fri, 13 Mar 2020 20:39:06 -0700

Spring Security + JWT, realize the right control of separating and adapting the restful API before and after

Preface Spring security adopts the form based authentication form by default, which is related to the forms such as login authorization and authentication from the user with session identification. At present, many applications are developed based on the restful API style of SpringBoot, which can not ...

Posted by brandonr on Fri, 13 Mar 2020 04:00:05 -0700