新公司是内网环境,无法使用pip安装第三方资源库,在网上搜下,可以直接使用pip打包本机所安装的第三方资源库,打包成whl文件 一 进入cmd命令行 1 打包单个模块 pip download pytest -d /tmp 2 打包本机所有的包 pip freeze >requirements.tx ...
分类:
编程语言 时间:
2020-05-12 22:02:50
阅读次数:
97
删除指定路径下的 以xxx开头xxxx结尾的文件 public static void main(String[] args) { File file = new File("D:\\WindowsETC\\ETC_Managent\\apache-tomcat\\bin");//文件目录 File ...
分类:
其他好文 时间:
2020-05-12 20:42:29
阅读次数:
76
Configuring MariaDB with Option Files MariaDB Knowledge Base https://mariadb.com/kb/en/configuring mariadb with option files/ default option file loca ...
分类:
数据库 时间:
2020-05-12 20:32:31
阅读次数:
87
安装好Anaconda后,在anaconda promt命令行,或者Pycharm console中,输入以下命令 anaconda promt 原因是python3.7无法适配tensorflow,所以要安装python3.6虚拟环境。 然后用清华镜像,代替pip官网,快速下载你想要的包。 因为我 ...
分类:
其他好文 时间:
2020-05-12 20:27:17
阅读次数:
98
Grafana从2.1开始支持LDAP集成LDAP的统一用户登录认证。默认是LDAP是未启用,需手动更改配置使之能支持LDAP。在参考官方文档GrafanaLDAPAuthentication进行配置。Grafana主配置文件grafana.ini中开启LDAP认证vim/etc/grafana/grafana.ini[auth.ldap]enabled=trueconfig_file=/etc/
分类:
其他好文 时间:
2020-05-12 18:42:43
阅读次数:
258
可以用vlookup之类的函数解决这个问题,虽然整个过程不算太难,但只要数据发生变动,每次就要重复这个过程,这就显得太繁琐了。用VBA可以让这个过程自动化,但写法过于复杂,一般人很难掌握。 用esProc就简单多了,只需几行代码就能完成过滤: A B D 1 =file("param.xlsx"). ...
分类:
其他好文 时间:
2020-05-12 16:57:21
阅读次数:
99
1 package com.yhqtv.java1; 2 3 import java.io.File; 4 5 /* 6 * 使用递归打印指定目录下所有文件名(包括所有子目录下的) 7 * @author XMKJ yhqtv.com Email:yhqtv@qq.com 8 * @create 2 ...
分类:
其他好文 时间:
2020-05-12 14:14:56
阅读次数:
54
工作需要,在测试环境搭建了一下日志平台,记录一下。 服务器:linux centos 工具列表:elasticsearch,kibana,filebeat 1、下载es,kibana,filebeat 。直接官网下载 https://www.elastic.co/cn/,因为我的jdk是1.8,所以 ...
分类:
其他好文 时间:
2020-05-12 14:02:56
阅读次数:
127
1 package com.yhqtv.java1; 2 3 import java.io.File; 4 5 /* 6 * 指定后缀文件搜索 7 * @author XMKJ yhqtv.com Email:yhqtv@qq.com 8 * @create 2020-05-12-12:15 9 * ...
分类:
其他好文 时间:
2020-05-12 13:59:52
阅读次数:
50
public static void main(String[] args) { File file = new File("C:\\Users\\17146\\Desktop\\a.xlsx"); FileItemFactory factory = new DiskFileItemFactory( ...
分类:
编程语言 时间:
2020-05-12 13:41:33
阅读次数:
61