Tag:Name

  • Mybatis configuration details

    Time:2021-3-4

    mybatis- config.xml Core profile mybatis- config.xml The contents are as follows Configuration Properties Settings Typealiases (type aliases) Typehandlers (type processors) Objectfactory (object factory) Plugins (plug-ins) Environments (environment configuration) Environment (environment variable) Transaction manager Datasource (data source) Databaseidprovider (database vendor identification) Mappers (mapper) Pay attention to the order of element nodes! Wrong sequence will be reported […]

  • Convenient path management in shell

    Time:2021-3-2

    Problems solved When we use the terminal, we often need to jump back and forth in different paths. How to add, use and remove shortcut paths more conveniently, and directly share shortcut paths in multiple shells, is the problem that this small project needs to solve. Install $ cd ~ $ git clone https://github.com/ymzuiku/bash_pash_history.git In. […]

  • TLS certificate management under k8s

    Time:2021-3-1

    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 It’s very easy to implement TLS termination in kubernetes. The ingress resource contains asecretNameProperty to specify the name of the […]

  • Secondary development of UAV SDK based on Dajiang

    Time:2021-3-1

    Secondary development of UAV SDK based on Dajiang In the near future, the company needs to develop a mobile app based on Dajiang UAV SDK to cooperate with the background to realize the management of UAVs. Of course, Dajiang itself also provides us with a management platform – Dajiang Sikong. Through the official app of […]

  • 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 […]

  • [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) […]

  • Go real combat basic use of redis

    Time:2021-2-24

    We have described the creation of redis pool and cluster mode. First, let’s look at the basic code: //Create a connection redisPool := redisClient.ConnectRedisPool() defer redisPool.Close() _, err = redisPool.Ping().Result() if err != nil { logs.Info(“Login/login redis ping error: “, err) } //Set auto increment and expiration time redisPool.Incr(login.Name) redisPool.Expire(login.Name, time.Minute) //Get the value corresponding […]

  • Es for laravel: the simplest way for laravel to operate elasticsearch is to install the composer package

    Time:2021-2-24

    Composer installation: composer requires ethansmart / es for laravel GitHub address: https://github.com/roancsu/es-for-laravel ES for Laravel Usage Esbuilder has two modes Es ORM client: support model mapping Es client (non ORM mode): supports native es Using ES ORM client First, create an ORM model use Ethansmart\EsBuilder\Model\EsModel; /** * Class AtPerson *$host es IP or URL address […]

  • IOS application ID, package ID, appid, bundleid Application Tutorial

    Time:2021-2-24

    Application ID: also known as package ID, appid, bundleid, package name, different packaging platforms! (each app needs to have one ID card, which is unique) 1. Select the description file, click add in the lower right corner, and click Add application ID With ID: three paragraph format, such as the app name is Taobao, can […]

  • Dockerfile: Alibaba cloud container service

    Time:2021-2-24

    1 log in to alicloud Select container image service 2 create a namespace 3 Create warehouseFill in the informationRemember to choose the local warehouse here 4. Click the name of the created warehouse to get the detailed way of publishing the image

  • Why should hyperf turn off the short name of the spool coroutine

    Time:2021-2-22

    It is mentioned in the server requirements of hyperf official documents Spool PHP extension > = 4.5, and short name is turned off Also, you can see it in the frequently asked questions in the documentSpool short name not closedThis is a tag. I want to ask why hyperf has to turn off the short […]

  • Docker creates a fixed IP CentOS container

    Time:2021-2-22

    Pull image docker pull centos Create a custom network docker network create –subnet=172.18.0.0/16 mynetwork Start the CentOS container of fixed IP docker run -itd –privileged –name centos1 –net mynetwork –ip 172.18.0.11 centos:latest /usr/sbin/init docker run -itd –privileged –name centos2 –net mynetwork –ip 172.18.0.12 centos:latest /usr/sbin/init docker run -itd –privileged –name centos3 –net mynetwork –ip 172.18.0.13 […]