摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--packagetest;importjava.net.InetAddress;importjava.net.NetworkInterface;importjava.net.SocketExceptio... 阅读全文
posted @ 2010-08-18 22:27 angushine 阅读(997) 评论(0) 推荐(0) 编辑
摘要: 在eclipse的安装目录下找到eclipse.ini文件,在最后一行加上-Dfile.encoding=UTF-8即可(如下所示),该方法可解决JBPM流程设计器乱码出现的问题-startupplugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar--launcher.libraryplugins/org.eclipse.equinox.l... 阅读全文
posted @ 2010-08-15 22:36 angushine 阅读(543) 评论(0) 推荐(0) 编辑
摘要: 运行eclipse3.6 helios的时候,如挂加载的项目比较大,类较多的时候,就容易报”java.lang.OutOfMemoryError: PermGen space” 的错误,然后整个eclipse就死掉了,尤其是在加载web项目做JSP预编译的时候更容易报错。PermGen space是保存类对象和方法的放射元数据的一块内存区域。解决办法就是在eclipse启动... 阅读全文
posted @ 2010-08-15 22:34 angushine 阅读(321) 评论(0) 推荐(0) 编辑
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--packagecom;importjava.util.Date;publicclassStrFun{publicstaticvoidmain(String[]args){Stringsource="1... 阅读全文
posted @ 2010-01-07 20:28 angushine 阅读(263) 评论(0) 推荐(0) 编辑
摘要: [\u0391-\uFFE5]匹配双字节字符(汉字+符号)[\u4e00-\u9fa5]注意只匹配汉字,不匹配双字节字符代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--///<summary>///截取指定长度的字符串(Unicode... 阅读全文
posted @ 2010-01-07 19:38 angushine 阅读(503) 评论(0) 推荐(0) 编辑
摘要: Visual Studio在调试或者运行的时候会去读取注册表中的HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths\iexplore.exe项,如果读不到,会报Cannot locate Microsoft Internet Explorer错误。解决方法:在HKEY_LOCAL_MACHINE\Softwa... 阅读全文
posted @ 2010-01-06 15:00 angushine 阅读(391) 评论(0) 推荐(0) 编辑
摘要: 为了避免权限低的人员直接复制或删除VSS共享文件夹下的数据文件,或者破解超级管理员密码,可以在VSS服务器上作以下配置。 1、 确保VSS目录所在分区为NTFS格式 2、 假定VSS对应于服务器上的“X:\项目组名”目录 3、 建立两个子目录,例如:   X:\项目组名\Vss   X:\项目组名\VssData 4、 将 srcsafe.ini 移到“X:\项... 阅读全文
posted @ 2009-12-17 18:05 angushine 阅读(508) 评论(0) 推荐(0) 编辑
摘要: [代码] 阅读全文
posted @ 2009-12-16 07:08 angushine 阅读(475) 评论(0) 推荐(0) 编辑
摘要: [代码] 阅读全文
posted @ 2009-12-06 18:58 angushine 阅读(964) 评论(0) 推荐(0) 编辑
摘要: table:min-height只支持IE8,其它的均不支持div:min-height不支持IE6,其它的均支持 阅读全文
posted @ 2009-12-05 21:13 angushine 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 封装一个log4net日志管理类[代码]log4net.config文件[代码] 阅读全文
posted @ 2009-10-29 16:15 angushine 阅读(1930) 评论(2) 推荐(1) 编辑
摘要: (new StackTrace()).GetFrame(1) // 0为本身的方法;1为调用方法(new StackTrace()).GetFrame(1).GetMethod().Name; // 方法名(new StackTrace()).GetFrame(1).GetMethod().ReflectedType.Name; // 类名 阅读全文
posted @ 2009-10-29 14:59 angushine 阅读(4349) 评论(0) 推荐(1) 编辑
摘要: [代码] 阅读全文
posted @ 2009-10-22 19:25 angushine 阅读(341) 评论(0) 推荐(0) 编辑
摘要: 由于系统重装,造成MySQL不能使用,但是又不想重新安装MySQL(安装版的MySQL),执行如下步骤1.导入如下注册信息,注意Location和DataLocation的位置要正确Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\MySQL AB][HKEY_LOCAL_MACHINE\SOFTWARE\MySQL ... 阅读全文
posted @ 2009-10-18 21:25 angushine 阅读(310) 评论(0) 推荐(0) 编辑
摘要: [代码][代码] 阅读全文
posted @ 2009-10-16 17:34 angushine 阅读(1149) 评论(0) 推荐(0) 编辑
摘要: [代码] 阅读全文
posted @ 2009-10-16 17:27 angushine 阅读(216) 评论(0) 推荐(0) 编辑
摘要: [代码] 阅读全文
posted @ 2009-10-16 17:25 angushine 阅读(156) 评论(0) 推荐(0) 编辑
摘要: Request.Form:获取以POST方式提交的数据(接收Form提交来的数据);Request.QueryString:获取地址栏参数(以GET方式提交的数据)Request:包含以上两种方式(优先获取GET方式提交的数据),它会在QueryString、Form、ServerVariable中都按先后顺序搜寻一遍。 而且有时候也会得到不同的结果。如果你仅仅是需要Form中的一个数据,但是你使... 阅读全文
posted @ 2009-10-12 18:24 angushine 阅读(878) 评论(0) 推荐(0) 编辑
摘要: [代码] 阅读全文
posted @ 2009-10-12 17:49 angushine 阅读(770) 评论(0) 推荐(0) 编辑
摘要: mstsc--远程桌面连接 logoff--注销命令 rononce -p --15秒关机 tsshutdn--60秒倒计时关机命令 iexpress--木马捆绑工具,系统自带 tourstart--xp简介(安装完成后出现的漫游xp程序) winchat--XP自带局域网聊天 sndrec32--录音机 Nslookup--IP地址侦测器 explorer--打开资源管理器 lusrmgr.ms... 阅读全文
posted @ 2009-10-11 20:22 angushine 阅读(182) 评论(0) 推荐(0) 编辑