Window->Preferences->General ->Content Type->Text->JSP 最下面设置为UTF-8Window->Preferences->General->Workspace 面板Text file encoding 选择UTF-8Window->Prefere....
分类:
系统相关 时间:
2014-10-14 23:33:29
阅读次数:
207
// Create DOM from URL or file$html =file_get_html('http://www.google.com/');// Find all imagesforeach($html->find('img') as $element) echo $element->...
分类:
Web程序 时间:
2014-10-14 23:01:59
阅读次数:
301
How to dump contents of DOM object?//Dumps the internal DOM tree back into string$str = $html->save();// Dumps the internal DOM tree back into a file$...
分类:
Web程序 时间:
2014-10-14 20:56:49
阅读次数:
204
前言:数据的备份在运维过程中是很关键的一件事情。数据无价。内容:几种压缩工具compressuncompress老旧的压缩用具一般现在已经不适用。gzip:.gzgunzipzcat不解压的情况查看文本内容。注意:压缩完会删除源文件gzip-dfile解压文件gzip-#file设置解压比-1--9默认是-6gzip–cfi..
分类:
系统相关 时间:
2014-10-14 20:52:49
阅读次数:
193
前言:数据的备份在运维过程中是很关键的一件事情。数据无价。内容:几种压缩工具compressuncompress老旧的压缩用具一般现在已经不适用。gzip:.gzgunzipzcat不解压的情况查看文本内容。注意:压缩完会删除源文件gzip-dfile解压文件gzip-#file设置解压比-1--9默认是-6gzip–cfi..
分类:
系统相关 时间:
2014-10-14 20:52:39
阅读次数:
214
最近学习水晶报表,发现编译后报如下错误:未能加载文件或程序集“file:///C:\Program Files\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterpri...
分类:
其他好文 时间:
2014-10-14 20:49:09
阅读次数:
218
/** * 读取15151433862----123456文档 * @param f */ private static void findContent(File f){ String line = null; try { ...
分类:
其他好文 时间:
2014-10-14 20:46:29
阅读次数:
147
$file_name?=?base64_decode($_REQUEST[‘images‘]);
????????//$status????=?$_REQUEST[‘status‘];//是否作为头像?1?作为头像?0?不做头像
????????$upfile="uploads/...
分类:
Web程序 时间:
2014-10-14 20:06:29
阅读次数:
158
1、eg1
在文件configure.sh中,所有的token替换为value。
2、eg2
file="configure.sh"
value="defaultvalue"
propertyFile="src/name.properties">...
分类:
其他好文 时间:
2014-10-14 19:57:19
阅读次数:
179
comm[-123]file1file2说明:该命令是对两个已经排好序的文件进行比较。其中file1和file2是已排序的文件。comm读取这两个文件,然后生成三列输出:仅在file1中出现的行;仅在file2中出现的行;在两个文件中都存在的行。如果文件名用“-”,则表示从标准输入读取。选项1、2或...
分类:
其他好文 时间:
2014-10-14 19:19:09
阅读次数:
166