总是忘记, 备份一下,方便下次用.第一种:File directory = new
File("");//参数为空String courseFile = directory.getCanonicalPath()
;System.out.println(courseFile);结果:C:\Docume...
分类:
编程语言 时间:
2014-05-08 12:43:50
阅读次数:
343
1、创建用户并指定表空间create user gy_3004 identified by
gy_3004 default tablespace gy_3004_data temporary tablespace gy_3004_temp;
2、给用户授予权限--方式一: GRANT CREA...
分类:
数据库 时间:
2014-05-08 12:18:54
阅读次数:
412
Single Number
Total Accepted: 19800 Total
Submissions: 44027My Submissions
Given an array of integers, every element appears twice except for one. Find that single one.
Note:
Your algor...
分类:
其他好文 时间:
2014-05-08 11:01:40
阅读次数:
298
Struts2出现错误,总是提示"There is no Action mapped for
namespace / and action name"的错误。 错误代码如下: 09:36:13,515 WARN [Dispatcher] Could
not find action or result...
分类:
移动开发 时间:
2014-05-08 10:26:18
阅读次数:
525
Find the maximumTime Limit: 2000/1000 MS
(Java/Others)Memory Limit: 65768/65768 K (Java/Others)Total Submission(s):
1561Accepted Submission(s): 680Pro...
分类:
其他好文 时间:
2014-05-08 08:33:37
阅读次数:
299
1,下载MongoDB数据库扩展介质wget
http://pecl.php.net/get/mongo-1.5.1.tgz2,tar zxvf mongo-1.5.1.tgz && cd
mongo-1.5.1 && phpize3,find / -name php-config 搜索php配置文...
分类:
数据库 时间:
2014-05-08 06:59:08
阅读次数:
327
Given an array of integers, find two numbers
such that they add up to a specific target number.The function twoSum should
return indices of the two nu...
分类:
其他好文 时间:
2014-05-08 06:33:29
阅读次数:
339
[root@mailActivity]#find/opt/xyrpg/rpgserver_s1/XMLData/Activity/-typef-execmd5sum{}\;|sed‘s/rpgserver_s1/rpgserver_s2/‘|md5sum-c
/opt/xyrpg/rpgserver_s2/XMLData/Activity/ActivityCondition.xml:FAILED
/opt/xyrpg/rpgserver_s2/XMLData/Activity/NewServerActivit..
分类:
其他好文 时间:
2014-05-07 22:25:09
阅读次数:
522
ftp创建与密码破解ftp创建1.打开linux服务器,查看并修改物理地址和ip地址,2.然后开始配置linux,输入命令cd/media/unt/dev/cdrom/media/cdrom/3.cdcdromcdCentOS/(注意大小写)4.find/media/cdrom/CentOS/-name*vsftpd*5.rpm–ivh/media/cdrom/CentOS/vsftpd-2.0.5-10.e15...
分类:
其他好文 时间:
2014-05-07 21:54:51
阅读次数:
527
System.IO 命名空间
System.IO 命名空间的主要目的是为了提供方便访问操作系统的文件和目录类型,另外,也提供写内存和网络流的方法。
这个命名空间提供主要两种方法处理文件和目录,能够使用FileInfo 和 DirectoryInfo 对象获得或修改文件和目录的信息;也能够用File 和 Directory 类实现相同的功能,但是两者都要求传入的文件名为静态成员。通常,如果...
分类:
其他好文 时间:
2014-05-07 21:40:34
阅读次数:
322