设置状态栏显示颜色为白色.a. 在info.plist中,添加一项,选择View controller-based status bar appearance(箭头下拉中最后一项),设置为no;b.在viewController或者自定义NavController中,设置[UIApplication...
分类:
其他好文 时间:
2015-08-04 18:55:19
阅读次数:
134
$_SERVER['PHP_SELF'] 当前执行脚本的文件名,与 document root 有关。例如,在地址为 http://example.com/test.php/foo.bar 的脚本中使用 $_SERVER['PHP_SELF'] 将得到 /test.php/foo.bar。__FIL...
分类:
Web程序 时间:
2015-08-04 15:21:55
阅读次数:
125
我们经常在查css手册的时候,看到很多符号都不认识,百度了一下,收藏下来。与大家分享比如 font属性font:[ [||||]?[ /]?] | caption | icon | menu | message-box | small-caption | status-bar又如:border-ra...
分类:
Web程序 时间:
2015-08-04 12:42:44
阅读次数:
205
有时候在 Storyboard 和 target 里的设定并不足以使得应用能够完全隐藏状态栏。这时候需要到 Info.plist,添加一项:View controller-based status bar appearance,并把值设为 NO。
分类:
移动开发 时间:
2015-08-04 09:15:36
阅读次数:
113
1.组成最下层是:tabbar 中间是:custom content 最上面:Tab bar controller viewTab Bar上面显示的每一个Tab都对应着一个View Controller.ViewController本身具有一个tabBarItem属性,只要设置它,就能改变Tab B...
分类:
其他好文 时间:
2015-08-03 18:36:01
阅读次数:
124
准备工作: 在项目的【管理NuGet程序包】中安装PagedList.Mvc组件。 安装好了截图让下:具体实现后台控制器代码:using Paging.Models;using System;using System.Collections.Generic;using System.Linq;u.....
分类:
Web程序 时间:
2015-08-03 16:09:57
阅读次数:
215
测试页面AV.initialize("id", "key");var TestObject = AV.Object.extend("TestObject");var testObject = new TestObject();testObject.save({foo: "bar"}, { succ....
分类:
Web程序 时间:
2015-08-02 23:10:58
阅读次数:
230
问题描述Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the ...
分类:
其他好文 时间:
2015-08-02 11:38:09
阅读次数:
96
后端服务器健康检查
#vim/etc/varnish/health_check.vcl
probebackend_healthcheck{
.interval=5s;
.timeout=3s;
.window=10;
.threshold=8;
.request=
"GET/favicon.icoHTTP/1.1"
"Host:v5.ele.me"
"Connection:close"
"Accept-Encoding:foo/bar";
}
#后端服务器地址池配..
分类:
其他好文 时间:
2015-08-01 19:15:27
阅读次数:
413
字体大小:#1##2添加链接:文字链接 [blog](http://yalantis.com/blog/how_we_created_tab_bar_animation_for_ios/?utm_source=github)图片显示(方括号里为描述)![Preview](https://d13yac...
分类:
其他好文 时间:
2015-08-01 18:37:05
阅读次数:
115