针对Windows系统设置方式如下: 进入C:\Users\用户名目录下,新建pip文件夹\pip.ini: 将下列内容复制到pip.ini文件中保存即可: [global] index-url = http://pypi.douban.com/simpletrusted-host = pypi.d ...
分类:
其他好文 时间:
2020-06-03 21:56:20
阅读次数:
218
为了进行复杂信息的存储和查询,服务端系统往往需要数据库操作。数据库分为关系型数据库和非关系型数据库,关系型数据库有MySQL、Oracle、SQL Server等,非关系型数据库有Redis(常用来做缓存)、MongoDB等。MySQL是目前很流行的数据库,本文将要介绍如何在node服务中进行MyS ...
分类:
数据库 时间:
2020-06-03 17:17:48
阅读次数:
58
使用OSW Analyzer分析oswbb日志发生大量异常,最终通过java -Duser.language=en -Duser.country=us -jar oswbba.jar -i 解决 ...
分类:
其他好文 时间:
2020-06-03 13:57:52
阅读次数:
67
排序sort: ? db.users.find().sort() 依照age字段进行倒序 ? db.users.find().sort() 依照age字段进行正序 筛选limit: db.users.find().limit(4) 筛选前4条数据 跳过skip: db.users.find().sk ...
分类:
数据库 时间:
2020-06-03 00:24:24
阅读次数:
102
1 class Program 2 { 3 static void Main(string[] args) 4 { 5 string str=@"C:\Users\Administrator\Deskto\1.txt"; 6 //获得文件名 7 Console.WriteLine(Path.GetF ...
分类:
其他好文 时间:
2020-06-02 21:45:53
阅读次数:
86
pip install opencv-python 运行demo: import cv2 img = cv2.imread(r"C:\\Users\\wucj\\Desktop\\lion.jpg", 1) cv2.imshow("1", img) cv2.waitKey() ...
分类:
其他好文 时间:
2020-06-02 19:19:44
阅读次数:
74
1.拉取镜像 sudo docker pull fauria/vsftpd 2.1 创建单用户ftp启动ftp容器,并且生成zhangsan ftp虚拟账号(只能使用ftp登录) docker run -d -p 20:20 -p 21:21 -p 21100-21110:21100-21110 - ...
分类:
其他好文 时间:
2020-06-02 18:53:59
阅读次数:
195
以 apache-activemq-5.15.12-bin.tar.gz 为例,修改activemq.xml 在 <broker> 节点内的 <systemUsage> 节点前面新增如下xml片段: <plugins> <simpleAuthenticationPlugin> <users> <au ...
分类:
其他好文 时间:
2020-06-02 13:10:17
阅读次数:
56
@echooffdate/t>>C:\Users\ZYB\Desktop\a.txttime/t>>C:\Users\ZYB\Desktop\a.txtecho"请输入要ping的地址活域名,并按回车"set/pipad=echo"----------------------------------------"echo"请
分类:
其他好文 时间:
2020-06-02 09:31:39
阅读次数:
65
C:\Users\moyuan\Desktop\fire500>jupyter nbconvert --to script *.ipynb Traceback (most recent call last): File "E:\Work_Software\Anaconda3\Scripts\jupy ...
分类:
其他好文 时间:
2020-06-02 09:26:30
阅读次数:
134