Automatic Installation of Linux PXE + Kickstart

When installed on a large scale, it is easy to operate manually and improve efficiency by using unattended equipment. PXE Network Installation Configuration of Dual Network Cards Here, ens33 is a nat network, ens37 is a host-only network, and ens37 is configured. [root@localhost ~]# cd /etc/sysconfig/network-scripts/ [root@localhost networ ...

Posted by greedyisg00d on Mon, 07 Oct 2019 15:33:16 -0700

Using python to realize small projects

Our friends are from all corners of the country. We can use python's powerful database to realize the statistics of friends. Tools: wxpy library, wordcloud library, matplotlib library, openpyxl library, pandas library, numpy library. 1, first realize the landing and acquisition of friend data operation. ...

Posted by missyevil on Mon, 07 Oct 2019 12:42:42 -0700

Implementation of Single Layer Perceptron

Single Layer Perceptor Input Nodes: x1, x2, x3 Output node:Y Weight vectors: w1, w2, w3 Bias factor:b Activation function: f =sign(x), that is, f=1 when x > 0, f=1 when x < 0, f=0 when x = 0; An example: [Comments, explanations in code] If B = 0.7, the input initial weights of x1, x2 and x3 ...

Posted by kumschick on Mon, 07 Oct 2019 04:29:09 -0700

Some personal records of Token

Token: In computer identity authentication, it means token (temporary) and in lexical analysis it means token. Generally used as an invitation and login system. Token is a token used to authenticate first. Secondly, its existence is time-limited, expired, and it can store some information in token. ...

Posted by veluit06 on Mon, 07 Oct 2019 04:21:25 -0700

How to encapsulate axios with vue!

How to package axios with vue This project needs to add validation code before login. In order to facilitate the distinction between request interfaces, it can encapsulate two request interfaces, one is required before login, and the other is requested after login, so that they do not interfere with ...

Posted by atitthaker on Sun, 06 Oct 2019 23:09:09 -0700

Spring Boot (Non-Web Project) Integrates Kafka

Article directory Summary Birth background Business processes: Environmental Science Cui Hua! Upper code pom file Entrance last Summary Birth background A brief introduction to the background. At present, Kafka is the main message queue in our company. JQ uses both internal and external ne ...

Posted by empnorton on Sun, 06 Oct 2019 22:28:13 -0700

"Small Program JAVA Actual Warfare" Small Program Registration and Backend Debugging (35)

The registration interface of spring boot in the back end of the applet has been completed. The next step is to modify the front-end request of the applet. I mentioned the api of wx.request before. Source: wx-spring boot and No.15 in https://github.com/limingios/wxProgram.git Registration and back-end debugging Define the path of the back-end ...

Posted by subwiz on Sun, 06 Oct 2019 22:15:42 -0700

Zuul (spring-cloud-zuul) Source Code Interpretation of Technology and Architecture

Preface Zuul is Netflix's open source micro-service gateway, which can be used in conjunction with Eureka,Ribbon,Hystrix and other components. It is currently integrated into the system by spring-cloud. zuul source code contains a lot of test code Many of zuul's code is 11 years old. What is gateway and why gateway is needed? The encyclope ...

Posted by nalleyp23 on Sun, 06 Oct 2019 18:55:49 -0700

PyTorch Project Application Example (Reprint)

Links to the original text: https://blog.csdn.net/weixin_36474809/article/details/90030682 PyTorch Project Application Example (8) Fixed Weight | Sequential Training Network Application Example of PyTorch Project (7) Model Adding Relay ...

Posted by LostinSchool on Sun, 06 Oct 2019 05:39:37 -0700

Small animation and dynamic storage setdata problem

Small animation and dynamic storage setdata problem If you want to make multiple elements in the WeChat applet one by one, the effect will be similar to the following: First, refer to the contents of the API animation part of the development document.Developing Document API - Animation Create animati ...

Posted by camdagr81 on Sun, 06 Oct 2019 00:47:13 -0700