一、原因: 我的服务器是香港的服务器,使用 可视化部署 的时候,由于默认的下载地址是阿里云的地址,所以下载的时候总是下载超时。无奈只能使用命令行部署。 二、手动部署 这是官方给出 命令行部署 的知道说明。 bash mkdir yapi cd yapi git clone https://githu ...
sys.argv 命令行参数List,第一个元素是程序本身路径 sys.modules 返回系统导入的模块字段,key是模块名,value是模块 sys.exit(n) 退出程序,正常退出时exit(0) sys.version 获取Python解释程序的版本信息 sys.maxint 最大的Int ...
分类:
其他好文 时间:
2020-05-24 11:52:18
阅读次数:
52
https://blog.csdn.net/liigo/article/details/19249145 Rust运行时指南(官方文档翻译) A Guide to the Rust Runtime, by Alex Crichton and Brian Anderson 翻译:庄晓立(Liigo), ...
分类:
其他好文 时间:
2020-05-24 11:49:48
阅读次数:
173
Ruby 提供了一整套 I/O 相关的方法,在内核(Kernel)模块中实现。所有的 I/O 方法派生自 IO 类。 类 IO 提供了所有基础的方法,比如 read、 write、 gets、 puts、 readline、 getc 和 printf。 本章节将讲解所有 Ruby 中可用的基础的 ...
分类:
其他好文 时间:
2020-05-23 18:10:31
阅读次数:
54
1. 概念 开发依赖:devDependencies 运行依赖:dependencies 2. 理解 (1)devDependencies 在线上状态不需要使用的依赖,就是开发依赖。为什么 npm 要把它单独分拆出来呢?最终目的是为了减少 node_modules 目录的大小以及 npm insta ...
分类:
其他好文 时间:
2020-05-23 18:00:55
阅读次数:
349
文件位置 /usr/share/metasploit-framework/modules/ 技术功能模块介绍 exploits 利用系统漏洞进行攻击的操作,此模块对应每一个具体漏洞的攻击方法 payload 成功exploit之后,真正在目标系统执行的代码攻击 evasion 专门针对windows ...
分类:
Web程序 时间:
2020-05-23 16:50:33
阅读次数:
120
1.读取 file_path = r'D:\DingDing\main\current\download\SMSSpamCollection' sms = open(file_path, 'r', encoding='utf-8') sms_data = [] sms_label = [] csv_ ...
分类:
其他好文 时间:
2020-05-23 00:17:30
阅读次数:
55
1.读取 2.数据预处理 3.数据划分—训练集和测试集数据划分 from sklearn.model_selection import train_test_split x_train,x_test, y_train, y_test = train_test_split(data, target, ...
分类:
其他好文 时间:
2020-05-22 21:42:20
阅读次数:
75
修改config表 修改前端代码 将.\webapp\p\modules\workflow\base\js中的3行注释去掉 ...
分类:
其他好文 时间:
2020-05-22 16:55:14
阅读次数:
45
[toc] route命令 功能说明:显示或管理路由表,路由表是在内核中的,route命令会立刻修改内核中的路由表,立即生效,系统重启后失效。 用法 route [ n] route add [ net| host] target [netmask Nm] [gw Gw] [[dev] If] ro ...
分类:
系统相关 时间:
2020-05-22 10:05:04
阅读次数:
74