摘要:
[root@hadoop1 log]# netstatActive Internet connections (w/o servers)Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 hadoop1:56679 157.
阅读全文
posted @ 2017-12-18 11:57
papering
阅读(445)
推荐(0)
摘要:
[root@hadoop1 log]# xlcl#spider#48/d*/40 0-8,20-23 * * * python /home/data/crontab_chk_url/personas/trunk/plugins/spider/chk_url_status_update_tmp_err
阅读全文
posted @ 2017-12-18 10:36
papering
阅读(323)
推荐(0)
摘要:
在运行中的进程突然被杀死时,该端发送RST 连接池16个连接 TCP重置攻击指的是使用伪造的TCP重置包干扰用户和网站的连接[1]。这个技术可以在善意的防火墙中应用[2],但也可用于网络审查或是攻击,恶意中断TCP连接,是一种旁观者攻击。 本质上,Internet是用于单个计算机交换电子消息或IP数
阅读全文
posted @ 2017-12-16 21:53
papering
阅读(1161)
推荐(0)
摘要:
https://en.wikipedia.org/wiki/List_of_HTTP_header_fields#cite_note-52 Common non-standard response fields[edit] Field nameDescriptionExample Content-S
阅读全文
posted @ 2017-12-15 19:19
papering
阅读(298)
推荐(0)
摘要:
[哪个地方做什么的哪家靠谱?地名词库行业、业务词库]苏州做网络推广的公司哪家靠谱?苏州镭射机维修哪家最专业?昆山做账的公司哪家比较好广州称重灌装机生产厂家哪家口碑比较好[含有专家知识]郑州律师哪个好,如何判断合同是否有效?[哪个地方有做什么的?]广东哪里有专业的全铝书柜定制?苏州吴中越溪哪里有通过率较高的会计培训班?[2-gram]行业 属性 通过 “2-gram”实现,“动词+名词”昆山注册...
阅读全文
posted @ 2017-12-15 16:48
papering
阅读(648)
推荐(0)
摘要:
通过产品创造不同层面不同高度的价值
阅读全文
posted @ 2017-12-15 16:41
papering
阅读(172)
推荐(0)
摘要:
"""地点-哪里有做-业务-的(正规|靠谱)-公司?地点-做-业务-的(正规|靠谱)-公司(有哪些?|的联系方式是什么?|哪家口碑好值得信赖?)地点-做-业务-(怎么能省钱?|费用是多少?|需要注意什么?|有哪些流程?)地点-业务-(靠谱吗?到底怎样?)地点-(最好的|靠谱的)业务-是哪家?"""p, b = '深圳市', ['广告设计', '网络推广']ltp_model = ['地点-哪里...
阅读全文
posted @ 2017-12-15 14:47
papering
阅读(966)
推荐(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
阅读(306)
推荐(0)
摘要:
import os, sysimport timeimport loggingimport requestsimport threadingimport random from random import choicefrom selenium import webdriverfrom seleni
阅读全文
posted @ 2017-12-15 08:43
papering
阅读(926)
推荐(0)
摘要:
windows不存在进程层次结构 所有进程相同地位 获得进程的句柄 unix 父子孙 进程家族 进程不能拒绝其子进程呢个的继承权
阅读全文
posted @ 2017-12-15 08:33
papering
阅读(310)
推荐(0)
摘要:
支撑功能 中断管理 时钟管理 原语操作 primitive 资源管理功能 进程管理 存储器管理 设备管理
阅读全文
posted @ 2017-12-15 08:25
papering
阅读(219)
推荐(0)
摘要:
http://nginx.org/en/docs/beginners_guide.html
阅读全文
posted @ 2017-12-15 01:26
papering
阅读(177)
推荐(0)
摘要:
https://baike.baidu.com/item/处理器主频/156282 处理器主频是一个计算机术语。CPU的主频表示在CPU内数字脉冲信号震荡的速度,主频和实际的运算速度存在一定的关系。 中文名处理器主频 别 名时钟频率 单 位Hz 作 用表示CPU的运算速度 主频也叫时钟频率,单位是H
阅读全文
posted @ 2017-12-14 23:09
papering
阅读(2090)
推荐(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
阅读(208)
推荐(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
阅读(210)
推荐(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
阅读(299)
推荐(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
阅读(345)
推荐(0)
摘要:
简单说一下所谓Knowledge base(知识图谱)有两条路走,一条是对用户的问题进行语义理解,一般用Semantic Parsing(语义分析),语义分析有很多种,比如有用CCG、DCS,也有用机器翻译来做的。它得到了一个句子的逻辑表示,根据逻辑表示再到知识库里去查,查到这个结点是什么,关系是什
阅读全文
posted @ 2017-12-14 20:43
papering
阅读(2795)
推荐(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
阅读(563)
推荐(0)
摘要:
https://www.leiphone.com/news/201706/upso9nIUVbYttnMO.html 车万翔博士:目前依存分析领域两大主流方法分别是基于转移(Transition-based)和基于图(Graph-based)的依存分析。基于转移的方法是,构建一条从初始转移状态到终结
阅读全文
posted @ 2017-12-14 17:12
papering
阅读(925)
推荐(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
阅读(986)
推荐(0)
摘要:
不安全的权限 0644,建议使用 0600。
阅读全文
posted @ 2017-12-14 15:31
papering
阅读(2491)
推荐(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
阅读(348)
推荐(0)
摘要:
https://github.com/unbit/uwsgi-docs/blob/master/index.rst
阅读全文
posted @ 2017-12-14 12:23
papering
阅读(152)
推荐(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
阅读(361)
推荐(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
阅读(3419)
推荐(0)
摘要:
nethogs: 按进程查看流量占用 iptraf: 按连接/端口查看流量 ifstat: 按设备查看流量 ethtool: 诊断工具 tcpdump: 抓包工具 ss: 连接查看工具 其他: dstat, slurm, nload, bmon 搜索 复制
阅读全文
posted @ 2017-12-14 09:35
papering
阅读(205)
推荐(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
阅读(552)
推荐(0)
posted @ 2017-12-13 20:52
papering
阅读(178)
推荐(0)
摘要:
http://www.cnblogs.com/wangkangluo1/archive/2012/04/27/2472898.html 利用Shell脚本实现远程MySQL自动查询 目的:对定时任务对数据库的读写结果,通过定时脚本进行监控,实时数据通过浏览器或定时脚本展现 yum install m
阅读全文
posted @ 2017-12-13 20:51
papering
阅读(369)
推荐(0)
posted @ 2017-12-13 20:43
papering
阅读(158)
推荐(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
阅读(523)
推荐(0)
摘要:
对系统的内存情况,进行定时脚本的监控,按时间逆序 怎样生成逆序?
阅读全文
posted @ 2017-12-13 16:34
papering
阅读(189)
推荐(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
阅读(825)
推荐(0)
摘要:
http://djangobook.py3k.cn/2.0/chapter02/
阅读全文
posted @ 2017-12-13 12:35
papering
阅读(262)
推荐(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
阅读(176)
推荐(0)
posted @ 2017-12-13 11:15
papering
阅读(189)
推荐(0)
posted @ 2017-12-13 08:32
papering
阅读(188)
推荐(0)
posted @ 2017-12-12 23:03
papering
阅读(700)
推荐(0)
摘要:
.bashrc 文件中的shell函数
阅读全文
posted @ 2017-12-12 22:20
papering
阅读(156)
推荐(0)