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

Fabrc 2.0 External Chain Code Development Tutorial

A new feature introduced in Hyperledger Fabric 2.0 is the ability to use external chain code launchers, which are ideal for using kubenetes or dowcker swarm to manage node and chain code containers in a unified manner.In this article, we will learn how to deploy chain codes in a K8s cluster using an external chain code launcher. 1. Prerequisite ...

Posted by Whetto on Thu, 12 Mar 2020 19:14:19 -0700

Go language - package static files

For the developers of Go language, while enjoying the convenience of the language, we are also keen on the final compilation of a single executable. However, Go did not compile our static resource file when compiling into binary file. If we are developing web application, we need to find a way to compil ...

Posted by burfo on Thu, 12 Mar 2020 02:21:59 -0700

The general interface of psr/log log database

https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md composer require psr/log Log interface specification In this paper, the general interface specification of log class library is established. The main purpose of this specification is to make the log class library record log information by receiving a Ps ...

Posted by mark_18 on Wed, 11 Mar 2020 23:05:21 -0700

NO.89 - Applying Xgboost to Predict Insurance Compensation

Article Directory 1 Data analysis 1.1 First look at what the data looks like 1.2 Continuous and categorical variables 1.3 Number of attributes in categorical variables 1.4 Compensation value 1.5 Continuous Variable Characteristics 1.6 Correlation between features 2 Xgboost 2.1 Data Preprocessing 2.2 ...

Posted by rimelta on Wed, 11 Mar 2020 21:00:47 -0700

SpringBoot2 integrates ElasticJob framework and customizes management process

Source code for this article: GitHub. Click here || GitEE. Click here 1. Introduction to ElasticJob 1. Timing Tasks In the previous article, you said that QuartJob is a timed task standard that is widely used.But the core point of Quartz is that executing timed tasks is not focused on business models and scenarios, and lacks highly customized ...

Posted by daedlus on Wed, 11 Mar 2020 16:53:30 -0700