`
xiaocao000
  • 浏览: 228135 次
  • 性别: Icon_minigender_1
  • 来自: 苏州
社区版块
存档分类
最新评论
文章列表
unimod cssedit plantuml

isNumber

public static boolean isNumber(String str) { Pattern p = Pattern.compile("^([+|-]?)(\\d+\\.\\d+|\\d+\\.?|\\.\\d+)([E|e][+|-]?\\d+)?$"); Matcher m = p.matcher("-5.5e-12"); return m.matches(); }
Eclipse插件开发 小资料
收藏的一些小工具 VNC 远程桌面连接 IE7.0设置主页问题 最近有些朋友刚装了IE7.0,发现主页问题比较恼人:在其他浏览器内设置了主页之后,双击打开后直接到达哪一个网站,但无论在7.0中怎么设置,打开后都进“http://go.microsoft.com/fwlink/?LinkId=74005”这个网站。修改成空白页也不可以,还是定义到用户设置. 现将解决方法给出: 1-开始--运行gpedit.msc--打开"组策略" 2--计算机配置--管理模板--wingdous Componets--Internet Explorer ,在右边栏中找到“阻止执行首 ...
1. deskicon.rar 保存桌面图标的位置的小工具 2. process.rar 小巧的进程管理工具 3. PsTools.zip ps工具包 4. nctools.rar nc工具包 5. minihttpd.rar 小巧的httpserver
UnxUtils.zip windows下的unix工具包 BOOT.RAR boot 安装双系统以及访问linux分区的一个工具包
  a,建立虚拟用户口令库文件。   [root@localhost ~]# cat logins.txt   mike   123   john   321   口令库文件中奇数行设置用户名,偶数行设置口令 。   b,生成vsftpd的认证文件(在第3张光盘中安装)。   [root@localhost RPMS]# rpm -ivh db4-utils-4.2.52-7.1.i386.rpm   warning: db4-utils-4.2.52-7.1.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e   Prep ...
1. 查看是否安装 # rpm -qa | grep vsftpd 2. 全新安装 # rpm -ivh vsftpd-2.0.1-5.i386.rpm 3. 启动/停止/重启 # service vsftpd start # service vsftpd stop # service vsftpd restart 4. 主配置文件 # vi /etc/vsftpd.conf # 匿名用户配置 anonymous_enable=YES         # 是 ...
================================================== 1. 检测Telnet服务包是否已安装 # rpm -qa | grep telnet 如果出现 telnet-x.x-x telnet-server-x.x-x 表示已安装,其中telnet-x.x-x是telnet命令行客户端,telnet-server-x.x-x是telnet服务端 2. 新安装或升级: # rpm -Uvh telnet-x.x-x.rpm # rpm -Uvh telnet-server-x.x-x.rpm 3. 配置参数 telnet server的配置文 ...

SimpleMock

/* * File:SimpleMock.java * User:xiaocao000 * Date:2009-8-1 */ package com.xiaocao000.lang; import java.lang.reflect.AccessibleObject; import java.lang.reflect.Array; import java.lang.reflect.Field; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; imp ...

SimpleRandom.java

/* * SimpleRandom.java xiaocao000 2009-7-30 */ package com.xiaocao000.lang; import java.util.Calendar; import java.util.Date; /** * 简单随机数生成工具。 * * @author xiaocao000 */ public class SimpleRandom { private static final int BUFSIZE = 100; private static double[] buf = ...
在Spring中已经定义的五个标准事件:   1)   ContextRefreshedEvent:当ApplicationContext初始化或者刷新时触发该事件。   2)   ContextClosedEvent:当ApplicationContext被关闭时触发该事件。容器被关闭时,其管理的所有单例Bean都被销毁。   3)   RequestHandleEvent:在Web应用中,当一个http请求(request)结束触发该事件。   4)   ContestStartedEvent:Spring2.5新增的事件,当容器调用ConfigurableApplicationCo ...
Resource接口: org.springframework.core.io.Resource 提供的方法: boolean exists(); boolean isReadable();   boolean isOpen();   URL getURL();  URI getURI(); File getFile(); long lastModified(); Resource createRelative(String relativePath); String getFilename(); String getDescripti ...
两个实现: org.springframework.context.support.ResourceBundleMessageSource org.springframework.context.support.ReloadableResourceBundleMessageSource 查找顺序:自动在CLASSPATH根路径中按如下顺序搜寻国际化资源文件并加载(以Locale=zh_CN为例) messages_zh_CN.properties messages_zh.properties messages.properties messages_zh_CN.class messages_z ...
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframewo ...
Global site tag (gtag.js) - Google Analytics