系统 windows 命令 nginx -t 报错 nginx emerg invalid number of arguments in "root" directive.... 原因 root行配置最后没写分号导致,加上分号即可解决 ...
分类:
其他好文 时间:
2020-12-29 11:29:07
阅读次数:
0
type annotation 类型注解 let count: number; count = 1; type inference 类型推断 const one = 1; const two = 2; const three = one + two; const person = { name: " ...
分类:
其他好文 时间:
2020-12-29 11:26:26
阅读次数:
0
一、容器的启动 方法一:不推荐使用 先创建一个容器 docker create 镜像名称 在启动容器 docker start 镜像名称 方法二:推荐的 docker run -d -p 宿主机端口:镜像端口 镜像名称:version run:创建并运行一个容器 -d:在后台运行 -p:端口映射,把 ...
分类:
其他好文 时间:
2020-12-29 11:18:54
阅读次数:
0
pipeline { agent any environment { imagename = "镜像命名" tag = "v${BUILD_NUMBER}" } stages { stage('Pull code') { steps { echo "${imagename}:${tag}" git ...
分类:
编程语言 时间:
2020-12-29 11:16:14
阅读次数:
0
pipeline { agent any environment { imagename = '镜像名' tag = "v${BUILD_NUMBER}" #版本号 } stages { stage('Pull code') { steps { echo "${imagename}:${tag}" ...
分类:
其他好文 时间:
2020-12-29 11:15:03
阅读次数:
0
var window_h=function(element,height){ var element=document.getElementsByClassName(element); for(let i=0;i<element.length;i++){ element[i].style.heigh ...
分类:
其他好文 时间:
2020-12-29 11:11:45
阅读次数:
0
问题描述 在Azure App Service for Windows 中部署Java web项目时候,需要在wwwroot下设置web.config,而争对Jar包,war包则有不同的设置方式,一下两段web.config的内容分别对应Jar 和War包 方式一: 启动Jar包的Web.confi ...
分类:
移动开发 时间:
2020-12-28 11:53:10
阅读次数:
0
TableLayout是ViewGroup 显示子View 行和列中的元素。 启动名为APP的新项目。 打开Resources/Layout/main.axml文件,并插入以下内容: <?xml version="1.0" encoding="utf-8"?> <TableLayout xmlns: ...
分类:
其他好文 时间:
2020-12-28 11:50:57
阅读次数:
0
1,创建统一的网络 docker network create --driver bridge --subnet=10.10.0.0/16 --gateway=10.10.0.1 mynet 2,创建 mongodb 容器 version: '3' services: mongodb: image: ...
设置路径:File -> Setting -> Version Control -> Confirmation Show options before adding to version control :提示选项,自己决定是否将新文件加入到版本控制; Add silently : 默认自动添加,会 ...
分类:
其他好文 时间:
2020-12-28 11:26:39
阅读次数:
0