#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 80000
if ([application respondsToSelector:@selector(registerUserNotificationSettings:)]) {
// use registerUserNotificationSettings
} else {
// use regist...
分类:
移动开发 时间:
2014-10-20 21:24:22
阅读次数:
226
server2003操作系统IIS运行应用程序报错,应用程序事件查看器详细:NET Runtime version 2.0.50727.42 - 执行引擎错误或者无法创建应用程序域解决方法:卸载.net2.0,然后重装借助专门卸载.net2.0的工具net framework 2.0cleanup_...
分类:
Web程序 时间:
2014-10-20 21:18:42
阅读次数:
287
在root下一切正常,在当前用户下就出现了问题。如下所示:luyunde@luyunde-desktop:/usr/local$ java -version程序“java”已包含在下列软件包中:* gcj-4.4-jre-headless* openjdk-6-jre-headless* cacao...
分类:
其他好文 时间:
2014-10-20 21:05:22
阅读次数:
154
HDU 5014 Number Sequence ( 构造 )题目意思:给出一个数列 由0 - n 组成然后需要构造一个数列 (也是由0-n组成),使得 sum(A[i] ^ B[i])的值最大。分析:异或不能出现比这个数大的情况,,所以要从大的数往前找。现计算出当前判断数的二进制位的位数m,然后再...
分类:
其他好文 时间:
2014-10-20 21:02:32
阅读次数:
136
The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font ...
分类:
其他好文 时间:
2014-10-20 20:49:08
阅读次数:
280
编写脚本review.sh: #!/bin/bash
VERSION=`svn?log?-v?--stop-on-copy?$1?|?grep?-B4?"svn?copy"?|?head?-1?|?awk?‘{print?substr($1,2)}‘`
svn?di?-r?${VERSION}:head?$1 用法脚本后跟分支...
分类:
其他好文 时间:
2014-10-20 19:44:34
阅读次数:
194
problem:Given a linked list, reverse the nodes of a linked listkat a time and return its modified list.If the number of nodes is not a multiple ofkthe...
分类:
其他好文 时间:
2014-10-20 19:16:49
阅读次数:
182
[Description] There is a number in each stages that indicates the most stages you can leap up. Now, giving an array which represents one kind of stair...
分类:
其他好文 时间:
2014-10-20 18:47:25
阅读次数:
164
mysql的INNODB引擎锁的原理是怎样的,来做个试验。
mysql> SELECT VERSION();
+-----------+
| VERSION() |
+-----------+
| 5.5.20 |
+-----------+
1 row in set (0.00 sec)
CREATE TABLE test
(
a INT(5),
b V...
分类:
数据库 时间:
2014-10-20 17:18:43
阅读次数:
234
常用的表单验证指令1. 必填项验证某个表单输入是否已填写,只要在输入字段元素上添加HTML5标记required即可: 2. 最小长度验证表单输入的文本长度是否大于某个最小值,在输入字段上使用指令ng-minleng= "{number}": 3. 最大长度验证表单输入的文本长度是否小于或等于某个最...
分类:
其他好文 时间:
2014-10-20 17:07:38
阅读次数:
146