ScrollView由视窗区域(裁剪区域)和内容区域组成,内容区域叫innerContainer。 视窗区域范围:get/setContentSize 内容区域:get/setInnerContainerSize, ScrollView怎样排版?对ScrollView而言,innerContaine ...
分类:
其他好文 时间:
2016-12-03 15:17:56
阅读次数:
127
$(this).parent().parent().parent().parent().parent().remove(); //此方法通过parent()一级一级往上找 $(this).parents("div").remove();// 此方法是找出所有父级元素以及祖宗元素 通过“div” 筛选 ...
分类:
Web程序 时间:
2016-12-03 09:54:53
阅读次数:
224
找到安装目录:C:/oracle/product/10.2.0/db_1/NETWORK/ADMIN 打开sqlnet.ora 在里面找到 SQLNET.AUTHENTICATION_SERVICES= (NTS)将其更改为: SQLNET.AUTHENTICATION_SERVICES= (BEQ ...
分类:
数据库 时间:
2016-12-03 08:02:06
阅读次数:
315
基本方法是重写AuthorizeAttribute类的AuthorizeCore方法 protected override bool AuthorizeCore(HttpContextBase httpContext) { string currentRole = GetRole(httpConte ...
分类:
Web程序 时间:
2016-12-03 08:01:02
阅读次数:
251
My Solution: Highest votes in discussion ...
分类:
其他好文 时间:
2016-12-03 07:59:32
阅读次数:
132
A slice (P, Q)其实就是从P到Q的序列,(P,Q)是arithmetic slice要求是等差数列且至少有三个数,问array里面有多少个这样的(P, Q) 这道题难点在于想到用DP,一旦想到用DP,就迎刃而解 dp[i]表示以i结束的slice有多少个 ...
分类:
其他好文 时间:
2016-12-03 07:59:24
阅读次数:
150
The above image represents the elevation map [[1,4,3,1,3,2],[3,2,1,3,2,4],[2,3,3,2,3,1]] before the rain. After the rain, water are trapped between th ...
分类:
移动开发 时间:
2016-12-03 07:52:36
阅读次数:
257
使用auth.authenticate(username= username,passowrd=passowrd),这个用户认证时候,明明数据库中有记录,但是返回就None 我的错误点比较多: 1.我创建的用户名和密码,并没有添加到在auth_user(django自带的表)中,而是放进了通过mod ...
分类:
其他好文 时间:
2016-12-02 22:07:06
阅读次数:
227
Android 调试桥(adb)是多种用途的工具,该工具可以帮助你你管理设备或模拟器 的状态。 可以通过下列几种方法加入adb: 在设备上运行shell命令 通过端口转发来管理模拟器或设备 从模拟器或设备上拷贝来或拷贝走文件 下面对adb进行了介绍并描述了常见的使用. Contents 概要 And ...
分类:
移动开发 时间:
2016-12-02 14:30:49
阅读次数:
297