上一页 1 ··· 134 135 136 137 138 139 140 141 142 ··· 188 下一页
摘要: 数据采集效率 阅读全文
posted @ 2018-01-08 23:51 papering 阅读(678) 评论(0) 推荐(0)
摘要: #Message: SyntaxError: unterminated string literalmytxt = words.replace('\n','').replace('\r','')js = '%s%s%s' % ('document.getElementsByTagName("textarea")[0].value="', mytxt, '"')browser.execute_s... 阅读全文
posted @ 2018-01-08 17:03 papering 阅读(319) 评论(0) 推荐(0)
摘要: https://www.toutiao.com/ document.getElementsByClassName("ugc-mode-content")[0].getElementsByTagName("a")[0].target='_self' 淘宝广告位置 写入应用 让代码在短期内产生价值 阅读全文
posted @ 2018-01-08 13:57 papering 阅读(1860) 评论(0) 推荐(0)
摘要: import requestsimport timeimport threadingimg_url = 'https://s3.pstatp.com/toutiao/static/img/logo.201f80d.png'img_dir = 'C:\\Users\\sas\\PycharmProjects\\py_win_to_unix\\crontab_chk_url\\personas\\... 阅读全文
posted @ 2018-01-08 10:45 papering 阅读(545) 评论(0) 推荐(0)
摘要: 这些年背过的面试题——多线程篇 https://mp.weixin.qq.com/s/IVgGXQKU1QiT1ToN2wXHJg 执行 就绪 阻塞 翻译 搜索 复制 阅读全文
posted @ 2018-01-08 08:31 papering 阅读(181) 评论(0) 推荐(0)
摘要: 3 阅读全文
posted @ 2018-01-08 08:30 papering 阅读(317) 评论(0) 推荐(0)
摘要: 单条sql走天下入库时间 更新时间 累计检测次数 时间全集 子集 SELECT h,tab_create_c,tab_update_c FROM ( SELECT DISTINCT h FROM ( SELECT FROM_UNIXTIME(cre... 阅读全文
posted @ 2018-01-08 03:25 papering 阅读(939) 评论(0) 推荐(0)
摘要: https://en.wikipedia.org/wiki/Binary-safe A binary-safe function is one that treats its input as a raw stream of bytes and ignores every textual aspec 阅读全文
posted @ 2018-01-07 19:01 papering 阅读(223) 评论(0) 推荐(0)
摘要: redis 默认字符串 表示 阅读全文
posted @ 2018-01-07 18:42 papering 阅读(218) 评论(0) 推荐(0)
摘要: a 阅读全文
posted @ 2018-01-06 22:53 papering 阅读(173) 评论(0) 推荐(0)
摘要: a 阅读全文
posted @ 2018-01-05 18:01 papering 阅读(246) 评论(0) 推荐(0)
摘要: 从日志提取sql恢复误删改数据 遍历log目录 [root@hadoop3 log]# history | grep grep | grep log609 find / | grep access.log1009 find . -type f | xargs grep INSERT INTO > / 阅读全文
posted @ 2018-01-05 15:34 papering 阅读(204) 评论(0) 推荐(0)
摘要: 订阅与发布 — Redis 设计与实现 https://redisbook.readthedocs.io/en/latest/feature/pubsub.html 阅读全文
posted @ 2018-01-05 10:36 papering 阅读(327) 评论(0) 推荐(0)
摘要: https://opencv.org/ OpenCV (Open Source Computer Vision Library) is released under a BSD license and hence it’s free for both academic and commercial 阅读全文
posted @ 2018-01-05 00:43 papering 阅读(398) 评论(0) 推荐(0)
摘要: https://cn.mathworks.com/help/finance/creditscorecard.validatemodel.html?requestedDomain=www.mathworks.com The area under the CAP curve, known as the 阅读全文
posted @ 2018-01-04 21:43 papering 阅读(398) 评论(0) 推荐(0)
摘要: HTTPSConnectionPool(host='login.sina.com.cn', port=443): Max retries exceeded with url: /cgi/pin.php?r=48137058&s=0&p=tc-e8d1b4ea6beb93e9c1f67504c40e2 阅读全文
posted @ 2018-01-04 15:01 papering 阅读(831) 评论(0) 推荐(0)
摘要: 结合数据量和时间段,调整线程总数的阈值c_done, c_all, tl, tstep, tnum = 0, len(tuple_l), [], 1000, 15h = time.strftime('%H', time.localtime(time.time()))if int(h) >= 18: 阅读全文
posted @ 2018-01-04 14:13 papering 阅读(229) 评论(0) 推荐(0)
摘要: 实践: 1、同台主机python程序在收到浏览器端的画图请求后给画图的golang程序发送消息 #coding=utf-8 import socket import datetime,time import os unix_domain_socket = "/tmp/uds_python_golan 阅读全文
posted @ 2018-01-04 11:16 papering 阅读(238) 评论(0) 推荐(0)
摘要: 实践: 1: 进程1 echo 123 >myPipe 进程2 小结: 1、 匿名管道用于父子进程间的通信。 cat < myPipe 一文搞懂六大进程通信机制原理(全网最详细) - 知乎 https://zhuanlan.zhihu.com/p/465574868 顾名思义,进程通信( Inter 阅读全文
posted @ 2018-01-04 08:13 papering 阅读(2262) 评论(0) 推荐(0)
摘要: 小结: 1、 To facilitate communication between processes, most operating systems support Inter Process Communication (IPC) resources, such as pipes and so 阅读全文
posted @ 2018-01-04 03:48 papering 阅读(223) 评论(0) 推荐(0)
摘要: 问题:隐藏codeigniter url中的index.php 此处.htaccess为原框架自带 此处.htaccess为手动添加 很显然,默认情况下,index.php在URL地址段中的存在一定程度上影响了URL的简洁和SEO的进行。我们可以通过下面本文介绍的方法来去掉这个讨厌的Index.ph 阅读全文
posted @ 2018-01-04 02:20 papering 阅读(604) 评论(0) 推荐(0)
摘要: http://www.alloyteam.com/2015/03/sexpressmysql/ 阅读全文
posted @ 2018-01-03 21:48 papering 阅读(188) 评论(0) 推荐(0)
摘要: https://nodejs.org/en/download/package-manager/ 阅读全文
posted @ 2018-01-03 21:38 papering 阅读(145) 评论(0) 推荐(0)
摘要: from selenium import webdriverfrom time import sleepimport timefrom selenium.webdriver.common.keys import Keysbrowser = webdriver.Firefox( executable_path='C:\\Users\\sas\\Pychar... 阅读全文
posted @ 2018-01-03 17:53 papering 阅读(621) 评论(0) 推荐(0)
摘要: https://webtatic.com/packages/php72/ 阅读全文
posted @ 2018-01-03 12:32 papering 阅读(175) 评论(0) 推荐(0)
摘要: 2022 字节跳动 | 商业化技术 | 后端开发实习生 | 一面,二面,HR面 (OC) - 力扣(LeetCode) https://leetcode.cn/circle/discuss/Akwta3/ 一面(11月21号,1h多)自我介绍项目 介绍一下自己最熟悉的项目?项目使用的技术栈?项目的微 阅读全文
posted @ 2018-01-03 09:59 papering 阅读(932) 评论(0) 推荐(0)
摘要: 扩容 计划 提醒 预案 阅读全文
posted @ 2018-01-03 09:11 papering 阅读(137) 评论(0) 推荐(0)
摘要: 最高层cpu寄存器 阅读全文
posted @ 2018-01-03 08:24 papering 阅读(211) 评论(0) 推荐(0)
摘要: 可用磁盘空间不足 支持SELECT information_schema. TABLES 阅读全文
posted @ 2018-01-03 07:30 papering 阅读(514) 评论(0) 推荐(0)
摘要: 不借助共享存储区或数据结构 阅读全文
posted @ 2018-01-03 02:55 papering 阅读(190) 评论(0) 推荐(0)
摘要: yum install php yum install php-fpm 启动fpm [root@VM_141_64_centos html]# service php-fpm restart Redirecting to /bin/systemctl restart php-fpm.service[ 阅读全文
posted @ 2018-01-03 01:25 papering 阅读(813) 评论(0) 推荐(0)
摘要: https://www.quora.com/What-are-some-advantages-of-using-Node-js-over-a-Flask-API Flask is a Python web microframework. It needs to be run behind a WSG 阅读全文
posted @ 2018-01-02 21:55 papering 阅读(211) 评论(0) 推荐(0)
摘要: https://stackoverflow.com/questions/11178426/how-can-i-pass-data-from-flask-to-javascript-in-a-template 阅读全文
posted @ 2018-01-02 21:39 papering 阅读(138) 评论(0) 推荐(0)
摘要: 磁盘阵列(Redundant Arrays of Independent Disks,RAID) 云 500G 不够用 扩容 方案1 重建分区,由500G到1T,按历史增速,1年后再扩到1.5T,.....上限2T 方案2 购买新云盘,修改程序代码 阅读全文
posted @ 2018-01-02 18:49 papering 阅读(319) 评论(0) 推荐(0)
摘要: 问题: 小长假的第一天早上8:18一个数据,被定时任务中的脚本漏处理; 查定时任务的日志,发现调度异常 查var messages-20171231 日志信息,排查问题。 http://man7.org/linux/man-pages/man3/audit_set_rate_limit.3.html 阅读全文
posted @ 2018-01-02 15:23 papering 阅读(6273) 评论(0) 推荐(0)
摘要: 一个数据结构 能为并发进程所执行的一组操作 阅读全文
posted @ 2018-01-02 12:33 papering 阅读(172) 评论(0) 推荐(0)
摘要: 名字指出我们所要寻找的那个资源 地址指出那个资源在何处 路由告诉我们如何到达该处 阅读全文
posted @ 2018-01-01 23:09 papering 阅读(258) 评论(0) 推荐(0)
摘要: 算法 阅读全文
posted @ 2018-01-01 16:08 papering 阅读(522) 评论(0) 推荐(0)
摘要: ip 阅读全文
posted @ 2018-01-01 10:36 papering 阅读(187) 评论(0) 推荐(0)
摘要: 来自信源的信号 调制 调频 调幅 调相 正交振幅调制 阅读全文
posted @ 2017-12-31 14:33 papering 阅读(304) 评论(0) 推荐(0)
上一页 1 ··· 134 135 136 137 138 139 140 141 142 ··· 188 下一页