纯代码创建导航控制器UINavigationController在Xcode6.1中创建single view application的项目,删除Main.storyboard文件,删除info.plist中main storyboard相关属性,依靠代码编写UI视图,研究导航控制器栈的原理。App...
分类:
移动开发 时间:
2015-03-21 06:20:02
阅读次数:
248
1. 单例模式以下是恶汉模式,类初始化的时候,就进行了new对象,如果没有调用getInstance方法,那么系统就提前消耗掉了无用内存 public class singleton { private static singleton sing = new single...
分类:
其他好文 时间:
2015-03-20 14:18:03
阅读次数:
110
jboss 7 开发提示如下: More than the maximum number of request parameters (GET plus POST) for a single request ([512]) were detected.Any parameters beyond this limit have been ignored. To change th...
分类:
其他好文 时间:
2015-03-20 13:04:48
阅读次数:
267
Input
The input consists of a single line, which contains a string of Latin alphabet letters (no other characters will appear in the string). String length will not exceed 1000 characters.
Outpu...
分类:
编程语言 时间:
2015-03-19 22:09:51
阅读次数:
176
demo下载地址http://download.csdn.net/detail/metis100/8498401安卓开发一年,开始想整理些资料成库,以备日后快速开发。
第一天,整理了常用的dialog,包括:single Choice Dialog,Multiple choice Dialog,Input Dialog ,Progress Dialog….
代码在云盘中 ,点击链接下载http:...
分类:
其他好文 时间:
2015-03-19 14:48:56
阅读次数:
126
Javascript语言的执行环境是"单线程"(single thread)一次只能完成一件任务。如果有多个任务,就必须排队,前面一个任务完成,再执行后面一个任务Javascript语言将任务的执行模式分成两种:同步(Synchronous)和异步(Asynchronous)"异步模式"则完全不同,...
分类:
编程语言 时间:
2015-03-19 14:39:44
阅读次数:
170
'?' Matches any single character.'*' Matches any sequence of characters (including the empty sequence).The matching should cover the entire input stri...
分类:
其他好文 时间:
2015-03-18 17:20:10
阅读次数:
112
一、 yum作用: yum 命令是在Fedora 和RedHat 以及SUSE 中基于rpm 的软件包管理器,它可以使系统管理人员交互和自动化地更新与管理RPM软件包, 能够从指定的服务器自动下载RPM包并且安装,可以自动处理依赖性关系, 并且一次安装所有依赖的软件包, 无需繁琐地...
分类:
其他好文 时间:
2015-03-18 17:16:38
阅读次数:
131
源端字符集与endian查看:
SQL> select userenv(‘language’) from dual;
USERENV(‘LANGUAGE’) SIMPLIFIED CHINESE_CHINA.ZHS16GBKSQL> SELECT d.PLATFORM_NAME, ENDIAN_FORMAT
2 FROM VTRANSPORTABLEPLATFORMtp,VT...
分类:
其他好文 时间:
2015-03-18 16:04:01
阅读次数:
151
problem:
Implement regular expression matching with support for '.' and '*'.
'.' Matches any single character.
'*' Matches zero or more of the preceding element.
The matching should cover the entir...
分类:
其他好文 时间:
2015-03-18 12:26:30
阅读次数:
127