- 博客(74)
- 收藏
- 关注
原创 Mercurial vs Git
http://rg03.wordpress.com/2009/04/07/mercurial-vs-git/ Mercurial vs Git There are many blog posts and articles all over the Internet providing comparisons between Git and Mercurial. Most of t...
2010-06-24 23:25:25
404
原创 Query , display or disconnect files opened by network users
http://technet.microsoft.com/en-us/library/bb490961.aspx Today I found a useful windows system tool openfiles.It querys displays or disconnect files opened by network users. Why we need this...
2010-06-22 18:33:52
190
原创 Determining acceptable values for counters
Determining acceptable values for counters [Reviewers: Please check these values.] In general, deciding whether or not performance is acceptable is a subjective judgment that varies significantly ...
2010-05-25 16:35:43
221
原创 android 文件上传的类--完整 可以直接被调用的
android 文件上传的类--完整 可以直接被调用的 public class post { // 如果是文本的文件的话那么通过map类传递进来如果是文件的话通过FormFile传递进来 public static String post(String actionUrl, Map params, FormFile[] files) throws IOException...
2010-05-19 23:02:36
128
原创 android Camera 旋转 90 °问题
public class DefaultActivity extends Activity { MySurfaceView surface = null; public Camera camera; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(save...
2010-05-19 22:00:06
272
批处理启动程序
用命令行运行的单进程的任务,要启动多个程序用 start cmd /c notepad.exe [code="java"] set fileName=%1 set found= for /f "tokens=*" %%a in ('tasklist ^| findstr /i "%fileName%"') do set found=Y if not "%found%"=...
2009-08-15 22:02:15
127
原创 上海所有博物馆汇总
1、上海博物馆 地址:上海市人民大道201号(人民广场) 门票:现在免费,但是有人数限制,早点去,不然要排队 开放时间:全年开放(9:00-17:00)16:00后停止入场 电话:96968686 http://www.shanghaimuseum.net 2、上海市历史博物馆(上海城市历史发展陈列馆) 注:从2002年至今,博物馆始终...
2009-02-14 10:36:23
1317
原创 wmic用法示例
wmic 获取硬盘固定分区盘符: wmic logicaldisk where "drivetype=3" get name wmic 获取硬盘各分区文件系统以及可用空间: wmic logicaldisk where "drivetype=3" get name,filesystem,freespace wmic 获取进程名称以及可执行路径: wmic process get ...
2009-02-12 16:10:44
145
原创 Wrapping Text Inside Pre Tags
[url]http://www.longren.org/2006/09/27/wrapping-text-inside-pre-tags/[/url] sometimes display little snippets of code on this site. For example, here, here, and here. To do this, I use the Code Mar...
2008-09-07 21:08:02
123
原创 innerHTML and text normalization
[url]http://www.quirksmode.org/bugreports/archives/2004/11/innerhtml_and_t.html[/url] IE applies HTML normalization to the data that is assigned to the innerHTML property. This causes incorrect dis...
2008-09-07 21:04:40
140
原创 display does not work for option elememt on IE
[b]style="display:none" does not work for option element [/b] Hello I have a select list and I need a way to set certain option tags invisible. I tried applying style="display:none" to the option t...
2008-09-07 21:01:29
146
原创 Itunes store API
找了一天,Apple居然没有提供Itunes store 可上传下载的API。难道Apple没看到有多大的需求吗?Apple 怎么不为开发者着想呢?难道Apple真是开源的敌人?
2008-08-06 11:31:25
180
原创 Freetts 介绍
http://freetts.sourceforge.net/docs/index.php FreeTTS is a speech synthesis system written entirely in the JavaTM programming language. It is based upon Flite: a small run-time speech synthesis e...
2008-08-03 20:26:47
952
安装 Java mp3 plugin
用JMF 播放一个mp3时出现,错误Unable to handle format: mpeglayer3。 原来由于版权问题JMF中没有带mp3插件。像sox一样没带没带解码插件lame. 于是在SUN网站上下了一下http://java.sun.com/javase/technologies/desktop/media/jmf/mp3/download.html ,这个网站真他妈的慢。下...
2008-08-03 20:19:11
517
原创 Java Media Framework 基础教程
http://java.ccidnet.com/art/3737/20040926/479695_1.html Java媒体架构基础 developerWorks出版,你主要资源的来源ibm.com/developerWorks 作者:Eric Olson;pawenwen 版权声明:可以任意转载,转载时请务必以超链接形式标明文章原始出处和作者信息及本声明 作者: ...
2008-08-03 01:05:34
152
原创 Sample
import java.awt.BorderLayout; import java.awt.Component; import java.awt.Dimension; import java.awt.Frame; import java.awt.Panel; import java.awt.event.WindowAdapter; import java.awt.event.Windo...
2008-08-02 22:41:27
301
原创 OCR resource
http://www.velocityreviews.com/forums/t126795-java-ocr-.html I know that it's quite a long time that those posts are here but I found them while looking for an OCR solution in Java, and I would lik...
2008-07-27 22:29:17
172
原创 Java OCR
http://www.javaocr.com # How can I implement it in my JAVA code? It comes in jocr.jar file, which should be added in classpath. Class JOCR contains methods that can be invoked. Methods are desc...
2008-07-27 22:23:25
187
编辑错误
今天编辑一个工程出现如下错误 [code="java"] [javac] E:\java\acegicas\contactsforchapter5basic\src\sample\contact\AdminPe rmissionController.java:43: warning: unmappable character for encoding GBK [javac]...
2008-06-22 20:43:48
234
Hibernate常见的20个问题
1问:Hibernate初始化时总是报错:java.lang.NoClassDefFoundError Hibernate初始化时出现出错代码: java.lang.NoClassDefFoundError: net/sf/ehcache/CacheException 答:这是新手常见问题。是因为使用默认设置时,Hibernate文档里指出的Hibernate库不完整,缺少ehcac...
2008-06-01 21:00:24
139
中文问题
http://www.softwelt.com/Know/KnowDetail.aspx?Qid=220630 System.out.println(new String(str.getBytes("GBK"),"ISO8859_1")); System.out.println(new String(str.getBytes("GBK"),"utf-8")); System.out.pr...
2008-05-29 22:15:52
113
http://ui.jquery.com/
http://ui.jquery.com/ 所有效果说明: 基本的鼠标互动: 拖拽(drag and dropping)、排序(sorting)、选择(selecting)、缩放(resizing) 各种互动效果: 手风琴式的折叠菜单(accordions)、日历(date pickers)、对话框(dialogs)、滑动条 (sliders)、表格排序(table sorte...
2008-05-20 07:27:59
127
Best Windows Admin Downloads
by Mitch Tulloch 07/18/2006 More than 9,000 tools, templates, white papers, and other items are currently available from the Microsoft Download Center, and all of them are free. What's a busy admi...
2008-04-17 14:44:20
140
Automating Desktop Tasks in XP
http://www.windowsdevcenter.com/pub/a/windows/2005/04/12/automate_xp.html AutoMate, from Network Automation--This tool features drag-and-drop macro creation by letting you drag a macro action onto ...
2008-04-17 14:40:39
95
http://www.spiceworks.com
http://www.spiceworks.com 一款针对中小型企业的网络设备管理和监控软件。它由广告商提供支持,因此是一款免费软件。根据Spiceworks公司的介绍,这款软件适合雇员人数 在250人以下的中小型企业,其产品功能和特点都是针对这一市场定制的。 IT Desktop的使用者可以是对技术了解不够深入的系统管理员,或者是受教育、培训以及认证程度不高的技术人员。虽然与一些专...
2008-04-17 11:22:19
297
HttpServletRequest 与 ServletRequest
今天被Intellij害死了,重写execute方法居然没有http的,请求死活进不了action,加上http后才请求成功。 修改前[code="java"] public ActionForward execute(ActionMapping actionMapping, ActionForm actionForm, ServletRequest servletRequest, Se...
2008-04-16 23:45:51
100
Error filterStart
Tomcat启动时出现了如下问题: console输出了下列信息: 严重: Error filterStart 严重: Context startup failed due to previous errors ----------------------------------------------------- 日志信息如下: 2008-0...
2008-04-16 20:47:56
92
Amazon Simple Storage Service(Amazon S3) 之二,通过4个参数
如果通过web访问S3服务来获取数据(Object),则分页、搜索等功能是比不可少的。而S3提供的4个参数,可以让我们方便快捷的将数据取出来,这4个参数是基于key操作的。key的概念参见文章一。 1、prefix。比如http://bucket.s3.amazonaws.com/?prefix=123,则将key中以123开头的列出来。 2、delimiter。比如http://bu...
2008-04-14 16:27:09
538
Amazon Simple Storage Service(Amazon S3) 之一,基本概念
这2天接触了一下Amazon Web Services(AWS)中的Amazon Simple Storage Service,简称Amazon S3(下称S3)。S3站点上用下面的语句描述了自己的作用: Amazon S3 provides a simple web services interface that can be used to store and retri...
2008-04-14 16:26:11
578
使用 WEB SERVICE 的站点列表
http://www.35dx.com/html/dotNet/8/net7022.html http://www.xmethods.net/ve2/ViewListing.po;jsessionid=gexyV2qK1G8I1f2PVBn8JuUe(QhxieSRM)?serviceid=73855
2008-04-12 13:25:54
154
Flash中加载HTML文件
1、建立三个图层,从上至下分别为action(控制代码)、text(加载内容)、bg(背景图); 2、选中bg图层第一帧,插入一关键帧,导入一图片做背景; 3、选中text图层第一帧,插入一关键帧,添加一动态文本框,设置好其属性,并将其实例命名为content_txt; 4、选中action图层第一帧,加入以下代码: var myStyle:TextField.StyleS...
2008-04-12 12:23:47
532
web flow
http://www.vertexlogic.com/processOnline/process/processOnline.html http://flowchart.com/ViewDemo http://www.gliffy.com/ http://www.edrawsoft.com/drawing-online.php // need to check ...
2008-04-11 14:41:23
144
用instsrv.exe /srvany.exe 注册windows 服务方法:
1. 注册服务: path\instsrv 服务名 path\srvany.exe -------- 将srvany.exe 注册成系统服务 2. regedit打开注册表 3. 进入HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Service...
2008-04-10 22:39:36
204
关于如何注册Windows2000服务
想让一个程序在启动系统的时候自动运行,你有什么好办法?添加到启动组?那如果别人删除掉就不管用了。如果你使用了Windows NT/2000/XP,就可以试试把这个程序添加为一个服务,这样只有拥有权限的人才可以更改服务,只要你设置好权限,就不用担心会被别人删除了。 要把应用程序添加为服务,你需要两个小软件:Instsrv.exe和Srvany.exe。 Instsrv.exe可以给系统安装和删...
2008-04-10 22:32:31
188
http://www.snap.com/
http://www.snap.com/about/shots_faq.php http://www.snap.com/ http://www.dbanotes.net/review/yodao_and_clickeye.html 第一,ClickEye / Adparter 就是抄 Vogate 宏界的吧 第二,希望 Clickeye 老实做事 第三,希望 Click...
2008-04-10 19:26:12
723
硅谷旧王子与Widget新爆炸
http://www.sina.com.cn 2007年12月13日12:00 三联生活周刊 一个27岁的年轻人,赚了1亿美元的身家之后,接下去的人生,该做些什么? ◎陈赛 麦克斯·拉夫琴(Max Levchin)本以为,可以好好放松一下,思考人生的意义。但结果是,财富变成了一种诅咒。2002年,这位硅谷最年轻的“王子”将自己开发的电子支付系统Paypal卖给eBay...
2008-04-08 00:01:59
201
Google Gadgets and widgets
http://www.widgetbox.com/ http://www.google.com/ig/directory?synd=open http://www.widgipedia.com/
2008-04-06 21:01:15
140
http://ajax.yo2.cn/articles/ajax-frameworks.html
http://ajax.yo2.cn/articles/ajax-frameworks.html
2008-03-27 00:37:14
91
文件恢复
今天不知道被谁入侵了还是中毒了,两个盘的数据全没了,用RecoverMyFiles居然找不到丢失的文件,重起也没用,进安全模式还是一样的。 没想到用EasyRecovery 把它给找回来了,原来以前是Fat32格式的盘,不知道怎么变成了NTFS格式。 ...
2008-03-23 01:48:27
101
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人