https://www.kernel.org/doc/Documentation/kernel-parameters.txthttp://unix.stackexchange.com/questions/34462/why-does-linux-allow-init-bin-bashhttp://s...
分类:
其他好文 时间:
2014-11-20 11:41:19
阅读次数:
192
消除SDK更新时的“https://dl-ssl.google.com refused”错误消除SDK更新时,有可能会出现这样的错误:Download interrupted: hostname in certificate didn't match: != Download interrupte....
分类:
Web程序 时间:
2014-11-20 11:38:12
阅读次数:
158
function getBrowser() { var Sys = {}; var ua = navigator.userAgent.toLowerCase(); var s; (s = ua.match(/msie ([\d.]+)/)) ? Sys.ie = s[1] : (s = ua.mat...
分类:
Web程序 时间:
2014-11-19 21:47:20
阅读次数:
166
iptables 指令语法iptables [-t table] command [match] [-j target/jump][-t table] 指定规则表-t 参数用来,内建的规则表有三个,分别是:nat、mangle 和 filter,当未指定规则表时,则一律视为是 filter。个规则表...
分类:
其他好文 时间:
2014-11-19 20:20:39
阅读次数:
271
今天编译出现ld: 0706-006 Cannot find or open library file: -l xerces-c_static,ld:open(): A file or directory in the path name does not exist.这个熟悉得不能再熟悉的链...
分类:
系统相关 时间:
2014-11-19 20:11:48
阅读次数:
361
从环信中找到的部分不错的代码,拿出来记录一下是否是中文-(BOOL)isChinese{ NSString *match=@"(^[\u4e00-\u9fa5]+$)"; NSPredicate *predicate = [NSPredicate predicateWithFormat:...
分类:
移动开发 时间:
2014-11-19 18:29:34
阅读次数:
151
参考自http://stackoverflow.com/questions/19478244/how-does-a-case-anonymous-function-really-work-in-scalahttp://www.scala-lang.org/files/archive/nightly/...
分类:
其他好文 时间:
2014-11-19 15:32:55
阅读次数:
244
一个demo,在xml布局中,某一行的高度为其他行的一半。之前用layout_weight,得出的效果也不太理想。
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_...
分类:
移动开发 时间:
2014-11-19 14:16:01
阅读次数:
243
具体消息为:ora-12514 tns listener does not currently know of service requested in connect descriptor环境windows7 x64 oracle 11g问题起因:大致是之前本机安装了一个oracle10g的cli...
分类:
其他好文 时间:
2014-11-19 13:51:25
阅读次数:
190
当finall块中包含return语句时,Eclipse会给出警告“finally block does not complete normally”,原因分析如下:1、不管try块、catch块中是否有return语句,finally块都会执行。2、finally块中的return语句会覆盖前面的...
分类:
其他好文 时间:
2014-11-18 23:14:07
阅读次数:
170