写了一个基于System.IO.Path类型方法的扩展类型,用于快速对文件系统路径进行操作。如下图:其中有许多方法就是直接调用Path类型的静态方法。比如AppendPath方法内部会直接调用Path.Combine。这些方法就不需要再介绍了。下面看一些许多说明的方法:ToDirectory方法会把...
分类:
其他好文 时间:
2014-05-10 02:09:47
阅读次数:
276
1,安装arm-linux-gcc安装方法,将安装包解压到/opt下,然后vim
/.bashrc修改一行:export PATH =
$PATH:/opt/FriendlyARM/tooschain/4.5.1/bin,后面是安装的路径,重新登录系统,注销即可,然后arm-linux-+Tab键就...
分类:
系统相关 时间:
2014-05-10 01:33:20
阅读次数:
512
前端Nginx配置:1、安装nginx创建Nginx用户、创建/var/tmp/nginx目录并编译安装useradd-rnginx
mkdir/var/tmp/nginx
tarxfnginx-1.4.7.tar.gz
./configure--prefix=/usr--sbin-path=/usr/sbin/nginx--conf-path=/etc/nginx/nginx.conf--error-log-path=/var/log/nginx/..
分类:
数据库 时间:
2014-05-05 12:18:04
阅读次数:
597
public class DbfReader { private string _path;
private OleDbConnection _connection; public DbfReader(string dbfPath) { _path =
dbfPath; Check...
分类:
数据库 时间:
2014-05-05 10:41:06
阅读次数:
994
QApplication::addLibraryPath(QApplication::applicationDirPath());QApplication::addLibraryPath(QApplication::applicationDirPath()+"/plugins/");
分类:
其他好文 时间:
2014-05-04 20:57:49
阅读次数:
414
当引用了其他工程时,在编译时报错,提示你编译指令架构不对,你需要查看一下这几个工程的Architecture部分是否又冲突,比如主工程设置Valid
Architecture为armv7 而 另一个子工程却设置了build active architecture only 为yes,这时如果你插入了...
分类:
移动开发 时间:
2014-05-04 20:51:04
阅读次数:
2166
主要功能:实现 网页离线加载。基本思想来源于AFCache。作者是Rob
Napier(IOSX Programming的作者)。使用方法:To build, you will need the Reachability code
from Apple (included). That requir...
分类:
其他好文 时间:
2014-05-04 20:32:05
阅读次数:
1699
1、 Server.MapPath()介绍 Server.MapPath(string
path)作用是返回与Web服务器上的指定虚拟路径相对应的物理文件路径。其参数path为Web
服务器的虚拟路径,返回结果是与path相对应的物理文件路径。但有时参数并非为虚拟路径,而是用户自定义的文件名。 Se...
分类:
移动开发 时间:
2014-05-04 20:08:58
阅读次数:
430
$_SERVER 是一个包含了诸如头信息(header)、路径(path)、以及脚本位置(script locations)等等信息的数组。这个数组中的项目由 Web 服务器创建。不能保证每个服务器都提供全部项目;服务器可能会忽略一些,或者提供一些没有在这里列举出来的项目。
下表列出了所有 $_SERVER 变量中的重要元素。...
分类:
Web程序 时间:
2014-05-04 18:52:18
阅读次数:
448
1.首先在myeclipse10中安装maven的插件,将插件放入D:\Program Files (x86)\myEclipse10\MyEclipse Blue Edition 10\dropins\maven中,
2. 新建文件:maven.link填入如下内容:path=D:/Program Files (x86)/myEclipse10/MyEclipse Blue Edition 1...
分类:
编程语言 时间:
2014-05-04 18:18:20
阅读次数:
353