码迷,mamicode.com
首页 >  
搜索关键字:match    ( 5193个结果)
android的ListView的分页加载
main6.xml<?xmlversion="1.0"encoding="utf-8"?> <LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <ListView androi..
分类:移动开发   时间:2016-12-14 14:37:50    阅读次数:238
Maven学习之 仓库镜像
使用仓库镜像 仓库可以声明在项目中,但有时,你可能想要使用某个仓库的镜像,而不去修改项目文件。 使用镜像的原因: 有一个同步镜像,且速度更快。 想使用你自己控制的内部仓库。 想运行repository manager来提供一个本地的缓存(镜像),然后使用该缓存的URL。 为了配置给定仓库的镜像,你需... ...
分类:其他好文   时间:2016-12-14 14:31:06    阅读次数:257
es6学习笔记(四)
一. 字符串扩展 1. unicode表示的改进 es5支持unicode表示字符,限于\u0000--\uFFFF之间的字符,超出范围的字符用双字节形式表达 es6将码点放进大括号 2. 字符串遍历(for...of) 3. 字符串查找includes、startsWith、endsWith es ...
分类:其他好文   时间:2016-12-14 13:52:49    阅读次数:147
详解php中空字符串和0之间的关系
$_x=$row["x"];$_y=$row["y"];if(isset($_x) && isset($_y)){if($row["y"] == 0 || $row["x"] == 0){$d=$this->getDistance($row["y"],$row["x"],$y,$x);}elseif ...
分类:Web程序   时间:2016-12-13 19:04:55    阅读次数:154
android将图片和文字水平排列
<?xmlversion="1.0"encoding="utf-8"?> <LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:gravity="center" > &l..
分类:移动开发   时间:2016-12-13 16:38:52    阅读次数:224
android的ListView图文混搭
main4.xml<?xmlversion="1.0"encoding="utf-8"?> <LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" > <ListView android:id="@+id/listView4_1_1" ..
分类:移动开发   时间:2016-12-13 16:37:23    阅读次数:231
新浪微博客户端(55)-高亮显示微博内容中的昵称,话题,超链接
DJStatus.h DJStatus.m DJStatusCell.m 集成RegexKitLite框架 1. 添加RegexKitLite的库文件到项目: 2. 如果此时执行Command+B编译,Xcode会报错: 3. 错误的原因是RegexKitLite框架是非ARC的代码,因此我们需要在 ...
分类:其他好文   时间:2016-12-12 23:21:52    阅读次数:240
AngularJS2之本地环境搭建
前言:本来准备初探AngularJS2,结果成了复习git和再探node git的两个常见问题:一、github上传时出现error: src refspec master does not match any解决办法 二、如何解决failed to push some refs to git An ...
分类:Web程序   时间:2016-12-12 22:19:11    阅读次数:288
Lua 自定义函数string.split
function string.split(str, delimiter) if str==nil or str=='' or delimiter==nil then return nil end local result = {} for match in (str..delimiter):gma ...
分类:其他好文   时间:2016-12-12 20:18:41    阅读次数:356
python自动化运维之路~DAY1
刚学python,有大神给指点指点的吗? ...
分类:编程语言   时间:2016-12-12 14:33:49    阅读次数:169
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!