摘要:
mysql group by 组内排序 SELECT * FROM (SELECT MAX(id) AS t,wukong_uid, 1 AS tag FROM toutiao_uid_gathered_wukong GROUP BY wukong_uidUNION ALLSELECT id AS
阅读全文
posted @ 2018-01-18 16:51
papering
阅读(364)
推荐(0)
摘要:
https://neo4j.com/docs/ Server version Neo4j/3.3.1 Server address 127.0.0.1:7687 Query MATCH (a:Person)-[:KNOWS]->(friend) WHERE a.name ="Arthur" RETU
阅读全文
posted @ 2018-01-18 15:07
papering
阅读(626)
推荐(0)
摘要:
js = 'var a=document.getElementsByClassName("user-data-right")[0];a.target="_self";a.href="{}";a.click();'.format( 'https://www.toutiao.com/c/user/{}/
阅读全文
posted @ 2018-01-18 13:51
papering
阅读(153)
推荐(0)
posted @ 2018-01-18 13:37
papering
阅读(117)
推荐(0)
摘要:
charset='utf8mb4' conn = pymysql.connect(host=h, port=pt, user=u, passwd=p, db=db, charset='utf8mb4')
阅读全文
posted @ 2018-01-18 12:08
papering
阅读(469)
推荐(0)
posted @ 2018-01-18 11:05
papering
阅读(159)
推荐(0)
摘要:
Line #1218 : 101.232.208.245 - - [16/Jan/2018:02:47:34 +0800] "GET /?xltestdesfs HTTP/1.1" 200 3865 Line #1243 : 101.232.208.245 - - [16/Jan/2018:03:0
阅读全文
posted @ 2018-01-18 09:44
papering
阅读(349)
推荐(0)
posted @ 2018-01-18 01:47
papering
阅读(110)
推荐(0)
摘要:
[root@VM_61_158_centos ~]# curl http://ip.chinaz.com/220.112.233.179 |grep -e Whwtdhalf.*span.*span.*span.*span % Total % Received % Xferd Average Spe
阅读全文
posted @ 2018-01-18 01:02
papering
阅读(232)
推荐(0)
摘要:
from selenium import webdriverimport time, randomdef gen_browser(btype='chrome'): return webdriver.Chrome()browser = webdriver.Chrome()url = 'https://www.wukong.com/'browser.get(url)browser.refre...
阅读全文
posted @ 2018-01-17 19:39
papering
阅读(279)
推荐(0)
摘要:
一切的入口都是漏洞 都是数据的出口
阅读全文
posted @ 2018-01-17 16:32
papering
阅读(132)
推荐(0)
摘要:
for tof in tofollow_uid_list: print(tof) js = 'window.location.href="https://www.toutiao.com/c/user/{}/"'.format(tof) browser.execute_script(js) time.sleep(random.randint(30, 60)) n...
阅读全文
posted @ 2018-01-17 12:25
papering
阅读(187)
推荐(0)
摘要:
实例化一个新的浏览器,打开某个url from selenium import webdriverfrom selenium.webdriver.chrome.options import Optionsimport time, randomfrom selenium.webdriver.commo
阅读全文
posted @ 2018-01-17 00:41
papering
阅读(604)
推荐(0)
摘要:
Python 集合set()添加删除、交集、并集、集合操作详解 - 玩蛇网 http://www.iplaypy.com/jichu/set.html 字典排序 按值 按键 求交集 差集 a-b 交集 并集 差集 对称差集
阅读全文
posted @ 2018-01-17 00:16
papering
阅读(373)
推荐(0)
摘要:
ugc_l = browser.find_elements_by_class_name('ugc-item') try: myl = [{'statistics': i.text.replace('阅读', '').replace('赞', '').replace('评论', '').replace(' ⋅ ', ...
阅读全文
posted @ 2018-01-16 18:35
papering
阅读(188)
推荐(0)
摘要:
[SQL]SELECT username,password,toutiao_uidFROM pwdtab pLEFT JOIN toutiao_action_article aON p.toutiao_uid=a.toutiao_uid WHERE 1 AND p.id>3000 [Err] 126
阅读全文
posted @ 2018-01-16 15:36
papering
阅读(243)
推荐(0)
posted @ 2018-01-16 09:54
papering
阅读(321)
推荐(0)
摘要:
www.youdomain.com?tmUnblock.cgi www.youdomain.com? www.youdomain.com?xltestdesfs
阅读全文
posted @ 2018-01-16 02:50
papering
阅读(223)
推荐(0)
摘要:
[root@bigdata-server-01 ~]# curl 13.26.92.20array(27) { ["HTTP_USER_AGENT"]=> string(11) "curl/7.29.0" ["HTTP_HOST"]=>
阅读全文
posted @ 2018-01-16 02:35
papering
阅读(406)
推荐(0)
摘要:
[root@bigdata-server-01 ~]# curl www.baidu.com<!DOCTYPE html><!--STATUS OK--><html> <head><meta http-equiv=content-type content=text/html;charset=utf-
阅读全文
posted @ 2018-01-16 02:34
papering
阅读(272)
推荐(0)
摘要:
firefox_profile = webdriver.FirefoxProfile()firefox_profile.set_preference('permissions.default.image', 2)#某些firefox只需要这个firefox_profile.set_preference('browser.migration.version', 9001)#部分需要加上这个#...
阅读全文
posted @ 2018-01-16 00:02
papering
阅读(279)
推荐(0)
posted @ 2018-01-15 22:51
papering
阅读(326)
推荐(0)
摘要:
避免逻辑捆绑、打包 单个逻辑越简单,越高效,越有机动性
阅读全文
posted @ 2018-01-15 22:29
papering
阅读(210)
推荐(0)
摘要:
图文-发布者 多对多 n-n 图文表-关系表-发布者表
阅读全文
posted @ 2018-01-15 19:39
papering
阅读(208)
推荐(0)
摘要:
text不可设置默认值 null empty string 前者update 初始值时 我响应,但不报错
阅读全文
posted @ 2018-01-15 18:23
papering
阅读(241)
推荐(0)
摘要:
文件id集合 文件表、 SELECT CONCAT('2323',(SELECT 'dsfsd'),'232323'); SELECT CONCAT('2323',(SELECT file_ids FROM img_words WHERE INSTR(toutiao_publisher_id_lis
阅读全文
posted @ 2018-01-15 12:06
papering
阅读(893)
推荐(0)
摘要:
Fatal error: Maximum execution time of 30 seconds exceeded in C:\phpStudy\PHPTutorial\WWW\fastdatav\system\database\drivers\mysqli\mysqli_driver.php o
阅读全文
posted @ 2018-01-15 09:38
papering
阅读(432)
推荐(0)
posted @ 2018-01-15 09:15
papering
阅读(151)
推荐(0)
posted @ 2018-01-15 00:56
papering
阅读(177)
推荐(0)
摘要:
<form name="searchForm" action="/search/" method="get" target="_blank"> <div name="inputbox" class="y-box input-group"> <input class="y-left input-tex
阅读全文
posted @ 2018-01-15 00:05
papering
阅读(186)
推荐(0)
摘要:
top - 21:38:40 up 1 day, 10:38, 5 users, load average: 0.00, 0.01, 0.17Tasks: 88 total, 1 running, 87 sleeping, 0 stopped, 0 zombie%Cpu(s): 0.3 us, 0.
阅读全文
posted @ 2018-01-14 21:40
papering
阅读(229)
推荐(0)
摘要:
import os, timefn = '/server/error_log'fn = '/server/access_log'fns = os.stat(fn)margin_size_change, report_peroid = 10, 10global_mtime, global_size =
阅读全文
posted @ 2018-01-14 21:38
papering
阅读(181)
推荐(0)
摘要:
http://www.icarei.cn/fastdatav/MyDebug/readlog/error/ip191.96.249.136
阅读全文
posted @ 2018-01-14 20:04
papering
阅读(175)
推荐(0)
posted @ 2018-01-14 10:18
papering
阅读(189)
推荐(0)
摘要:
https://www.ibm.com/developerworks/cn/java/j-lo-longpath.html
阅读全文
posted @ 2018-01-14 10:02
papering
阅读(173)
推荐(0)
posted @ 2018-01-14 08:46
papering
阅读(165)
推荐(0)
摘要:
/var/lib/mysql/mysql.sock
阅读全文
posted @ 2018-01-13 18:50
papering
阅读(153)
推荐(0)
posted @ 2018-01-13 16:12
papering
阅读(200)
推荐(0)
摘要:
https://zh.wikipedia.org/wiki/序列化 序列化(serialization)在计算机科学的资料处理中,是指将数据结构或对象状态转换成可取用格式(例如存成文件,存于缓冲,或经由网络中发送),以留待后续在相同或另一台计算机环境中,能恢复原先状态的过程。依照序列化格式重新获取字
阅读全文
posted @ 2018-01-13 15:31
papering
阅读(578)
推荐(0)
posted @ 2018-01-13 15:10
papering
阅读(208)
推荐(0)