欢迎关注我的推特
上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 71 下一页
摘要: 在下面的命令框输入“select script”回车来筛选js请求将HTTP请求重定向到本地的文件,进行web调试。这种调试方式不需要发布到线上再验证,避免了修改不成功、对用户造成影响的风险左边一栏里是请求的URL,右边是响应的URL输出可以在console里面看到 window.console.i 阅读全文
posted @ 2017-11-24 12:58 服务号AwesomeAITools 阅读(545) 评论(0) 推荐(0)
摘要: sublime 格式化html css 1.ctrl + shift + p 2.输入install package,选择install package 3.输入:HTML-CSS-JS Prettify,并安装该插件。 4.重启sublime 选中代码,然后按Ctrl+Alt+H对代码进行格式化 阅读全文
posted @ 2017-11-23 16:55 服务号AwesomeAITools 阅读(731) 评论(0) 推荐(0)
摘要: 注意:容易出现403错误,实际爬取时不会出现。 response - a Response object containing the last fetched page >>>response.xpath('//title/text()').extract() return a list of s 阅读全文
posted @ 2017-11-23 16:17 服务号AwesomeAITools 阅读(687) 评论(0) 推荐(0)
摘要: javascript rendering service a lightweight web browser can execute custom JavaScript in page context get detailed rendering info in HAR format(http:// 阅读全文
posted @ 2017-11-23 15:05 服务号AwesomeAITools 阅读(291) 评论(0) 推荐(0)
摘要: Lua一般用于嵌入式应用,现在越来越多应用于游戏当中,魔兽世界,愤怒的小鸟都有用到。 Lua极易嵌入到其他程序,可当做一种配置语言。 还有很多需要性能的地方,比如:游戏脚本,nginx,wireshark的脚本 可以直接使用 C 代码写的函数。 比如corona 移动应用开发平台,跟PhonePap 阅读全文
posted @ 2017-11-23 14:37 服务号AwesomeAITools 阅读(4156) 评论(0) 推荐(0)
摘要: import json f = open("index.html", "wb") json.dump(response.data, f) f.close() dumps只完成了序列化为str, dump必须传文件描述符,将序列化的str保存到文件中 阅读全文
posted @ 2017-11-23 13:31 服务号AwesomeAITools 阅读(4850) 评论(0) 推荐(0)
摘要: avcodec_decode_video2. returns -1094995529. #define AVERROR_INVALIDDATA FFERRTAG( 'I','N','D','A') The -1094995529 becomes -0x41444E49 and when you lo 阅读全文
posted @ 2017-11-22 11:10 服务号AwesomeAITools 阅读(431) 评论(0) 推荐(0)
摘要: 腾讯的artTemplate 1,编写模板 (采用script标签并带有属性id和type="text/html") <script id="test" type="text/html"> {{if isAdmin}} <h1>{{author}}</h1> <ul> {{each list as 阅读全文
posted @ 2017-11-17 20:22 服务号AwesomeAITools 阅读(495) 评论(0) 推荐(0)
摘要: nginx 413 Request Entity Too Large Php无法上传文件查看php脚本运行用户,写个php脚本<?php echo shell_exec("id -a"); http.conf中User apache Group apache 修改网站目录用户为apache即可。 P 阅读全文
posted @ 2017-11-17 09:14 服务号AwesomeAITools 阅读(1556) 评论(0) 推荐(0)
摘要: 1 我想把updatedb命令(用于重新建立整盘索引的命令)放在后台运行。 注释:在所要执行的命令后面加上空格,再加上&符号即可实现后台执行。所返回的[1]表示这是第一个你放到后台的任务。23336是这个任务的进程号。 2 我执行updatedb时忘了加&了,这下我怎么办?有办法: 按键盘上的ctr 阅读全文
posted @ 2017-11-15 09:20 服务号AwesomeAITools 阅读(260) 评论(0) 推荐(0)
上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 71 下一页