上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 19 下一页
摘要: https://www.cnblogs.com/bxzz/p/4184296.html https://www.laruence.com/2011/01/20/1844.html 阅读全文
posted @ 2020-08-19 17:14 峡谷恶霸 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 面试题: 6.服务器返回的状态码 (301,302,403,404,500 , 505) http://www.daqianduan.com/4280.html 301 Moved Permanently 客户请求的文档在其他地方,新的URL在Location头中给出,浏览器应该自动地访问新的URL 阅读全文
posted @ 2020-08-19 16:54 峡谷恶霸 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 301 意味着客户端可以对结果进行缓存, 搜索引擎或者浏览器都可以把跳转后的地址缓存下来,下一次不必发送这个请求。302 就是客户端必须请求原链接。 https://www.cnblogs.com/lanqiu5ge/p/9457074.html 阅读全文
posted @ 2020-08-19 16:49 峡谷恶霸 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 转: https://baijiahao.baidu.com/s?id=1654225744653405133&wfr=spider&for=pc https://www.cnblogs.com/an-wen/p/11180076.html https://baijiahao.baidu.com/s 阅读全文
posted @ 2020-08-19 15:43 峡谷恶霸 阅读(221) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/jibaicha/article/details/100147646 阅读全文
posted @ 2020-08-18 16:37 峡谷恶霸 阅读(213) 评论(0) 推荐(0) 编辑
摘要: Python time strptime() 函数根据指定的格式把一个时间字符串解析为时间元组。Python time strftime() 函数接收以时间元组,并返回以可读字符串表示的当地时间,格式由参数format决定。Python time mktime() 函数执行与gmtime(), lo 阅读全文
posted @ 2020-08-18 16:18 峡谷恶霸 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 客户端都是通过私钥登录的 无论公钥私钥在服务器或者客户端生成,服务器端都需要安装公钥,就是把公钥放到authokeys 文件里进行安装 若钥匙对在服务器生成的,则需要本地制定 私钥 ssh -i xxx.pem 登录 如果本地默认方式生成的钥匙对,则默认使用~/.ssh/id_rsa 这个私钥,给人 阅读全文
posted @ 2020-08-16 22:37 峡谷恶霸 阅读(812) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/moonbaby/p/12202208.html def show_1(**kargs): for item in kargs.items(): print(item)user_dict = {'k1':123,'k2':456} show_1(**u 阅读全文
posted @ 2020-08-16 12:04 峡谷恶霸 阅读(166) 评论(0) 推荐(0) 编辑
摘要: signals.py: 主要用于ctrl c 的信号处理 "CATCHBREAK = " -c, --catch Catch control-C and display results\n" " 判断需要CATCHBREAK 后调用signal 给 SIGINT 添加处理函数(捕捉SIGINT 并且 阅读全文
posted @ 2020-08-14 17:16 峡谷恶霸 阅读(375) 评论(0) 推荐(0) 编辑
摘要: class _WritelnDecorator(object): """Used to decorate file-like objects with a handy 'writeln' method""" def __init__(self,stream): self.stream = strea 阅读全文
posted @ 2020-08-12 11:04 峡谷恶霸 阅读(321) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 19 下一页