在解决方案中,右键某项目,属性——Web——服务器——选择IISExpressURL输入:http://localhost:8000/ 直接将8000更改为任何端口即可,最好不要占用系统端口,点击创建虚拟目录可以在C:\Users\hao\Documents\IISExpress\config\ap...
分类:
Web程序 时间:
2015-04-14 22:52:33
阅读次数:
6303
曾经在專案中曾使用” Apache POI - the Java API for Microsoft Documents”(官網: http://poi.apache.org/)實現Microsoft Excel檔與TOP GP的互動(導入/匯出), 效果不錯, 供分享![1] Microsoft ...
分类:
其他好文 时间:
2015-04-13 12:43:52
阅读次数:
105
Introduction Javascript rich text editor has ease our life when we need to edit articles, post or even documents online. Most of the editors allow user to edit the content straight away (What You S...
分类:
其他好文 时间:
2015-04-11 18:05:53
阅读次数:
255
iOS应用都有自己的应用沙盒(应用沙盒就是文件系统目录),与其他文件系统隔离。应用必须待在自己的沙盒里,其他应用不能访问该沙盒
?应用程序包:包含了所有的资源文件和可执行文件
(更多精彩,尽在微信公众号ioscoding,每日推送iOS最前沿技术)
?Documents:保存应用运行时生成的需要持久化的数据,iTunes同步设备时会备份该目录。...
分类:
移动开发 时间:
2015-04-09 15:36:56
阅读次数:
212
iphone沙箱模型的有四个文件夹,分别是什么,永久数据存储一般放在什么位置,得到模拟器的路径的简单方式是什么.documents,tmp,app,Library。(NSHomeDirectory()),手动保存的文件在documents文件里Nsuserdefaults保存的文件在tmp文件夹里1...
分类:
移动开发 时间:
2015-04-09 10:12:30
阅读次数:
143
MongoDB没有join, 但是有的时候我们需要引用其它collection的documents, 这个时候就需要populate了.我们可以populate单个document, 多个document, plain object, multiple plain objects或query返回的全...
分类:
其他好文 时间:
2015-04-08 17:58:38
阅读次数:
191
du查看目录大小,df查看磁盘使用情况。我常使用的命令(必要时,sudo使用root权限),1.查看某个目录的大小:du-hs/home/master/documents查看目录下所有目录的大小并按大小降序排列:sudodu-sm/etc/*|sort-nr|less2.查看磁盘使用情况(文件系统的使用情况):sudodf-hdf--bloc..
分类:
系统相关 时间:
2015-04-08 11:15:33
阅读次数:
204
NSString *path = NSHomeDirectory();上面的代码得到的是应用程序目录的路径,在该目录下有三个文件夹:Documents、Library、temp以及一个.app包!该目录下就是应用程序的沙盒,应用程序只能访问该目录下的文件夹!!!请参考下面的例子:1、NSString...
分类:
移动开发 时间:
2015-04-07 11:32:55
阅读次数:
167
1、获取和设置当前工作目录a) System.IO.Directory.GetCurrentDirectory() 说明:获取应用程序的当前工作目录的完全限定路径。该方法是对Win32 API的GetCurrentDirectory函数的一个封装。例如:'"C:\Documents and Sett...
分类:
Web程序 时间:
2015-04-05 14:28:15
阅读次数:
130
原文System-Declared Uniform Type IdentifiersOne of the common tasks that an iOS developer has to do is to import or export documents from his iOS applic...
分类:
移动开发 时间:
2015-04-04 18:18:58
阅读次数:
247