导航

 
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 28 下一页

2019年5月17日

摘要: playbooks是 一个不同于使用Ansible命令行执行方式的模式,其功能更强大灵活。简单来说,playbook是一个非常简单的配置管理和多主机部署系统,不同于任何已经存在的模式,可作为一个适合部署复杂应用程序的基础。Playbook可以定制配置,可以按照指定的操作步骤有序执行,支持同步和异步方 阅读全文
posted @ 2019-05-17 17:30 slqt 阅读(551) 评论(0) 推荐(0) 编辑
 
摘要: import osimport shutilimport zipfile count = 1def getSumDir(): sumfilelist = os.listdir(os.getcwd()) for dir in sumfilelist: if ".idea" not in dir: cl 阅读全文
posted @ 2019-05-17 15:02 slqt 阅读(1027) 评论(0) 推荐(0) 编辑
 
摘要: 一、什么是owasp OWASP,全称是:Open Web Application Security Project,翻译为中文就是:开放式Web应用程序安全项目,是一个非营利组织,不附属于任何企业或财团,这也是该组织可以不受商业控制地进行安全开发及安全普及的重要原因,详细的介绍可以参见下方Wiki 阅读全文
posted @ 2019-05-17 14:53 slqt 阅读(4628) 评论(0) 推荐(0) 编辑
 

2019年5月14日

摘要: pip install python-jenkins https://pypi.org/project/python-jenkins/ https://www.cnblogs.com/znicy/p/5498609.html 查找python项目依赖并生成requirements.txt 使用pip 阅读全文
posted @ 2019-05-14 10:56 slqt 阅读(159) 评论(0) 推荐(0) 编辑
 
摘要: WebSocket 是一个标准化协议,构建在 TCP 之上,能够在客户端和服务端之间建立一个全双工的通信渠道。这里的客户端和服务端通常是用户浏览器和 Web 服务器。在 WebSocket 诞生之前,如果我们想保持这样的一个长连接,就需要使用诸如长轮询、永久帧、Comet 等技术。而现今 WebSo 阅读全文
posted @ 2019-05-14 10:35 slqt 阅读(1434) 评论(0) 推荐(0) 编辑
 

2019年5月13日

摘要: 安装 pip install django-crontab 安装 pip install django-crontab 安装 pip install django-crontab 安装 pip install django-crontab 添加app名称到 settings.py中 INSTALLE 阅读全文
posted @ 2019-05-13 09:39 slqt 阅读(6973) 评论(0) 推荐(0) 编辑
 

2019年5月9日

摘要: / 1. 登录到 mongoDB 所在服务器,如果是集群情况,为减轻数据库的压力,可以在从节点执行 // 2、cd 到 mongodb 的 bin 目录,连接数据库(用户名和密码可能需要调整)cd /opt/mongodb/bin./mongo -u {}-p {}--authenticationD 阅读全文
posted @ 2019-05-09 14:03 slqt 阅读(283) 评论(0) 推荐(0) 编辑
 
摘要: <html><head><script> var arrayNation = new Array('汉族','蒙古族','彝族','侗族','哈萨克族'); var arrayDegree = new Array('小学','初中','高中','中专','大专','本科','硕士','博士'); f 阅读全文
posted @ 2019-05-09 10:38 slqt 阅读(3535) 评论(0) 推荐(0) 编辑
 

2019年5月8日

摘要: from websocket import create_connectionws = create_connection("wss://ws.xxxxxxx.info/inv")ws.send(str({"op":"unconfirmed_sub"}))print("Receiving...")r 阅读全文
posted @ 2019-05-08 10:40 slqt 阅读(2092) 评论(0) 推荐(0) 编辑
 
摘要: 比如说界面变成了这样: 解决办法: 1、在服务器上打开python,然后imort django ,print django.__file__查看django包的目录路径,然后在settings.py的路径里加上admin的static文件的路径 2、修改settings.py中STATIC_ROO 阅读全文
posted @ 2019-05-08 09:36 slqt 阅读(1739) 评论(0) 推荐(0) 编辑
 
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 28 下一页