上一页 1 ··· 138 139 140 141 142 143 144 145 146 ··· 187 下一页
摘要: This is a wiki containing user-contributed recipes, tips, and tricks for the Apache HTTP Server (aka Apache Web Server or httpd). As this is a public 阅读全文
posted @ 2017-12-11 17:40 papering 阅读(151) 评论(0) 推荐(0)
摘要: http://www.jb51.net/LINUXjishu/66410.html 6个级别 chkconfig 0 lrwxrwxrwx. 1 root root 7 Nov 8 2016 rc -> rc.d/rc 0 lrwxrwxrwx. 1 root root 10 Nov 8 2016 阅读全文
posted @ 2017-12-11 17:38 papering 阅读(209) 评论(0) 推荐(0)
摘要: 监控某个python进程是否存在,如不存在则启动 阅读全文
posted @ 2017-12-11 16:26 papering 阅读(777) 评论(0) 推荐(0)
摘要: s = '%s%s%s%s%s%s%s%s' % ( time.strftime('%Y%m%d %H:%M:%S', time.localtime(time.time())), ' os.getppid() ', os.getppid(), ' os.getpid() ', os.getpid() 阅读全文
posted @ 2017-12-11 14:41 papering 阅读(269) 评论(0) 推荐(0)
摘要: mkdir -p playground/dir-{00{1..9},0{10,99},100} touch playground/dir-{00{1..9},0{10,99},100}/file-{A..Z} mkdir -p /data/mapReduceVisitorLog/{a,b,c} mk 阅读全文
posted @ 2017-12-10 23:28 papering 阅读(177) 评论(0) 推荐(0)
摘要: Do not use the <section> element as a generic container; this is what <div> is for, especially when the sectioning is only for styling purposes. A rul 阅读全文
posted @ 2017-12-10 20:38 papering 阅读(144) 评论(0) 推荐(0)
摘要: def uid_chk_url(): request_time = time.time() print(request) print(request.json) print('270') print('270', request.get_data()) $.ajax({ url: url, meth 阅读全文
posted @ 2017-12-09 17:46 papering 阅读(233) 评论(0) 推荐(0)
摘要: [root@hadoop2 ~]# dateSat Dec 9 15:46:30 CST 2017[root@hadoop2 ~]# xlpyWarning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.8/FAQro 阅读全文
posted @ 2017-12-09 15:47 papering 阅读(213) 评论(0) 推荐(0)
摘要: 【问题代码 】 阅读全文
posted @ 2017-12-09 14:00 papering 阅读(391) 评论(0) 推荐(0)
摘要: {{define "chkUrl"}} chkUrl--脚本管理 {{/*{{range .}}*/}}{{/*{{.}}*/}}{{/*{{.Host}}*/}}{{/*{{end}}*/}} chkUrl 检测url状态信息 {{/*带说明的列表项*/}} {{/**/}} {{... 阅读全文
posted @ 2017-12-09 13:11 papering 阅读(321) 评论(0) 推荐(0)
摘要: https://dev.mysql.com/doc/refman/5.7/en/show-processlist.html SHOW PROCESSLIST shows you which threads are running. You can also get this information 阅读全文
posted @ 2017-12-08 19:15 papering 阅读(183) 评论(0) 推荐(0)
摘要: 实践: 1、 set GLOBAL max_connections=2048;show status like '%connections%'; 0-连接数不够:软件,增大max_connections; 1-系统资源不足:硬件,file descriptors 不足,改善硬件 MySQL :: M 阅读全文
posted @ 2017-12-08 19:12 papering 阅读(241) 评论(0) 推荐(0)
摘要: SHOW VARIABLES LIKE '%connection%'; character_set_connection utf8mb4collation_connection utf8mb4_general_ciextra_max_connections max_connections 1250m 阅读全文
posted @ 2017-12-08 16:59 papering 阅读(212) 评论(0) 推荐(0)
摘要: Go中的内存顺序保证 - Go语言101(通俗版Go白皮书) https://gfw.go101.org/article/memory-model.html#mutex 有时,为了程序的逻辑正确性,我们需要确保一个协程中的一些语句一定要在另一个协程的某些语句之后(或者之前)执行(从这两个协程的角度观 阅读全文
posted @ 2017-12-08 14:58 papering 阅读(737) 评论(0) 推荐(0)
摘要: 小结: 1、 很多时候,编译器和 CPU 引起内存乱序访问不会带来什么问题,但一些特殊情况下,程序逻辑的正确性依赖于内存访问顺序,这时候内存乱序访问会带来逻辑上的错误, 2、 https://zh.wikipedia.org/wiki/内存屏障 https://en.wikipedia.org/wi 阅读全文
posted @ 2017-12-08 10:28 papering 阅读(1456) 评论(0) 推荐(0)
摘要: https://baike.baidu.com/item/内存屏障 内存屏障,也称内存栅栏,内存栅障,屏障指令等, 是一类同步屏障指令,是CPU或编译器在对内存随机访问的操作中的一个同步点,使得此点之前的所有读写操作都执行后才可以开始执行此点之后的操作。 中文名内存屏障别 称内存栅栏,内存栅障性 质 阅读全文
posted @ 2017-12-08 07:57 papering 阅读(1251) 评论(0) 推荐(0)
摘要: Python 中的字节与字节数组 - Python - 伯乐在线 http://python.jobbole.com/84839/ 阅读全文
posted @ 2017-12-07 19:19 papering 阅读(543) 评论(0) 推荐(0)
摘要: Python/Linux quit() does not terminate PhantomJS process · Issue #767 · SeleniumHQ/selenium https://github.com/SeleniumHQ/selenium/issues/767 阅读全文
posted @ 2017-12-07 19:13 papering 阅读(308) 评论(0) 推荐(0)
摘要: 技能点: 搭建服务器、restfulapi 在py脚本中调取另一个脚本执行 阅读全文
posted @ 2017-12-07 17:52 papering 阅读(267) 评论(0) 推荐(0)
摘要: 通过定时任务 bash 脚本 控制 进程 的 执行时间 阅读全文
posted @ 2017-12-07 17:05 papering 阅读(255) 评论(0) 推荐(0)
摘要: 分布式多爬虫系统——架构设计 - CSDN博客 http://blog.csdn.net/bone_ace/article/details/55000416 基于Hadoop 的分布式网络爬虫技术学习笔记 - CSDN博客 http://blog.csdn.net/zolalad/article/d 阅读全文
posted @ 2017-12-07 12:37 papering 阅读(146) 评论(0) 推荐(0)
摘要: a 翻译 搜索 复制 阅读全文
posted @ 2017-12-07 11:56 papering 阅读(127) 评论(0) 推荐(0)
摘要: [root@hadoop2 spider]# ps -ef|grep crondroot 32420 28821 0 09:41 pts/2 00:00:00 grep crond[root@hadoop2 spider]# service crond startStarting crond: [ 阅读全文
posted @ 2017-12-07 09:42 papering 阅读(127) 评论(0) 推荐(0)
摘要: d 阅读全文
posted @ 2017-12-07 08:40 papering 阅读(115) 评论(0) 推荐(0)
摘要: dd 阅读全文
posted @ 2017-12-07 08:39 papering 阅读(196) 评论(0) 推荐(0)
摘要: 深度学习与语义表示学习 最近自然语言处理与深度学习的一个新发现是,我们可以通过深度学习用实数值向量来表示语句的语义。如图3所示,两句话“John loves Mary”和“Mary is loved by John”的语义向量就相近,而这两句话的语义向量就与“Mary loves John”的语义向 阅读全文
posted @ 2017-12-06 22:40 papering 阅读(1572) 评论(0) 推荐(0)
摘要: http://www.afenxi.com/post/9700 11款开放中文分词引擎大比拼 附录评测数据地址http://bosonnlp.com/dev/resource 各家分词系统链接地址BosonNLP:http://bosonnlp.com/dev/centerIKAnalyzer:ht 阅读全文
posted @ 2017-12-06 22:24 papering 阅读(231) 评论(0) 推荐(0)
摘要: http://blog.csdn.net/sptoor/article/details/7725521 http://blog.sina.com.cn/s/blog_8af106960102vbla.html 现代汉语语料库加工规范 ——词语切分与词性标注 1999年3月版 北京大学计算语言学研究所 阅读全文
posted @ 2017-12-06 22:22 papering 阅读(5030) 评论(0) 推荐(0)
摘要: 2018年5月中华人民共和国县以上行政区划代码 阅读全文
posted @ 2017-12-06 17:37 papering 阅读(749) 评论(0) 推荐(0)
摘要: 匹配uuid import re import uuid print(uuid.uuid4().__str__().replace('-', '')) for i in ('s', uuid.uuid4().__str__().replace('-', ''), '10cece6f5d674cc29 阅读全文
posted @ 2017-12-06 16:34 papering 阅读(409) 评论(0) 推荐(0)
摘要: mongodb与sql聚合对应图 M - CSDN博客 http://blog.csdn.net/u011930016/article/details/49422425 SQL Terms, Functions, and Concepts MongoDB Aggregation Operators 阅读全文
posted @ 2017-12-06 13:43 papering 阅读(285) 评论(0) 推荐(0)
摘要: 控制台手动输入。 阅读全文
posted @ 2017-12-06 12:44 papering 阅读(194) 评论(0) 推荐(0)
摘要: package equals;public class EqualsTest { public static void main(String[] args) { Employee alice1 = new Employee("Alice Adams", 75000, 1987, 12, 15); Employee alice2 = alice1; ... 阅读全文
posted @ 2017-12-06 00:53 papering 阅读(394) 评论(0) 推荐(0)
摘要: crontab -l 57 */1 * * * python /home/data/crontab_chk_url/personas/trunk/plugins/spider/chk_url_status_ordertab_notexpire.py &> /dev/null 阅读全文
posted @ 2017-12-05 20:01 papering 阅读(876) 评论(0) 推荐(0)
摘要: import osfor i in range(1, 10): if i % 3 == 0: print(i) s = 'python %s' % (__file__) os.system(s) os._exit(123)ps -aux | grep python | grep -v grep |cut -c 9-15 | xargs k... 阅读全文
posted @ 2017-12-05 19:34 papering 阅读(505) 评论(0) 推荐(0)
摘要: SELECT COUNT(1) FROM ask WHERE title LIKE '%哪里%'UNION ALL SELECT COUNT(1) FROM ask WHERE title LIKE '%哪家%'UNION ALL SELECT COUNT(1) FROM ask WHERE tit 阅读全文
posted @ 2017-12-05 18:15 papering 阅读(198) 评论(0) 推荐(0)
摘要: 铜像雕塑哪里有加工厂华强北哪里可以解ID锁?我的苹果ipadmini2忘记屏幕密码了,刷机后需要原始appleID激活深圳小吃培训哪家好?东莞哪里有小吃培训的?禅城哪里有收纳箱专卖店?篷房就是帐篷吗?上海哪里有专门做篷房租赁的公司?上海智能机器人培训在哪里?上海哪里有上门回收烟酒,回收香烟的正规公司 阅读全文
posted @ 2017-12-05 17:43 papering 阅读(452) 评论(0) 推荐(0)
摘要: class myBook(): def __init__(self, book): self.book = book def readbook(self): print(self.book, '--GOOD')d = eval("myBook('Java Book')")if hasattr(d, 阅读全文
posted @ 2017-12-05 15:23 papering 阅读(162) 评论(0) 推荐(0)
摘要: 标准库内部如何实现接口的 io.Copy(实现了io.Writer接口的值,实现了io.Reader接口的值) sendNotification 接受一个实现了notifier接口的值并发送通知 方法集定义了接口的接受规则 如果使用指针接收者来实现一个接口,则只有指向那个类型的指针才能实现对应的接口 阅读全文
posted @ 2017-12-05 14:25 papering 阅读(258) 评论(0) 推荐(0)
摘要: Information:javac 1.8.0_91 was used to compile java sources D:\myjdk\bin\java "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA 2017.2.6\lib\idea_r 阅读全文
posted @ 2017-12-05 13:06 papering 阅读(301) 评论(0) 推荐(0)
上一页 1 ··· 138 139 140 141 142 143 144 145 146 ··· 187 下一页