lgj573
lgj573 · 共 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 them only briefly describe the main differences and then try to decide which one is better. However, I didn’t…
2010-06-24 23:25 · 其它 · 评论(0)
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 tool? For a long time,we encounter a problem - when delete a file from website,it returns failed.other proce…
2010-06-22 18:33 · 新闻 · 评论(0)
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 with variations in user environments. The values you establish as the baselines for your organization a…
2010-05-25 16:35 · windows · 评论(0)
android 文件上传的类--完整 可以直接被调用的
android 文件上传的类--完整 可以直接被调用的 public class post { // 如果是文本的文件的话那么通过map类传递进来如果是文件的话通过FormFile传递进来 public static String post(String actionUrl, Map<String, String> params, FormFile files) throws IOException { String BOUNDARY = "743520vjdk4e"; String MULTIPART_FROM_DATA = "multipart/form-data"; URL uri =…
2010-05-19 23:02 · Android · 评论(0)
android Camera 旋转 90 °问题
public class DefaultActivity extends Activity { MySurfaceView surface = null; public Camera camera; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); surface = new MySurfaceView(this); // 这个很重要 setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LAN…
2010-05-19 22:00 · Android · 评论(0)
批处理启动程序
用命令行运行的单进程的任务,要启动多个程序用 start cmd /c notepad.exe set fileName=%1 set found= for /f "tokens=*" %%a in ('tasklist ^| findstr /i "%fileName%"') do set found=Y if not "%found%"=="Y" start cmd /c "%fileName%" 关闭程序 taskkill /f /im notepad.exe
2009-08-15 22:02 · windows · 评论(0)
上海所有博物馆汇总
1、上海博物馆 地址:上海市人民大道201号(人民广场) 门票:现在免费,但是有人数限制,早点去,不然要排队 开放时间:全年开放(9:00-17:00)16:00后停止入场 电话:96968686 http://www.shanghaimuseum.net 2、上海市历史博物馆(上海城市历史发展陈列馆) 注:从2002年至今,博物馆始终没找到稳定像样的场馆。大量馆藏品如今身分4处:汇丰银行铜狮等文物目前只能存放在周浦的仓库里,图书资料借放在上海广播器材厂的一处办公楼面过渡,部分文物暂放在定西路汇中商务楼一个借用的楼面,还有一部分文物在东方明珠下的“上海城市历史发展陈列馆”对外展出。新馆址未定…
2009-02-14 10:36 · 其它 · 评论(0)
wmic用法示例
wmic 获取硬盘固定分区盘符: wmic logicaldisk where "drivetype=3" get name wmic 获取硬盘各分区文件系统以及可用空间: wmic logicaldisk where "drivetype=3" get name,filesystem,freespace wmic 获取进程名称以及可执行路径: wmic process get name,executablepath wmic 删除指定进程(根据进程名称): wmic process where name="qq.exe" call terminate 或者用 wmic process wh…
2009-02-12 16:10 · windows · 评论(2)
Wrapping Text Inside Pre Tags
http://www.longren.org/2006/09/27/wrapping-text-inside-pre-tags/ sometimes display little snippets of code on this site. For example, here, here, and here. To do this, I use the Code Markup wordpress plugin. If you’re using Firefox, you may notice the long lines in my Digg Integrator fix post. It’s…
2008-09-07 21:08 · web · 评论(0)
innerHTML and text normalization
http://www.quirksmode.org/bugreports/archives/2004/11/innerhtml_and_t.html IE applies HTML normalization to the data that is assigned to the innerHTML property. This causes incorrect display of whitespace in elements that ought to preserve formatting, such as and Test page. Workaround is not includ…
2008-09-07 21:04 · web · 评论(0)
display does not work for option elememt on IE
**style="display:none" does not work for option element ** 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 tags but this has had no effect. The reason for this is that I am going to use some JavaScript to dynamica…
2008-09-07 21:01 · web · 评论(1)
Itunes store API
找了一天,Apple居然没有提供Itunes store 可上传下载的API。难道Apple没看到有多大的需求吗?Apple 怎么不为开发者着想呢?难道Apple真是开源的敌人?
2008-08-06 11:31 · 评论(0)
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 engine developed at Carnegie Mellon University. Flite is derived from the Festival Speech Synthesis Syste…
2008-08-03 20:26 · IVR · 评论(0)
安装 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 ,这个网站真他妈的慢。下了半天。安装很简单,双击就可以。 The reason you are being able to play some of the mp3 files is that they are mpeg1 ve…
2008-08-03 20:19 · JMF · 评论(2)
Java Media Framework 基础教程
http://java.ccidnet.com/art/3737/20040926/479695_1.html Java媒体架构基础 developerWorks出版,你主要资源的来源ibm.com/developerWorks 作者:Eric Olson;pawenwen 版权声明:可以任意转载,转载时请务必以超链接形式标明文章原始出处和作者信息及本声明 作者: Eric Olson;pawenwen 地址:http://www.matrix.org.cn/resource/article/43/43883_JMF.html 关键词: Java Media Framework 内容表格 关…
2008-08-03 01:05 · JMF · 评论(0)