摘要:
import win32apiimport timeimport win32clipboardimport win32con# 捕获模拟器窗口 160-56 仅可单击打# 遍历url连接 -移动 126-766# 有道-更多释义-鼠标左单击 411-813# 有道查询口-鼠标左双击 959-270# 有道查询口-鼠标右单击 959-270# 有道查询口-鼠标左单击-剪切 1065-313tim...
阅读全文
posted @ 2018-01-25 22:46
papering
阅读(376)
推荐(0)
摘要:
import pandas.io.clipboard as cbcb.copy(curl_cmd1) # 复制到剪切板print(cb.paste()) # 从剪切板粘贴(获取内容),并打印 import win32apiimport timeimport win32clipboardimport
阅读全文
posted @ 2018-01-25 21:41
papering
阅读(689)
推荐(0)
摘要:
PyObject_VAR_HEAD Python-3.7.4\Include\object.h /* PyObject_VAR_HEAD defines the initial segment of all variable-size * container objects. These end w
阅读全文
posted @ 2018-01-25 20:14
papering
阅读(356)
推荐(0)
摘要:
def insert_l(l, v, old_index, type='append'): r = [] # p<len(l) nl = len(l) for i in range(nl): if type == 'append': r.append(l[i]) if i == old_index: ...
阅读全文
posted @ 2018-01-25 19:32
papering
阅读(215)
推荐(0)
摘要:
#n个人排序,相邻的两个人的顺序,不能重复出现,求组合数import randomdef my_factorial(i): r = 1 for i in range(1, i + 1): r *= i return ruid_l, uid_num, = [], 10while len(uid_l)<
阅读全文
posted @ 2018-01-25 17:48
papering
阅读(326)
推荐(0)
摘要:
1、[2018-01-25 07]发布[10]篇文章第[1]篇:文章ID[2911] 预计发布时间[2018-01-25 06:52:55] 头条用户[月乖][841352]第[2]篇:文章ID[2911] 预计发布时间[2018-01-25 06:57:34] 头条用户[代][6565]第[3]篇
阅读全文
posted @ 2018-01-25 16:18
papering
阅读(217)
推荐(0)
摘要:
MySQL JOIN原理 - M哥 - 博客园 https://www.cnblogs.com/shengdimaya/p/7123069.html MySQL-join的实现原理、优化及NLJ算法 - John_ABC - 博客园 https://www.cnblogs.com/JohnABC/p
阅读全文
posted @ 2018-01-25 14:06
papering
阅读(197)
推荐(0)
posted @ 2018-01-25 14:04
papering
阅读(273)
推荐(0)
摘要:
VK_CODE = { 'backspace':0x08, 'tab':0x09, 'clear':0x0C, 'enter':0x0D, 'shift':0x10, 'ctrl':0x11, 'alt':0x12, 'pause':0x13, 'caps_lock':0x14, 'esc':0x1B, 'spacebar':0x20, 'page_up':0x21, ...
阅读全文
posted @ 2018-01-24 20:00
papering
阅读(550)
推荐(0)
posted @ 2018-01-24 19:22
papering
阅读(367)
推荐(0)
摘要:
<textarea class="W_input" style="overflow: hidden; height: 23px;" node-type="_editorNode" placeholder="按回车发送私信"></textarea> https://stackoverflow.com/
阅读全文
posted @ 2018-01-23 20:52
papering
阅读(388)
推荐(0)
摘要:
HTML <iframe> 标签的 src 属性
阅读全文
posted @ 2018-01-23 15:35
papering
阅读(595)
推荐(0)
摘要:
qq xxs qq xxs 有很多举个简单例子 : QQ空间发段文章 带上 <script> 提交(document.cookie) 到 自己服务端获取 </script> 在货客页上:<iframe src="QQ空间发段文章" />
阅读全文
posted @ 2018-01-23 15:34
papering
阅读(296)
推荐(0)
摘要:
http://www.javascriptkit.com/jsref/eventkeyboardmouse.shtml
阅读全文
posted @ 2018-01-23 13:00
papering
阅读(152)
推荐(0)
摘要:
# coding:utf-8'''定义规则 urls:url列表 type:解析方式,取值 regular(正则表达式),xpath(xpath解析),module(自定义第三方模块解析) patten:可以是正则表达式,可以是xpath语句不过要和上面的相对应'''import osimport random'''ip,端口,类型(0高匿名,1透明)...
阅读全文
posted @ 2018-01-23 02:06
papering
阅读(360)
推荐(0)
摘要:
在浏览器输入域名 分析抓包数据 分析 ip 192.168.3.123 网关192.168.2.1
阅读全文
posted @ 2018-01-22 21:59
papering
阅读(1406)
推荐(0)
posted @ 2018-01-22 21:51
papering
阅读(138)
推荐(0)
摘要:
简单服务发现协议(SSDP,Simple Service Discovery Protocol)
阅读全文
posted @ 2018-01-22 19:53
papering
阅读(545)
推荐(0)
posted @ 2018-01-22 19:29
papering
阅读(222)
推荐(0)
posted @ 2018-01-21 12:04
papering
阅读(156)
推荐(0)
摘要:
var ia=document.getElementsByTagName("em");var t=600; for(var ii=0;ii<t;ii++){var it=ia[ii]; try{var itnv=it.firstChild.nodeValue;if(itnv=="+"){consol
阅读全文
posted @ 2018-01-20 11:07
papering
阅读(246)
推荐(0)
摘要:
ia=document.getElementsByTagName("a");console.log(ia[3]);console.log(ia[5]);ia[30].click();var t=30; for(var ii=0;ii<t;ii++){ia[ii].click();} <a href=
阅读全文
posted @ 2018-01-20 01:05
papering
阅读(364)
推荐(0)
摘要:
请求的是文件 脚本请求 服务器内部文件请求 路径 相对性 相对服务器根目录 相对当前脚本路径
阅读全文
posted @ 2018-01-19 22:51
papering
阅读(168)
推荐(0)
摘要:
深入浅出带你走进Redis! https://mp.weixin.qq.com/s/ThVtw8TVuhxIyYxJy6sOWw 带你走进 Redis https://mp.weixin.qq.com/s/4bAPVdUr_XbIw9xFCtWhfw 【Redis学习笔记】5:Redis常见数据结构
阅读全文
posted @ 2018-01-19 21:29
papering
阅读(138)
推荐(0)
摘要:
http://www.laruence.com/manual/yaf.bench.html
阅读全文
posted @ 2018-01-19 20:35
papering
阅读(190)
推荐(0)
摘要:
下载的php_yal.dll文件添加到php的ext http://pecl.php.net/package/yaf/3.0.6/windows yaf. use_namespace=1 ;;extension="D:\Program Files\phpStudy20161103\php\php-5
阅读全文
posted @ 2018-01-19 18:09
papering
阅读(192)
推荐(0)
摘要:
http://blog.csdn.net/u012009613/article/details/52770567 mysql如何进行以,分割的字符串的拆分
阅读全文
posted @ 2018-01-19 17:42
papering
阅读(1011)
推荐(0)
摘要:
在js中取选中的radio值 <input type="radio" name="address" value="0" /> <input type="radio" name="address" value="1" /> <input type="radio" name="address" valu
阅读全文
posted @ 2018-01-19 15:44
papering
阅读(17653)
推荐(0)
摘要:
<!doctype html><html lang="en"> <head> <meta charset="UTF-8"> <meta name="Generator" content="EditPlus®"> <meta name="Author" content=""> <meta name="
阅读全文
posted @ 2018-01-19 15:42
papering
阅读(485)
推荐(0)
摘要:
l = []with open('tmp.txt', 'r', encoding='utf-8') as fr: for i in fr: l.append(i.replace('\n', ''))s = ','.join(list(set(','.join(l).split(',')))[1:])
阅读全文
posted @ 2018-01-18 21:57
papering
阅读(322)
推荐(0)
摘要:
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
阅读(361)
推荐(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
阅读(622)
推荐(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
阅读(150)
推荐(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
阅读(468)
推荐(0)
posted @ 2018-01-18 11:05
papering
阅读(156)
推荐(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
阅读(345)
推荐(0)
posted @ 2018-01-18 01:47
papering
阅读(109)
推荐(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
阅读(228)
推荐(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
阅读(278)
推荐(0)