上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 33 下一页
摘要: python编码规范 参考 https://www.python.org/dev/peps/pep-0008/ http://zh-google-styleguide.readthedocs.io/en/latest/google-python-styleguide/contents/ https: 阅读全文
posted @ 2017-12-22 22:34 shhnwangjian 阅读(369) 评论(0) 推荐(0) 编辑
摘要: 安装环境 Centos 7.2 Gogs版本:0.11.4 Nginx安装 修改/etc/nginx/nginx.conf /etc/nginx/conf.d目录下创建gogs.conf文件,用于代理 Mariadb安装 安装方式参见:http://www.cnblogs.com/shhnwangj 阅读全文
posted @ 2017-12-19 09:30 shhnwangjian 阅读(439) 评论(0) 推荐(0) 编辑
摘要: mariadb-5.5 Windows10安装 1、官网下载:https://downloads.mariadb.org/ 2、解压mariadb-5.5.58-winx64.zip,目录C:\mariadb-5.5.58-winx64 3、复制目录下的my-small.ini文件,命名为my.in 阅读全文
posted @ 2017-12-15 17:45 shhnwangjian 阅读(2602) 评论(0) 推荐(0) 编辑
摘要: 转载:https://zhuanlan.zhihu.com/p/31731892 https://kafka-python.readthedocs.io/en/master/usage.html 阅读全文
posted @ 2017-12-08 15:14 shhnwangjian 阅读(248) 评论(0) 推荐(0) 编辑
摘要: 简介 APScheduler基于Quartz的一个Python定时任务框架,实现了Quartz的所有功能,使用起来十分方便。提供了基于日期、固定时间间隔以及crontab类型的任务,并且可以持久化任务。基于这些功能,我们可以很方便的实现一个python定时任务系统。 github:https://g 阅读全文
posted @ 2017-11-22 10:25 shhnwangjian 阅读(15579) 评论(0) 推荐(2) 编辑
摘要: /proc文件系统下的多种文件提供的系统信息不是针对某个特定进程的,而是能够在整个系统范围的上下文中使用。可以使用的文件随系统配置的变化而变化。 /proc/cmdline 这个文件给出了内核启动的命令行。 /proc/cpuinfo 这个文件提供了有关系统CPU的多种信息。 /proc/devic 阅读全文
posted @ 2017-11-10 10:10 shhnwangjian 阅读(607) 评论(0) 推荐(0) 编辑
摘要: nginx模块 官方模块和第三方模块 官方模块 1、--with-http_stub_status_module:nginx的客户端状态 http_stub_status_module配置 语法:stub_status; 配置段:server、location 打开文件/etc/nginx/conf 阅读全文
posted @ 2017-11-05 18:45 shhnwangjian 阅读(313) 评论(0) 推荐(0) 编辑
摘要: nginx变量(日志log_format) HTTP请求变量 - arg_PARAMETER、http_HEADER、sent_http_HEADER 它是指http请求中的变量,举例: curl访问百度页面,需要在access.log显示Host字段内容 修改/etc/nginx/nginx.co 阅读全文
posted @ 2017-11-05 17:45 shhnwangjian 阅读(841) 评论(0) 推荐(0) 编辑
摘要: Nginx简介 Nginx是一个开源且高性能、可靠的HTTP中间件、代理服务。其特点是占有内存少,并发能力强。 Nginx优势:IO多路复用epoll 1、什么是IO复用 它是内核提供的一种同时监控多个文件描述符状态改变的一种能力;例如当进程需要操作多个IO相关描述符时(例如服务器程序要同时查看监听 阅读全文
posted @ 2017-10-28 13:24 shhnwangjian 阅读(11647) 评论(0) 推荐(0) 编辑
摘要: GitHub:https://github.com/python-social-auth/social-app-django 官网文档:http://python-social-auth.readthedocs.io/en/latest/ 安装 生成数据库表 settings配置 D:\Python 阅读全文
posted @ 2017-10-19 15:04 shhnwangjian 阅读(1410) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 33 下一页