When you try to consume a standard C4C Web service from SoapUI, you may meet with this error message below: Authorization role missing for service XXX ...
分类:
Web程序 时间:
2020-09-08 20:47:48
阅读次数:
51
1 #获取某个文件夹下的所有代码总行数 2 import os 3 def GetAllPath(dirname): 4 result = [] 5 for maindir, subdir, file_name_list in os.walk(dirname): 6 for filename in ...
分类:
其他好文 时间:
2020-09-07 18:42:30
阅读次数:
44
本文档总结了python2->3升级过程中遇到的编码问题 1.UnicodeDecodeError:“ascii” codec cannot decode byte oxe6 in position 501:ordinal not in range 定位:从报错日志可以发现代码运行到with ope ...
分类:
编程语言 时间:
2020-09-03 16:44:23
阅读次数:
42
高性能异步爬虫目的:在爬虫中使用异步实现高性能的数据爬取操作异步爬虫的方式: - 多线程、多进程(不建议): 好处:可以为相关阻塞的操作单独开启多线程或进程,阻塞操作就可以异步执行; 弊端:无法无限制的开启多线程或多进程。 - 线程池、进程池(适当的使用): 好处:我们可以降低系统对进程或线程创建和 ...
分类:
编程语言 时间:
2020-08-31 13:23:39
阅读次数:
70
<?php /** * @description 导出数据到CSV * @param array $data 二维数据数组 * @param array $head 列标题 一维数组 * @param string $fileName 导出的文件名称 */ function export_to_cs ...
分类:
Web程序 时间:
2020-08-26 18:48:45
阅读次数:
68
1、从服务器下载文件 scp username@servername:/path/filename /tmp/local_destination 例如:scp codinglog@192.168.0.101:/home/kimi/test.txt 把192.168.0.101上的/home/kimi ...
分类:
Web程序 时间:
2020-08-25 15:41:37
阅读次数:
53
错误情况: go: missing Git command. See https://golang.org/s/gogetcmd package github.com/astaxie/beego: exec: “git”: executable file not found in %PATH% 解决 ...
分类:
Web程序 时间:
2020-08-18 14:08:26
阅读次数:
104
压缩文件,可以节省磁盘空间,在传输过程中还能节省网络带宽;打包文件,将一个目录合并成一个文件;常见压缩文件后缀名有:.gz:表示由gzip压缩工具压缩的文件;.bz2:表示由bzip2压缩工具压缩的文件;.xz:表示由xz压缩工具压缩的文件;.zip:表示由zip压缩工具压缩的文件;.tar:表示由tar打包程序打包的文件;.tar.gz:先tar打包,然后再gzip压缩的文件;.tar.bz2:
分类:
其他好文 时间:
2020-08-18 13:48:26
阅读次数:
89
像其他语言一样,Shell 也可以包含外部脚本,将外部脚本的内容合并到当前脚本。Shell 中包含脚本可以使用: . filename 或 source filename 两种方式的效果相同,简单起见,一般使用点号(.),但是注意点号(.)和文件名中间有一空格。例如,创建两个脚本,一个是被调用脚本 ...
分类:
系统相关 时间:
2020-08-17 17:32:23
阅读次数:
74
https://www.runoob.com/html/html5-canvas.html 在线测试: https://www.runoob.com/try/try.php?filename=tryhtml5_canvas_tut_path ...
分类:
其他好文 时间:
2020-08-17 17:14:01
阅读次数:
63