08 2015 档案
django celery异步框架
摘要:描述:实现运维平台的异步执行与定时任务,以下简单描述了安装过程及使用。安装django和celerypip install djangopip install celery pip install django-celery新建一个项目名为newsroot@bogon:~# django-admin... 阅读全文
posted @ 2015-08-24 00:12 letong 阅读(1065) 评论(1) 推荐(0)
Python Elasticsearch api
摘要:描述:ElasticSearch是一个基于Lucene的搜索服务器。它提供了一个分布式多用户能力的全文搜索引擎,基于RESTful web接口。下面介绍了利用Python API接口进行数据查询,方便其他系统的调用。安装APIpip install elasticsearch建立es连接from e... 阅读全文
posted @ 2015-08-21 22:54 letong 阅读(27646) 评论(3) 推荐(4)
powershell常用操作
摘要:创建文件New-Item -path $file_path -itemtype file创建目录New-Item -path $dir_path -type directory删除目录Remove-Item-Force-Recurse $dir赋予权限$account ="Business"$Fol... 阅读全文
posted @ 2015-08-20 10:28 letong 阅读(444) 评论(0) 推荐(0)