//BOARD 主板
String phoneInfo = "BOARD: " + android.os.Build.BOARD;
phoneInfo += ", BOOTLOADER: " + android.os.Build.BOOTLOADER;
//BRAND 运营商
phoneInfo += ", BRAND: " + android.os.Build.BRAND;
phoneInfo ...
分类:
移动开发 时间:
2014-11-17 12:26:29
阅读次数:
582
在开发过程中,我们经常需要用到NSLog输出一些信息,甚至有的开发过程,必须在控制台查看输出,有经验的程序员通过控制台输出就能知道整个数据交互的一个流程。但是一个发布的程序,里面带有太多的NSLog输出,肯定对于App性能有所影响,这时候我们可以使用一个宏定义来处理,在开发的时候使用DEBUG模式,...
分类:
其他好文 时间:
2014-11-17 12:20:42
阅读次数:
140
给定一个board字符矩阵,可以从任意一个点开始经过上下左右的方式走,每个点只能走一次,如果存在一条路走过的字符等于给定的字符串,那么返回trueGiven a 2D board and a word, find if the word exists in the grid.The word can...
分类:
其他好文 时间:
2014-11-17 01:37:43
阅读次数:
306
http://repo.spring.io/webapp/mavensettings.html?21 Maven Releases <repositories>
????<repository>
????????<id>repository.springsource.release</id>
????????<name>Spring?GA?Rep...
分类:
编程语言 时间:
2014-11-17 00:36:09
阅读次数:
183
OC:内存管理,关闭ARC,改造release,allco函数实现自动内存释放...
分类:
其他好文 时间:
2014-11-16 17:26:58
阅读次数:
221
安装yum源yum-yinstallhttp://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpmvim/etc/yum.repos.d/epel.repobaseurl去掉注释注释mirrorlist安装git环境所需的包yum-yinstalllibicu-develpatchgcc-c++readline-develzlib-devellibffi-developenssl-develm..
分类:
其他好文 时间:
2014-11-16 10:48:19
阅读次数:
305
这道题让我切身体会了引用传递和值传递这两种方式的巨大差异。在isValid子函数中,若采用引用传递将board传参,程序运行时间在0.068左右,可以AC.若采用值传递将board传参,程序运行时间在2.011左右,直接TLE。一切只因为一个"&". 引用传递与值传递效率差异可以如此明显。 1 cl...
分类:
其他好文 时间:
2014-11-16 10:27:28
阅读次数:
187
Given a 2D board and a word, find if the word exists in the grid.The word can be constructed from letters of sequentially adjacent cell, where "adjace...
分类:
其他好文 时间:
2014-11-16 09:19:40
阅读次数:
218
Struts2:http://struts.apache.org/Spring:主页:http://spring.io/下载:http://repo.spring.io/release/org/springframework/spring/mybatis:主页:http://mybatis.github.io/资源主页:https://github.com/mybatis/下载地址:https://github.com/mybatis/mybatis-3/releas..
分类:
编程语言 时间:
2014-11-16 01:56:02
阅读次数:
165
转载:http://blog.chinaunix.net/uid-20522771-id-3785808.html本文代码均来自标准 linux kernel 3.10,可以到这里下载https://www.kernel.org/ 以arch/arm/mach-msm/board-dt-8960.....
分类:
系统相关 时间:
2014-11-15 16:46:54
阅读次数:
296