1:#status .odd 是否奇数行2:#status.count 当前行数3:#status.index 当前行的序号,从0开始『#status.count=#status.index+1』4:#status.first 是否第一行5:#s...
分类:
其他好文 时间:
2014-06-18 23:39:39
阅读次数:
266
非常菜的iOS菜鸟一枚~~~~~最近做项目里需要一个搜索框,UI设计的是使用自定义的外观,所以需要修改很多内置的东西,写代码和调试的过程搜了很多资料,也在stack上问了很多问题,发现关于UISearchBar的资料少得可怜,尤其是iOS7里search bar的资料更是几近没有,所以我整理了一下我...
分类:
其他好文 时间:
2014-06-18 20:46:54
阅读次数:
222
SQL> select count(*) from v$session #连接数SQL> Select count(*) from v$session where status='ACTIVE' #并发连接数SQL> show parameter processes #最大连接 process:.....
分类:
数据库 时间:
2014-06-18 20:28:17
阅读次数:
289
本来是有用@Entity和@Table注解映射,之后发现,是因为@Table导入的包导错了。
分类:
移动开发 时间:
2014-06-16 18:34:19
阅读次数:
194
升级了mac操作系统,安装python的python-ldap,报错Modules/LDAPObject.c:18:10:fatalerror:‘sasl.h‘filenotfound#include<sasl.h>^1errorgenerated.error:command‘cc‘failedwithexitstatus1----------------------------------------Cleaningup...Command/usr/bin/python..
分类:
编程语言 时间:
2014-06-16 16:21:35
阅读次数:
758
//调用
public ActionResult GenerateExcel() {
DataTable headerTable = new DataTable();
headerTable.Columns.Add("Status_Id", Type.GetType("System.String"));
header...
分类:
其他好文 时间:
2014-06-15 10:28:57
阅读次数:
260
这是一个很有意思的问题,求解最大容积问题,值得动脑筋想一想。
原题如下:
Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.
For...
分类:
移动开发 时间:
2014-06-14 13:12:01
阅读次数:
268
2005: [Noi2010]能量采集Time Limit: 10 SecMemory Limit: 552 MBSubmit: 1493Solved: 885[Submit][Status]Description栋栋有一块长方形的地,他在地上种了一种能量植物,这种植物可以采集太阳光的能量。在这些植...
分类:
其他好文 时间:
2014-06-14 13:02:46
阅读次数:
248
曾经整理过一篇《关于PHP连接处理中set_time_limit()、connection_status()和ignore_user_abort()深入解析》,是讲解浏览器客户端断开时,服务器PHP脚本的处理。
这篇文章,将讲解一下服务器PHP脚本怎样主动断开与浏览器的连接,主要方法是使用http协议header中的Content-Length和Connection
Content-Length的作用:浏览器接收到指定Content-Length大小的消息实体后,则会断开与服务器的连接。
Connectio...
分类:
Web程序 时间:
2014-06-14 09:24:21
阅读次数:
229
简单的Git权威指南学习笔记(二)Git暂存区,本文通过git diff和git status命令来理解git中工作区,暂存区和master分支的概念。...
分类:
其他好文 时间:
2014-06-14 09:16:08
阅读次数:
163