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
使用仓库镜像 仓库可以声明在项目中,但有时,你可能想要使用某个仓库的镜像,而不去修改项目文件。 使用镜像的原因: 有一个同步镜像,且速度更快。 想使用你自己控制的内部仓库。 想运行repository manager来提供一个本地的缓存(镜像),然后使用该缓存的URL。 为了配置给定仓库的镜像,你需... ...
分类:
其他好文 时间:
2016-12-14 14:31:06
阅读次数:
257
一. 字符串扩展 1. unicode表示的改进 es5支持unicode表示字符,限于\u0000--\uFFFF之间的字符,超出范围的字符用双字节形式表达 es6将码点放进大括号 2. 字符串遍历(for...of) 3. 字符串查找includes、startsWith、endsWith es ...
分类:
其他好文 时间:
2016-12-14 13:52:49
阅读次数:
147
$_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
<?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
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
DJStatus.h DJStatus.m DJStatusCell.m 集成RegexKitLite框架 1. 添加RegexKitLite的库文件到项目: 2. 如果此时执行Command+B编译,Xcode会报错: 3. 错误的原因是RegexKitLite框架是非ARC的代码,因此我们需要在 ...
分类:
其他好文 时间:
2016-12-12 23:21:52
阅读次数:
240
前言:本来准备初探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
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