Mobile page example project: Vue mobile demo

Today, I uploaded the Demo I made in these two days to github and generated a sample project: Vue mobile Demo. I hope it can help the novice. Let's briefly introduce the content of this project Basic situation This project is based on the van demo project, which adds many practical functions, involving Vue + van T + Axios + mockjs, ...

Posted by thetechgeek on Sat, 23 Nov 2019 09:41:16 -0800

Go micro project practice one create user service

User service User service, providing login, registration, password modification and other functions. New service micro new shopping/user Finishing structure Add the model directory and repository directory, delete the default example folder in proto, and create the user folder. Development steps: 1. Define interface - > ...

Posted by proiek on Sat, 23 Nov 2019 09:31:55 -0800

Chat rooms with Swoole+React

Front-end separated projects, chat rooms implemented by Swoole+React, the framework structure of the entire project can be referenced, front-end react+react-redux+react-router+react-ant, etc. Background uses easySwoole to implement the middleware (data encapsulation, token verification, signature verification) by itself, and carefully look at t ...

Posted by magmazing on Sat, 23 Nov 2019 01:45:57 -0800

Python docx operation word file (*. Docx)

Catalog Basic operation Object relationship Add styles Chinese font Microsoft YaHei, Western Font Times New Roman text-indent Style title separately Set hyperlink Reference document Basic operation from docx import Document from docx.shared import Inches # ...

Posted by GarroteYou on Fri, 22 Nov 2019 11:23:17 -0800

k8s practice: kubectl plug-in management tool krew

Environmental description: host name Operating system version ip docker version kubelet version To configure Remarks master Centos 7.6.1810 172.27.9.131 Docker 18.09.6 V1.14.2 2C2G master host node01 Centos 7.6.1810 172.27.9.135 Docker 18.09.6 V1.14.2 2C2G Node node node02 Centos 7.6.1810 172.27.9.136 Docker 18.09.6 V1.14.2 2C2G Node ...

Posted by spiyun on Fri, 22 Nov 2019 03:17:14 -0800

How to deploy the front-end dist directory?

The front-end deployment is actually a part of front-end engineering. This blog is my attempt to summarize the front-end deployment based on my practical work experience and amateur exploration. On the one hand, I have some records, on the other hand, I can give you some inspiration. Deploy to qiniu cloud Deploy to Alibaba cloud OSS and Tence ...

Posted by CBR on Fri, 22 Nov 2019 02:13:52 -0800

'try(A a = new A())' VS 'try finally'

Classes that implement the AutoCloseable interface can instantiate objects directly when trying.When the try block is complete, the close method is called automatically, which is equivalent to calling it actively in finally.But what is the difference between the process after an exception and try finally?Write a code test below. First define ...

Posted by dcampbell18 on Thu, 21 Nov 2019 19:05:31 -0800

'try(A a = new A())' VS 'try finally'

Classes that implement the AutoCloseable interface can instantiate objects directly when trying.When the try block is complete, the close method is called automatically, which is equivalent to calling it actively in finally.But what is the difference between the process after an exception and try finally?Write a code test below. First define a ...

Posted by timbo6585 on Thu, 21 Nov 2019 18:25:32 -0800

Spring Cloud Security: Oauth2 used in conjunction with JWT

SpringBoot e-commerce project mall (20k+star) address: https://github.com/macrozheng/mall abstract Spring Cloud Security provides a series of solutions for building secure SpringBoot applications, and with Oauth2, more functions can be achieved, such as using JWT tokens to store information and refreshing tokens. This article will give a detai ...

Posted by adrianuk29 on Thu, 21 Nov 2019 18:23:31 -0800

[springboot development monomer web shop] 7. Multiple forms of commodity listing

Review above Last Section We have implemented the functions of jd-like round-robin advertising and commodity classification, and explained the different injection methods. In this section, we will continue to realize our e-commerce business, the display of commodity information. requirement analysis First, before we start coding this section, l ...

Posted by webent on Thu, 21 Nov 2019 16:43:50 -0800