摘要:
"""地点-哪里有做-业务-的(正规|靠谱)-公司?地点-做-业务-的(正规|靠谱)-公司(有哪些?|的联系方式是什么?|哪家口碑好值得信赖?)地点-做-业务-(怎么能省钱?|费用是多少?|需要注意什么?|有哪些流程?)地点-业务-(靠谱吗?到底怎样?)地点-(最好的|靠谱的)业务-是哪家?"""p, b = '深圳市', ['广告设计', '网络推广']ltp_model = ['地点-哪里...
阅读全文
posted @ 2017-12-15 14:47
papering
阅读(936)
推荐(0)
摘要:
from wsgiref.util import setup_testing_defaults, request_urifrom wsgiref.simple_server import make_server# A relatively simple WSGI application. It's
阅读全文
posted @ 2017-12-15 11:20
papering
阅读(262)
推荐(0)
摘要:
import os, sysimport timeimport loggingimport requestsimport threadingimport random from random import choicefrom selenium import webdriverfrom seleni
阅读全文
posted @ 2017-12-15 08:43
papering
阅读(893)
推荐(0)
摘要:
windows不存在进程层次结构 所有进程相同地位 获得进程的句柄 unix 父子孙 进程家族 进程不能拒绝其子进程呢个的继承权
阅读全文
posted @ 2017-12-15 08:33
papering
阅读(293)
推荐(0)
摘要:
支撑功能 中断管理 时钟管理 原语操作 primitive 资源管理功能 进程管理 存储器管理 设备管理
阅读全文
posted @ 2017-12-15 08:25
papering
阅读(195)
推荐(0)
摘要:
http://nginx.org/en/docs/beginners_guide.html
阅读全文
posted @ 2017-12-15 01:26
papering
阅读(150)
推荐(0)
摘要:
https://baike.baidu.com/item/处理器主频/156282 处理器主频是一个计算机术语。CPU的主频表示在CPU内数字脉冲信号震荡的速度,主频和实际的运算速度存在一定的关系。 中文名处理器主频 别 名时钟频率 单 位Hz 作 用表示CPU的运算速度 主频也叫时钟频率,单位是H
阅读全文
posted @ 2017-12-14 23:09
papering
阅读(1997)
推荐(0)
摘要:
Using Python with TurboGears TurboGears is a Python web framework based on the ObjectDispatch paradigm, it is meant to make possible to write both sma
阅读全文
posted @ 2017-12-14 22:09
papering
阅读(175)
推荐(0)
摘要:
https://www.nginx.com/resources/wiki/start/topics/examples/simplepythonfcgi/ 117 2018-06-28 19:56:42 yum install nginx 118 2018-06-28 19:58:32 service
阅读全文
posted @ 2017-12-14 21:54
papering
阅读(167)
推荐(0)
摘要:
WSGI is the Web Server Gateway Interface. It is a specification that describes how a web server communicates with web applications, and how web applic
阅读全文
posted @ 2017-12-14 21:23
papering
阅读(267)
推荐(0)
摘要:
小结: 1、nginx传递每一个请求给绑定到3031端口并使用uwsgi协议的服务; http://www.jb51.net/article/76715.htm 在本文中,uwsgi 所扮演的的角色是后端 http 服务器,nginx 扮演的角色是前端 http 服务器,hello.py 是客户端应
阅读全文
posted @ 2017-12-14 21:11
papering
阅读(310)
推荐(0)
摘要:
简单说一下所谓Knowledge base(知识图谱)有两条路走,一条是对用户的问题进行语义理解,一般用Semantic Parsing(语义分析),语义分析有很多种,比如有用CCG、DCS,也有用机器翻译来做的。它得到了一个句子的逻辑表示,根据逻辑表示再到知识库里去查,查到这个结点是什么,关系是什
阅读全文
posted @ 2017-12-14 20:43
papering
阅读(2711)
推荐(0)
摘要:
{ 'words': '深圳市\t东荣\t纯水\t设备\t有限公司\t有\t什么\t产品\t,\t电话\t是\t多少\t?', 'postags': 'ns\tnz\tn\tn\tn\tv\tr\tn\twp\tn\tv\tr\twp', 'parser': '5:ATT\t3:ATT\t4:ATT\t5:ATT\t6:SBV\t0:HED\t8:ATT\t6:VOB\t6:WP\t11...
阅读全文
posted @ 2017-12-14 18:00
papering
阅读(533)
推荐(0)
摘要:
https://www.leiphone.com/news/201706/upso9nIUVbYttnMO.html 车万翔博士:目前依存分析领域两大主流方法分别是基于转移(Transition-based)和基于图(Graph-based)的依存分析。基于转移的方法是,构建一条从初始转移状态到终结
阅读全文
posted @ 2017-12-14 17:12
papering
阅读(891)
推荐(0)
摘要:
[root@hadoop1 /]# du -BG -d 11G ./boot0G ./dev63G ./homedu: 无法访问"./proc/6689/task/6689/fd/4": 没有那个文件或目录du: 无法访问"./proc/6689/task/6689/fdinfo/4": 没有那个文
阅读全文
posted @ 2017-12-14 15:44
papering
阅读(957)
推荐(0)
摘要:
不安全的权限 0644,建议使用 0600。
阅读全文
posted @ 2017-12-14 15:31
papering
阅读(2455)
推荐(0)
摘要:
实践:1)u@u5:~/tmp$ ll -astotal 164 drwxrwxr-x 2 u u 4096 12月 3 11:21 ./4 drwxr-xr-x 27 u u 4096 12月 2 13:54 ../4 -rw-rw-r-- 1 u u 4 12月 3 11:22 a4 -rw-r
阅读全文
posted @ 2017-12-14 15:17
papering
阅读(319)
推荐(0)
摘要:
https://github.com/unbit/uwsgi-docs/blob/master/index.rst
阅读全文
posted @ 2017-12-14 12:23
papering
阅读(136)
推荐(0)
摘要:
FreeTDS is re-implementation of C libraries originally marketed by Sybase and Microsoft SQL Server. It allows many open source applications such as Pe
阅读全文
posted @ 2017-12-14 11:41
papering
阅读(311)
推荐(0)
pymssql.connect(server='.', user='', password='', database='', timeout=0, login_timeout=60, charset='UTF-8', as_dict=False, host='', appname=None, port='1433', conn_properties, autocommit=False, tds_
摘要:
http://pymssql.org/en/stable/ref/pymssql.html
阅读全文
posted @ 2017-12-14 11:08
papering
阅读(3365)
推荐(0)
摘要:
nethogs: 按进程查看流量占用 iptraf: 按连接/端口查看流量 ifstat: 按设备查看流量 ethtool: 诊断工具 tcpdump: 抓包工具 ss: 连接查看工具 其他: dstat, slurm, nload, bmon 搜索 复制
阅读全文
posted @ 2017-12-14 09:35
papering
阅读(165)
推荐(0)
摘要:
nginx与apache详细性能对比 http://m.blog.csdn.net/lengzijian/article/details/7699444 http://www.cnblogs.com/huangye-dream/p/3550328.html Apache与Nginx的优缺点比较 1、
阅读全文
posted @ 2017-12-14 08:51
papering
阅读(512)
推荐(0)
posted @ 2017-12-13 20:52
papering
阅读(160)
推荐(0)
摘要:
http://www.cnblogs.com/wangkangluo1/archive/2012/04/27/2472898.html 利用Shell脚本实现远程MySQL自动查询 目的:对定时任务对数据库的读写结果,通过定时脚本进行监控,实时数据通过浏览器或定时脚本展现 yum install m
阅读全文
posted @ 2017-12-13 20:51
papering
阅读(337)
推荐(0)
posted @ 2017-12-13 20:43
papering
阅读(140)
推荐(0)
摘要:
【资源不友好代码】 在SWAP空间不够用的情况下,如何手工添加SWAP空间?以下的操作都要在root用户下进行:首先先建立一个分区,采用dd命令比如dd if=/dev/zero of=/home/swap bs=1024 count=1024*1024这样就会创建/home/swap这么一个分区文
阅读全文
posted @ 2017-12-13 20:40
papering
阅读(484)
推荐(0)
摘要:
对系统的内存情况,进行定时脚本的监控,按时间逆序 怎样生成逆序?
阅读全文
posted @ 2017-12-13 16:34
papering
阅读(162)
推荐(0)
摘要:
https://docs.djangoproject.com/en/1.10/ref/settings/#std:setting-ALLOWED_HOSTS https://stackoverflow.com/questions/24857158/commanderror-you-must-set-
阅读全文
posted @ 2017-12-13 13:01
papering
阅读(801)
推荐(0)
摘要:
http://djangobook.py3k.cn/2.0/chapter02/
阅读全文
posted @ 2017-12-13 12:35
papering
阅读(229)
推荐(0)
摘要:
小米步枪 定时任务监控内存变化,发送邮件。 */5 * * * * cd /home/data/xl_project;date >> road8.admin;free -g >> road8.admin;/usr/sbin/sendmail -s 'zh_cn_xiaomi_buqiang_jian
阅读全文
posted @ 2017-12-13 11:59
papering
阅读(155)
推荐(0)
posted @ 2017-12-13 11:15
papering
阅读(174)
推荐(0)
posted @ 2017-12-13 08:32
papering
阅读(165)
推荐(0)
posted @ 2017-12-12 23:03
papering
阅读(681)
推荐(0)
摘要:
.bashrc 文件中的shell函数
阅读全文
posted @ 2017-12-12 22:20
papering
阅读(135)
推荐(0)
posted @ 2017-12-12 21:30
papering
阅读(119)
推荐(0)
摘要:
个人 ~/bin 所有用户 /usr/local/bin 系统管理员 /usr/local/sbin
阅读全文
posted @ 2017-12-12 20:57
papering
阅读(137)
推荐(0)
摘要:
支付宝和微信的付款没网络时也可以支付是怎么做到的? - 知乎 https://www.zhihu.com/question/49811134?sort=created 离线支付 商家扫码的时候等于你手上只是一张信用卡/银行卡而已...这么理解就可以了 简单概括:客户端预埋一些token,被扫后,等下
阅读全文
posted @ 2017-12-12 20:53
papering
阅读(384)
推荐(0)
posted @ 2017-12-12 20:47
papering
阅读(124)
推荐(0)
摘要:
https://msdn.microsoft.com/zh-cn/library/windows/hardware/dn938386(v=vs.85).aspx
阅读全文
posted @ 2017-12-12 20:46
papering
阅读(362)
推荐(0)
摘要:
[root@hadoop1 conf]# netstat -n | grep -v 127.0.0.1 | grep -v :3306 | grep TIME_WAIT | sort -k 5n |uniq -f 5 -c 33 tcp 0 0 192.168.2.51:45792 14.215.1
阅读全文
posted @ 2017-12-12 18:42
papering
阅读(381)
推荐(0)