Chow's Notes


  • 首页

  • 分类

  • 归档

  • 标签
Chow's Notes

术语

发表于 2016-08-29 | 分类于 计算机网络 |
1.所谓协议(Protocol)就是对数据格式和计算器之间交换数据时必须遵守的规则的正式描述。
阅读全文 »
Chow's Notes

关于 Nginx 499 和 proxy_ignore_client_abort 参数的说明

发表于 2016-08-17 | 分类于 nginx |
默认 proxy_ignore_client_abort 是关闭的,此时在请求过程中如果客户端端主动关闭请求或者客户端网络断掉,那么 Nginx 会记录 499  
阅读全文 »
Chow's Notes

Python中将html转换成pdf的方法

发表于 2016-04-15 | 分类于 Python |
1.使用在线的接口,但是基本要收费和限制调用次数例如:pdfcrowd 接口地址:https://pdfcrowd.com/html-to-pdf-api/ 2.xhtml2pdf源码地址 :https://github.com/xhtml2pdf/xhtml2pdf 123456789import xhtml2pdf.pisa as pisadest='test.pdf'f=open('shiptemp_1.html')data=f.read()print dat ...
阅读全文 »
Chow's Notes

python调用win32接口在excel中作像素画

发表于 2016-04-08 | 分类于 Python |

取一张图片的每个像素点,然后将其插入到单元格中

阅读全文 »
Chow's Notes

When I am in.mp3

发表于 2016-04-07 | 分类于 音乐 |
天下足球某期的插曲
阅读全文 »
Chow's Notes

关于nginx访问 静态文件 403 的错误

发表于 2016-03-04 | 分类于 nginx |
例如 ngixn的配置的静态文件访问 如下: location /static {root /var/app/lxxxx/web;} 1.检查所有的文件有无读权限 chmod 644 -R 2.检查父目录 即 web及以上目录有无可执行权限 chmod 755 xxx/
阅读全文 »
Chow's Notes

关于nginx做代理,uwsgi gunicorn等服务器做后端时

发表于 2015-05-07 | 分类于 nginx |
(1) 响应数据过大 被截断的问题 通常看buffers参数的设置(缓冲从后端服务器的应答) uwsgi的参数是 uwsgi_buffers 4 128k gunicorn 设置代理参数 proxy_buffers 4 128k; 4 128k的值 相对合适     (2) ...
阅读全文 »
Chow's Notes

关于 freetds pymssql 的安装部署

发表于 2015-04-27 | 分类于 Python |
关于 freetds pymssql 的安装部署 一、安装:(freetds-0.91 pymssql 2.0.1) 如果要在linux机器 连接mysqlsever 1.需要安装freetds12./configuremake && make install 测试tsql -C查看安装的版本123tsql -H 10.20.17.102 -p 1433 -U sa -P "password" -D DBANME 连接mysqlserver> SE ...
阅读全文 »
Chow's Notes

python whl包的安装

发表于 2015-04-24 | 分类于 Python |
1.首先安装PIP. https://pip.pypa.io/en/latest/installing.html#install-pip1python get-pip.py 2.设置好环境变量: C:\Python27\Scripts 3.安装wheels1pip install SomePackage-1.0-py2.py3-none-any.whl 构建wheels:https://pip.pypa.io/en/latest/user_guide.html#installing-from-wheels
阅读全文 »
Chow's Notes

Linux常用命令积累

发表于 2015-01-22 | 分类于 LINUX |
curl post json数据1curl -H "Content-Type: application/json" -X POST --data '{"data":{"timeZone":8}}' http://api
阅读全文 »
123…13
Chow

Chow

123 日志
21 分类
43 标签
GitHub DomainDeal
© 2017 Chow
由 Hexo 强力驱动
感谢github提供的免费空间 感谢iissnan's主题 - NexT.Pisces