摘要:
环境: CentOS 7 (Docker) safedog_an_linux64_2.8.21207,安全狗下载链接 http://free.safedog.cn/install_desc_website.html 安装步骤 使用脚本安装LAMP环境 下载 CentOS 7 的 docker,doc 阅读全文
posted @ 2021-02-03 16:53
TheTai
阅读(1378)
评论(1)
推荐(0)
摘要:
使用 python 的 subprocess 模块执行系统命令时,建议按下面的方式使用 run,而不使用 check_output。 check_output 获取错误输出 stderr 的时候会有问题。无法获取错误输出。使用 run 时,可以根据 renturncode 来判断进程结束的状态。 i 阅读全文
posted @ 2021-02-03 16:36
TheTai
阅读(165)
评论(0)
推荐(0)
摘要:
创建仓库并添加远程 git init git add . git commit -m 'new git' 添加远程仓库,git remote add origin git@github.com:githublihaha/learngit.git 提交远程仓库,git push -u origin m 阅读全文
posted @ 2021-02-03 15:33
TheTai
阅读(126)
评论(0)
推荐(0)
摘要:
问题 在使用 flask restful 编写RESTful接口的时候,可以使用 Flasgger 为RESTful接口添加SwaggerUI,直接集成在当前的flask服务器中。在测试的时候使用flask内置的HTTP服务器,启动之后,默认是5000端口,直接访问http://localhost: 阅读全文
posted @ 2021-02-03 15:21
TheTai
阅读(2243)
评论(0)
推荐(0)
摘要:
问题 使用 flask_restful 编写 RESTFUL 接口,使用其中的 reqparse 进行参数解析时,一般按下面这样使用的 from flask_restful import Resource, reqparse class Scans(Resource): def __init__(s 阅读全文
posted @ 2021-02-03 14:44
TheTai
阅读(326)
评论(0)
推荐(0)

浙公网安备 33010602011771号