System.getProperty("user.dir") : E:\workspace\lucene class.getResource("") : /E:/workspace/lucene/target/test-classes/com/hbzx/lucene/ class.getResource("/") : /E:/workspace/lucene/target/test-clas...
分类:
编程语言 时间:
2014-07-30 01:10:43
阅读次数:
224
1. 查看linux系统版本:登录到服务器执行 lsb_release -a ,即可列出所有版本信息,例如: [root@SOR_SYS ~]# lsb_release -a查看内核版本:[root@localhost ~]# uname -aLinux localhost.localdomain ...
分类:
系统相关 时间:
2014-07-30 00:56:22
阅读次数:
264
本测试是基于oracle 10.2.0.5
SQL*Plus: Release 10.2.0.5.0 - Production on Tue Jul 29 20:45:16 2014
Copyright (c) 1982, 2010, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edi...
分类:
其他好文 时间:
2014-07-29 21:54:32
阅读次数:
390
1.如果本地的jdk是32位的,那么最大的内存只能支持到10242.测试jdk位数public class Test {public static void main(String[] args) throws Exception{System.in.read(); }}1.javac Tes...
分类:
其他好文 时间:
2014-07-29 20:55:42
阅读次数:
222
对文件和文件夹都有效FileSetAttr('D:\Administrator\Desktop\patcher\Win32\Release\config\element\update',faHidden);声明:function FileSetAttr ( const FileName : stri...
分类:
其他好文 时间:
2014-07-29 20:43:52
阅读次数:
234
新建的一个项目中,出现编译错误,发现是缺少了libxml2.dylib,后面将这个资源包添加了,编译还是出现标题上所说的问题 解决办法: 在Header Search Paths下的Debug和release下添加下面的设置 ${SDKROOT}/usr/inc...
分类:
移动开发 时间:
2014-07-29 18:27:52
阅读次数:
231
一、环境部分:[root@localhost~00:17&2]#cat/etc/redhat-release;uname-r;getenforce;iptables-L
CentOSrelease5.10(Final)#发行版本号
2.6.18-371.el5#内核版本号
Disabled#selinux模式
ChainINPUT(policyACCEPT)#防火墙状态(可以根据需求自个配置)
targetprotoptsourc..
分类:
其他好文 时间:
2014-07-29 18:18:22
阅读次数:
212
Xcode如果不破解,无法真机调试, 也无法编译真机Release文件,只有付费开通Apple开发者账号,才能申请真机调试。而Xcode进行破解后,结合越狱的iPhone或iPad, 即可免官方证书开发调试了!
生成本机证书
应用程序->其他->钥匙串访问
菜单:钥匙串访问->证书助理->创建证书, 然后按以下图片顺序操作即可:
Xcode 5免证书开发调试_打...
分类:
移动开发 时间:
2014-07-29 17:59:52
阅读次数:
434
1.yum 安装 nginxrpm -ivh http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpmyum info nginxyum install niginxservi...
分类:
其他好文 时间:
2014-07-29 17:32:32
阅读次数:
200
在我的代码中,我使用方法是: public synchronized T parseJson(String json, Class classOfT) throws Exception{ T target = null; Gson gson = new...
分类:
移动开发 时间:
2014-07-29 17:30:32
阅读次数:
277