码迷,mamicode.com
首页 >  
搜索关键字:match    ( 5193个结果
错误:selenium.common.exceptions.SessionNotCreatedException: Message: Unable to find a matching set of capabilities
错误再现 原因:firefox浏览器版本和浏览器驱动版本不匹配 解决办法:卸载高版本浏览器,安装低版本浏览器 ...
分类:其他好文   时间:2020-02-07 15:02:13    阅读次数:71
学习进度06
正则表达式的学习: https://www.bilibili.com/video/av19956343?p=128 #re模块简介 re.match函数 原型:match(pattern,string,flags=0) 参数: 标志位flags值如下: re.I 忽略大小写,影响 ^和$ re.L ...
分类:其他好文   时间:2020-02-06 22:45:14    阅读次数:71
Android教程2020 - RecyclerView显示多种item
"Android教程2020 系列总览" "本文链接" 前面我们已经用 "RecyclerView显示一些数据" 。也知道如何 "获取滑动的距离" 。 前面我们的列表中显示的都是同类数据。如果要在一个列表中显示不同类别的数据,该怎么做呢? RecyclerView已经有应对这类场景的能力,本文描述如 ...
分类:移动开发   时间:2020-02-06 16:19:13    阅读次数:110
MongoDB 聚合管道(Aggregation Pipeline)
1.含义: 使用聚合管道可以对集合中的文档进行换行和组合。在实际项目中:表的关联查询,数据统计; 常见管道操作符 description $project 增加,删除,重命名字段 $match 条件匹配,满足条件的文档才能进入下一阶段 $limit 限制结果的数量 $skip 跳过文档的数量 $so ...
分类:数据库   时间:2020-02-05 23:07:18    阅读次数:102
软件工程专业必须要会的算法
KMP算法 内容 计算《部分匹配表》,移动位数 = 已匹配的字符数 对应的部分匹配值。 摘自 "点击查看原博主" ~~~ include include include using namespace std; void ComputePrefix(string s,int next[]){ int ...
分类:编程语言   时间:2020-02-04 16:02:20    阅读次数:77
010-Android开发解决控件超出屏幕,不能正常显示的问题
可使用控件ScrollView来做下翻滚动条,但是ScrollView内部只能包含一个控件(可在其内部添加一个layout布局,在布局内部再添加内容) <ScrollView android:layout_width="409dp" android:layout_height="wrap_conte ...
分类:移动开发   时间:2020-02-04 13:50:44    阅读次数:128
php进行过滤用户名、邮箱、手机账号中间字符串以*隐藏
php进行过滤用户名、邮箱、手机账号中间字符串以*隐藏 在自定义函数文件中加入(网站根目录api/extend.func.php) //用户名、邮箱、手机账号中间字符串以*隐藏 function xhdestar($str) { if (strpos($str, '@')) { $email_arr ...
分类:移动开发   时间:2020-02-03 17:29:12    阅读次数:126
朴素贝叶斯分类器Naive Bayes
优点Naive Bayes classifiers tend to perform especially well in one of the following situations: When the naive assumptions actually match the data (very ...
分类:其他好文   时间:2020-02-03 09:22:01    阅读次数:76
学习进度02_2
# 匹配一个字符 import re # re match函数 text = "ss555" # 匹配ss字符串 ret = re.match('ss', text) print(ret.group()) # .匹配一个字符 .不能匹配换行符 ret = re.match('.', text) pr ...
分类:其他好文   时间:2020-02-02 19:50:22    阅读次数:95
elasticsearch之分页查询
分页查询: from /size GET zhifou/doc/_search { "query": { "match_all": {} }, "sort": [ { "age": { "order": "desc" } } ], "from": 2, #从排序好的结果第二条开始 "size": 1 ...
分类:其他好文   时间:2020-02-02 19:36:45    阅读次数:68
5193条   上一页 1 ... 41 42 43 44 45 ... 520 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!