02 2014 档案
摘要:几个个软件:1, Jaudioatgger:链接2, mp3agic链接3,Java mp3 id3 tag library (推荐用上面两个)其它:android-midi-lib
阅读全文
摘要:首先确定文件的原始字符编码: $ file -bi test.txt 然后用 iconv 转换字符编码 $ iconv -f from-encoding -t to-encoding file > new-file 如果上面的步骤更改不成功,可以使用 vim 来更改文件的字符编码 先打开文件,然后设
阅读全文
摘要:命令行方法:1、 创建Manifest.txt文件,内容:Main-Class: com.mkyong.awt.AwtExample2、打包所有的class,包括Manifest.txt文件:$ jar -cvfm run.jar Manifest.txt com/3、run.jar即可在windows下双击鼠标执行(前提是要安装jre)。在linux用命令行执行: $ java -jar run.jarIDE方法:用eclipse1、右键点击工程,选择 export... 菜单: 2、选择 java 下面的 Runnable JAR file: 3、在launch co...
阅读全文
摘要:后来加上的,因为太强大了,android上百个可立即使用的开源库介绍:https://github.com/Trinea/android-open-projectAndroid上的FTP服务器 SwiFTPAndroid多媒体框架 OpenCoreAndroid自动化测试框架 Cafe (h...
阅读全文
摘要:http://www.oschina.net/project/lang/19/java http://www.open-open.com/ http://java-source.net/ https://github.com/trending/java?since=monthly 随便摘录的优秀库:
阅读全文
摘要:url scheme: scheme + (://) + userinfo + (@) + hostname + (:) + port + path + (?) + query + (#) + fragmentexample: http://username:password@www.baidu.com:9008/welhzh/add?r=req1&r2=req2#frag
阅读全文
摘要:strsplit更好用,用法:strsplit(strtrim(sprintf(' \t\nds \nhs\t dssd \t \n')))以下转载Matlab的字符串处理没有C#强大,本身又没有提供OO特性,需要依赖别的手段完成这项任务。我们在这里借助正则表达式函数regexp的split模式。一般语法:S = regexp(str, char, 'split')其中str是待分割的字符串,char是作为分隔符的字符(可以使用正则表达式)。分割出的结果存在S中。以下面这样一串字符为例Hello Nocturne Studio首先去除首尾多余的空字符:(debl
阅读全文
摘要:What Is the MATLAB Search PathThe search path, or path is a subset of all the folders in the file system. MATLAB® software uses the search path to efficiently locate files used with MathWorks® products. MATLAB can access all files in the folders on the search path.How MATLAB Stores the Sea
阅读全文
摘要:1, matlab中的字符串就是1维字符数组,即如:a = 'dddssd';b = 'lsde';c = [a, b]; 当然也可以: c= strcat(a, b);2, matlab中的字符串数组尽量用cell来表示,即如:names={'s1'}; %或 names=cell(1, 1); names{1} = 's1';names={names{1,:}, 's2'}; %在字符串数组后面append一个字符串。names={names{1,:}, 's3'}; %在字符串数组后面appe
阅读全文
摘要:转载Gitolite 构建 Git 服务器 作者:北京群英汇信息技术有限公司网址:http://www.ossxp.com/版本:0.1-1日期:2010-10-07 14:52:19目录1SSH 协议1.1SSH 公钥认证1.2SSH 主机别名2Gitolite 服务架设2.1安装 Gitolite2.1.1服务器端创建专用帐号2.1.2Gitolite 的安装/升级2.1.3关于 SSH 主机别名2.1.4其他的安装方法2.2管理 Gitolite2.2.1管理员克隆 gitolite-admin 管理库2.2.2增加新用户2.2.3更改授权2.3Gitolite 授权详解2.3.1授权.
阅读全文
摘要:转载十个提升你Emacs生产力的高招Emacs是世界上最好的编辑器(真的有很多人这么认为)。不要以为emacs只是在编写程序时很牛X,其实只要你真正精通了emacs,会发现她几乎在所有用到打字的应用(比如写email啦,起草文档啦,写blog啦,写html/xml文件等等等)时都是最牛的。本文中所写的招数是面向emacs高级用户(译者看此文时并不是emacs高级用户,同样获益非浅啊)的,你应该熟悉基本的emacs启动编辑操 作,你得知道怎么把东东拷到你的.emacs里面,在所拷的东东出现问题时,你得知道怎么调试(或者能找到一个乐于助人的emacs高手也行)。这里所列出的招数并非都是对emacs
阅读全文
摘要:1、C-k 的功能并不是剪切当前行,而是剪切当前行从光标到行末的内容。Emacs 中的剪切不叫剪切(cut),叫kill,复制(copy)不叫copy ,叫kill-ring-save (这个可以理解为先kill掉放到kill-ring里,然后再把它save回来)。另外还有一个操作叫delete ,...
阅读全文