来源:https://www.cnblogs.com/dylancao/p/10019528.html 一 直接定义法: 1.直接定义 matrix=[0,1,2,3] 2.间接定义 matrix=[0 for i in range(4)] print(matrix) 二 Numpy方法: Nump ...
分类:
编程语言 时间:
2021-06-23 16:54:47
阅读次数:
0
input框 <div id="example"></div> <script type="text/babel"> class Content extends React.Component { render() { return <div> <input type="text" value={t ...
分类:
其他好文 时间:
2021-06-23 16:49:23
阅读次数:
0
1.配置:进入dubbo-monitor-simple-2.0.0\conf目录修改dubbo.properties文件 dubbo.registry.address=zookeeper://127.0.0.1:2181 2、监控中心配置 参考官网:https://dubbo.apache.org/ ...
分类:
其他好文 时间:
2021-06-23 16:44:46
阅读次数:
0
CI/CD 是一种通过在应用开发阶段引入自动化来频繁向客户交付应用的方法。CI/CD 的核心概念是持续集成、持续交付和持续部署。作为一个面向开发和运营团队的解决方案,CI/CD 主要针对在集成新代码时所引发的问题(亦称:“集成地狱”)。 很多收费的CI/CD对开源项目都很友好(比如支持github的 ...
分类:
其他好文 时间:
2021-06-22 18:38:42
阅读次数:
0
服务器svn重新生成--Git clone 1588 svn info 1589 cd .. 1590 rm rules -fr 1591 ls 1592 svn up 1593 svn co http://svn.xxxxx.com/xxxxx/uledeploy_doc/prometheus/r ...
分类:
其他好文 时间:
2021-06-22 18:16:56
阅读次数:
0
1、查看所有索引 GET _cat/indices 2、创建一个新的索引 PUT /test { "mappings": { "_doc": { "properties": { "id": {"type": "keyword"}, "title": {"type": "keyword"}, "esD ...
分类:
其他好文 时间:
2021-06-21 21:11:29
阅读次数:
0
把路径配置到<Context> docBase中,把<Host> 的 appBase手动设为空,就OK了 <Host name="localhost" appBase=""> <Context path="" docBase="D:/ProA/ProA.war" reloadable="true" ...
分类:
其他好文 时间:
2021-06-21 20:36:07
阅读次数:
0
1、122 公钥 加入120 121 的 authorized_keys2、搭私服3、主机安装jenkins4、jenkins命令行 build tag push ssh 远程服务器 ' pull' ssh 远程服务器 ' run' ...
分类:
其他好文 时间:
2021-06-21 19:56:06
阅读次数:
0
#!/bin/bash rm -rf /var/lib/docker yum remove docker \ docker-client \ docker-client-latest \ docker-common \ docker-latest \ docker-latest-logrotate ...
分类:
其他好文 时间:
2021-06-21 19:53:25
阅读次数:
0
文件相关命令: 格式:dir 文件目录 作用:查看指定目录下的所有文件或文件目录 格式:dir 文件目录 | more 作用:分页显示指定目录下的所有文件或文件目录 格式:echo 写入文件的内容 > 盘符:\..\文件名.扩展名 作用:创建一个新文件,并向该新文件中写入指定内容 注释: >> 为追 ...