Tag:template

  • Notes on regular expressions (5)

    Time:2021-3-5

    Template In the back-end language, there will be corresponding template language support smarty, blade // php velocity, freemarker // jsp However, in the front end, if you want to use the template, you have to do it yourself. At this time, we have to ask outString.replaceThere’s no way. thinking Constructing regular expressions Define matching rules […]

  • Automatic code generation based on springboot and mybatis plus

    Time:2021-3-4

    Automatic code generation based on springboot and mybatis plus Originally, this chapter will introduce redis + AOP optimization permission, but we still need to introduce some mybatis plus automatic generation code first Introduction to mybatis plus Mybatis plus (opening new window) (MP) is an enhancement tool of mybatis (opening new window). Based on mybatis, it […]

  • vue-admin-wonderful

    Time:2021-3-3

    <div align=”center”> <img> <p align=”center”> <a href=”https://github.com/vuejs/vue” target=”_blank”> <img> </a> <a href=”https://github.com/ElemeFE/element” target=”_blank”> <img> </a> <a href=”https://github.com/axios/axios” target=”_blank”> <img> </a> <a href=”https://gitee.com/lyt-top/vue-admin-wonderful/blob/master/LICENSE” target=”_blank”> <img> </a> </p> <p>&nbsp;</p> </div> introduce vue-admin-wonderful,A set of software based on vue2. XElement UI 2.14.1 one stop platform template of background management system.Five templates have been released: one Pro version (including […]

  • Django 1.8 official document translation: 9-1-4 format localization

    Time:2021-3-1

    Format localization overview Django’s formatting system can use the current_ District_Specific formats to display dates, times, and numbers. You can also handle the localization of the input in the form. When it is turned on, two users accessing the same content may see dates, times, and numbers formatted in different ways, depending on the format […]

  • SSR server side rendering

    Time:2021-3-1

    The front-end SSR scheme is popular in recent years, such as react’s next framework, Vue’s nuxt framework and so on Introduction: use Vue.js When building client applications, Vue components are output in the browser by default to generate Dom and operate dom. Using SSR, the same component can be rendered as a server-side HTML string, […]

  • Application management in k8s — creation and maintenance of private helm chart

    Time:2021-2-27

    A series of articles: Application management under k8s — Understanding Helm Application management under k8s — understanding helmfile TLS certificate management under k8s Application management in k8s — creation and maintenance of private helm chart In the previous article, I introduced: How to use gitlab CI for continuous deployment. How to deploy and apply helm […]

  • Meditation on C + + template

    Time:2021-2-26

    On abstraction — Preface The story starts with a function that seems very simple: Please calculate the sum of two numbers. If you’re familiar with Python, you’ll think, “Wow! It’s so simple! ” Then write the following code: def Plus(lhs, rhs): return lhs + rhs So what about C? You need to face this problem: […]

  • Application management under k8s — Understanding Helm

    Time:2021-2-26

    A series of articles: Application management under k8s — Understanding Helm Application management under k8s — understanding helmfile TLS certificate management under k8s Application management in k8s — creation and maintenance of private helm chart HelmIt is a “package manager” for kubernetes. Although it is called package manager, it is slightly different from the package […]

  • [go] gocron source code reading – go language web framework macaron

    Time:2021-2-26

    Gocron source code using the makaron framework, the following is to install this framework, and the general MVC framework is very similargo get gopkg.in/macaron.v1git clone https://github.com/golang/crypto.git $GOPATH/src/golang.org/x/crypto Monitor port 80, a simple example of using template engine package main import “gopkg.in/macaron.v1” func main() { m := macaron.Classic() //Using the template engine m.Use(macaron.Renderer()) m.Get(“/”, func(ctx *macaron.Context) […]

  • Multi data source configuration of spring boot mybatis

    Time:2021-2-25

    The case of configuring multiple data sources in the spring boot project is often encountered in the development. In this paper, we use spring boot + mybatis to build a MySQL + PostgreSQL dual data source project. Please refer to: https://gitee.com/senn-wen/my… 1、 Dependency configuration staypom.xmlFilepostgresqland mysqlThe driver file for. <dependency> <groupId>org.postgresql</groupId> <artifactId>postgresql</artifactId> <scope>runtime</scope> </dependency> <!– […]

  • Comments for regular expression matching code blocks

    Time:2021-2-25

    There are many ways to use regular internal logic short-circuit matching We use multi branching to exclude, like if else, we don’t need to write complete conditions.Sometimes, small and wide conditions can not only match the final goal, but also add to the cake regexp = /str|regexp|lineannotaion|blockannotation|tampstring/g let tmp=”, str = ` ${tmp+’\`’+”${}”+ `${tmp}`+ /*A*/ […]

  • Start a Vue entry project

    Time:2021-2-24

    Detailed description of the project See the first postShare: an online markdown resume project completed by Vue + markdown entry name 1024 RESUME Project address websiteresume.1024.cool GitHub github.com/1024-cool/markdown-resu… Project background Jack is going to start a new career. There are a few things to do in job hunting. resume interview contract I don’t like many […]