总是忘记, 备份一下,方便下次用.第一种:File directory = new
File("");//参数为空String courseFile = directory.getCanonicalPath()
;System.out.println(courseFile);结果:C:\Docume...
分类:
编程语言 时间:
2014-05-08 12:43:50
阅读次数:
343
string sKey = username.Text.ToString().Trim(); //
得到Cache中的给定Key的值 string sUser = Convert.ToString(Cache[sKey]); // 检查是否存在 if
(sUser == null || sUser....
分类:
其他好文 时间:
2014-05-08 12:18:20
阅读次数:
258
其中flxuser为用户名,flxuser为密码,file值为导入到数据库中的备份文件。oracle10g和oracle11g导入导出数据的命令方式大有不同:oracle10g导入数据:
impflxuser/flxuserfile=test.dmplog=test_20140507.logfull...
分类:
数据库 时间:
2014-05-08 12:13:36
阅读次数:
428
Unity3d导入工程出现错误“Creating unique file:creating file
Temp/tempFile failed.Please ensure there is enough disk space and you have
permissions setup correc...
分类:
其他好文 时间:
2014-05-08 11:50:15
阅读次数:
803
目标制定OK了,用PDCA来说执行流程吧,Plan-Do-Check-Action.执行中的准则1、积极主动2、以终为始,3、分清轻重缓急,毛主席都交到我们要分清主要矛盾和次要矛盾,80/20法则以上来自《成功人士的7个习惯》的前3个。我认为还要再加一个就是坚定不移的决心,不达目标誓不罢休,说易行难...
分类:
其他好文 时间:
2014-05-08 09:52:32
阅读次数:
258
8.2.3 运行ELF格式的应用程序
首先我们需要提供一些与ELF格式有关的宏定义。
代码8-7
#define ELFCLASSNONE 0 #define ELFCLASS32 1 #define ELFCLASS64 2 #define CHECK_ELF_CLASS(p) ((p)->e_ident[4]) #define...
分类:
其他好文 时间:
2014-05-08 00:29:22
阅读次数:
465
[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
varnish系统架构:varnish主要运行两个进程:Management进程和Child进程(也叫Cache进程)。Management进程主要实现应用新的配置、编译VCL、监控varnish、初始化varnish以及提供一个命令行接口等。Management进程会每隔几秒钟探测一下Child进程以判断其是否正常运行,如果在指定..
分类:
其他好文 时间:
2014-05-07 21:58:43
阅读次数:
604
System.IO 命名空间
System.IO 命名空间的主要目的是为了提供方便访问操作系统的文件和目录类型,另外,也提供写内存和网络流的方法。
这个命名空间提供主要两种方法处理文件和目录,能够使用FileInfo 和 DirectoryInfo 对象获得或修改文件和目录的信息;也能够用File 和 Directory 类实现相同的功能,但是两者都要求传入的文件名为静态成员。通常,如果...
分类:
其他好文 时间:
2014-05-07 21:40:34
阅读次数:
322
check a int number is power of 2?
个人信息:就读于燕大本科软件工程专业 目前大三;
本人博客:google搜索“cqs_2012”即可;
个人爱好:酷爱数据结构和算法,希望将来从事算法工作为人民作出自己的贡献;
博客内容:how many does the factorial of n have zero?
博客时间:2014-5...
分类:
其他好文 时间:
2014-05-07 21:38:00
阅读次数:
411