摘要:
python爬虫爬取内容中,-xa0,-u3000的含义 - CSDN博客 https://blog.csdn.net/aiwuzhi12/article/details/54866310
阅读全文
posted @ 2018-06-06 15:22
papering
阅读(317)
推荐(0)
摘要:
Okapi BM25 - Wikipedia https://en.wikipedia.org/wiki/Okapi_BM25 In information retrieval, Okapi BM25 (BM stands for Best Matching) is a ranking functi
阅读全文
posted @ 2018-06-06 08:52
papering
阅读(492)
推荐(0)
摘要:
Redis如果也用一主多从的模式可行吗?答案是不行,因为Redis主从同步机制会优先尝试增量同步,当增量同步不成功时,再去尝试全量同步,一旦专线发生抖动就会把主库拖垮,并进一步阻塞专线,形成“雪崩效应”。因此两地的Redis只能是双主模式,但是这种架构有一个问题,就是我们得自己去解决数据同步的问题,
阅读全文
posted @ 2018-06-06 08:04
papering
阅读(986)
推荐(0)
posted @ 2018-06-05 22:40
papering
阅读(164)
推荐(0)
摘要:
暂时无法提交申请,可能的原因是:1. 历史申请尚未审核完成;2. 每月1~4号涉及提现问题,不支持类型变更;3. 距上次审核通过不足6个月;4. 未完成实名认证,请在「帐号权限」页面点击「前往认证」,然后在客户端进行实名认证。
阅读全文
posted @ 2018-06-05 18:16
papering
阅读(307)
推荐(0)
摘要:
NetBIOS NetBIOS - Wikipedia https://en.wikipedia.org/wiki/NetBIOS NetBIOS (/ˈnɛtbaɪɒs/) is an acronym for Network Basic Input/Output System. It provid
阅读全文
posted @ 2018-06-05 15:40
papering
阅读(498)
推荐(0)
posted @ 2018-06-05 14:49
papering
阅读(155)
推荐(0)
摘要:
重要术语说明_语音识别(ASR)_智能语音交互-阿里云 https://help.aliyun.com/document_detail/72238.html 返回模式(response mode) 在调用语音识别服务时进行设置,返回模式有流式(streaming)和整体(total)两个选项。 “整
阅读全文
posted @ 2018-06-04 14:30
papering
阅读(659)
推荐(0)
摘要:
使用批量索引加快索引过程 为了执行批量请求,Elasticsearch提供了_bulk端点,形式可以是/_bulk,也可以是/index_ name/_bulk,甚至是/index_name/type_name/_bulk。第二种和第三种形式定义了索引名称 和类型名称的默认值。可以在请求的信息行中省
阅读全文
posted @ 2018-06-04 09:00
papering
阅读(216)
推荐(0)
摘要:
https://www.openssl.org/
阅读全文
posted @ 2018-06-01 15:16
papering
阅读(164)
推荐(0)
posted @ 2018-05-31 19:30
papering
阅读(303)
推荐(0)
摘要:
是数字的仅且仅为目标字符 将不是数字的字符替换,然后切割字符串
阅读全文
posted @ 2018-05-31 10:55
papering
阅读(635)
推荐(0)
posted @ 2018-05-30 18:13
papering
阅读(177)
推荐(0)
摘要:
Element is not clickable at point SeleniumWebdriverException | Selenium Easy http://www.seleniumeasy.com/selenium-tutorials/element-is-not-clickable-a
阅读全文
posted @ 2018-05-30 16:38
papering
阅读(343)
推荐(0)
posted @ 2018-05-29 22:39
papering
阅读(437)
推荐(0)
摘要:
打印第10至第10行 awk 'NR==10,NR==10{print $k}' file.txt $ nl --body-numbering=a models.py | head -n 878 | tail -n 8 871 872 def partial_clone(self): 873 sel
阅读全文
posted @ 2018-05-29 22:20
papering
阅读(257)
推荐(0)
摘要:
https://s3.pstatp.com/pgc/v2/resource/tt_ueditor_v3_temple/tt-editor.all.js?20180425
阅读全文
posted @ 2018-05-28 14:04
papering
阅读(205)
推荐(0)
摘要:
部门工资最高的员工 - LeetCode (中国) https://leetcode-cn.com/problems/department-highest-salary/description/ SELECT d11.Department AS Department,e11.Name AS Empl
阅读全文
posted @ 2018-05-28 13:13
papering
阅读(381)
推荐(0)
posted @ 2018-05-28 12:52
papering
阅读(178)
推荐(0)
摘要:
连续出现的数字 - LeetCode (中国) https://leetcode-cn.com/problems/consecutive-numbers/description/ Write a SQL query to find all numbers that appear at least t
阅读全文
posted @ 2018-05-27 23:27
papering
阅读(268)
推荐(0)
posted @ 2018-05-27 06:35
papering
阅读(315)
推荐(0)
摘要:
Write a SQL query to rank scores. If there is a tie between two scores, both should have the same ranking. Note that after a tie, the next ranking num
阅读全文
posted @ 2018-05-26 22:50
papering
阅读(342)
推荐(0)
摘要:
对Key/Value型RDD进行变换 groupBy按Key汇聚 fruit,applevegetable,cucumberfruit,cherryvegetable,beanfruit,bananavegetable,pepper sc.textFile("D:\\LearnSpark\\win\
阅读全文
posted @ 2018-05-26 11:01
papering
阅读(229)
推荐(0)
摘要:
原创|InnoDB事务锁系统及其实现 https://mp.weixin.qq.com/s/W07ZIW0GRtsrS5nuiy2z_A CATS事务调度算法 CATS(Contention Aware Transaction Schedule)是MySQL 8.0的一个新特性,相关论文发表在VLD
阅读全文
posted @ 2018-05-26 01:16
papering
阅读(413)
推荐(0)
摘要:
换座位 - LeetCode (中国) https://leetcode-cn.com/problems/exchange-seats/description/ Mary is a teacher in a middle school and she has a table seat storing
阅读全文
posted @ 2018-05-26 00:52
papering
阅读(382)
推荐(0)
摘要:
第N高的薪水 - LeetCode (中国) https://leetcode-cn.com/problems/nth-highest-salary/description/ Write a SQL query to get the nth highest salary from the Emplo
阅读全文
posted @ 2018-05-25 21:07
papering
阅读(264)
推荐(0)
摘要:
select case when if 的一些用法 - 马丁传奇 - 博客园 https://www.cnblogs.com/martinzhang/p/3220595.html Write a SQL query to get the second highest salary from the
阅读全文
posted @ 2018-05-25 19:47
papering
阅读(305)
推荐(0)
摘要:
https://leetcode-cn.com/problems/employees-earning-more-than-their-managers/description/ The Employee table holds all employees including their manage
阅读全文
posted @ 2018-05-25 02:17
papering
阅读(260)
推荐(0)
摘要:
https://leetcode-cn.com/problems/swap-salary/description/ Given a table salary, such as the one below, that has m=male and f=female values. Swap all f
阅读全文
posted @ 2018-05-25 02:11
papering
阅读(281)
推荐(0)
摘要:
SELECT * FROM cinema WHERE description NOT IN ("boring") AND id MOD 2 = 1 ORDER BY rating DESC
阅读全文
posted @ 2018-05-25 01:59
papering
阅读(222)
推荐(0)
摘要:
无重复字符的最长子串 - LeetCode (中国) https://leetcode-cn.com/problems/longest-substring-without-repeating-characters/description/
阅读全文
posted @ 2018-05-25 00:29
papering
阅读(206)
推荐(0)
摘要:
最长公共前缀 - LeetCode (中国) https://leetcode-cn.com/problems/longest-common-prefix/description/
阅读全文
posted @ 2018-05-24 21:19
papering
阅读(268)
推荐(0)
摘要:
https://docs.python.org/3/library/configparser.html
阅读全文
posted @ 2018-05-24 12:02
papering
阅读(129)
推荐(0)
摘要:
import sys, os this_file_abspath = os.path.dirname(os.path.abspath(__file__)) ProjectUtil_path = '{}{}{}'.format(this_file_abspath, os.sep, 'ProjectUtil') sys.path.append(ProjectUtil_path) from...
阅读全文
posted @ 2018-05-24 11:34
papering
阅读(393)
推荐(0)
摘要:
https://www.seleniumhq.org/download/
阅读全文
posted @ 2018-05-24 10:35
papering
阅读(190)
推荐(0)
摘要:
https://github.com/andymccurdy/redis-py/blob/master/redis/client.py https://github.com/PyMySQL/PyMySQL/blob/master/pymysql/__init__.py
阅读全文
posted @ 2018-05-23 22:30
papering
阅读(230)
推荐(0)
摘要:
id_=document.getElementById("sidebar_categories");a_=id_.getElementsByTagName("a");len_=a_.length; sum_=0;for(i=0;i<len_;i++){n=a_[0].childNodes[0].no
阅读全文
posted @ 2018-05-23 21:43
papering
阅读(195)
推荐(0)
摘要:
当某个RDD的部分数据丢失时候,Saprk会根据记录的世系关系找到该RDD的父RDD以及更上级的RDD。只需要将该RDD依赖的上级RDD重新计算就可以将该RDD进行恢复。 Directed Acyclic Graph DAG RDD 的有向无环图构建过程,就是不停将Spark代码中刚一系列的RDD转
阅读全文
posted @ 2018-05-23 20:03
papering
阅读(408)
推荐(0)
摘要:
https://github.com/PyMySQL/PyMySQL/blob/master/pymysql/__init__.py 建立连接 https://github.com/PyMySQL/PyMySQL/blob/master/pymysql/connections.py https://
阅读全文
posted @ 2018-05-23 17:25
papering
阅读(683)
推荐(0)
posted @ 2018-05-23 14:15
papering
阅读(203)
推荐(0)