摘要: 指定安装过程中可由自定义操作计算的附加数据。自定义操作在安装结束时运行并且不能访问有关安装的信息;CustomActionData 属性使您得以存储有关可以被自定义操作读取的安装信息。例如,如果部署项目包括“Property”属性为 FILESEARCH1 的文件搜索,通过将“CustomActionData”属性设置为“/MyFile=... 阅读全文
posted @ 2008-11-19 13:05 Sink 阅读(913) 评论(0) 推荐(0) 编辑
摘要: if 命令示例详解 if,正如它E文中的意思,就是“如果”的意思,用来进行条件判断。翻译过来的意思就是:如果符合某一条件,便执行后面的命令。 主要用来判断,1、两个“字符串”是否相等;2、两个数值是大于、小于、等于,然后执行相应的命令。 当然还有特殊用法,如结合errorlevel:if errorlevel 1 echo error 或者结合defined(定义的意思):if defin... 阅读全文
posted @ 2008-11-18 11:57 Sink 阅读(501) 评论(0) 推荐(0) 编辑
摘要: 转自:http://jinux.hit.edu.cn/courses/computing/linux-viMingLing77_1.html linux vi命令vi 命令Vi 简介Vi 是Unix世界里极为普遍的全萤幕文书编辑器,几乎可以说任何一台Unix机器都会提供这套软体。Linux当然也有,它的vi其实是elvis(版权问题),不过它们都差不多。熟悉DOS下的文书处理后,也许会感到... 阅读全文
posted @ 2008-11-07 21:06 Sink 阅读(892) 评论(0) 推荐(0) 编辑
摘要: 原文:http://www.lupaworld.com/40662/viewspace_29502.html 大致总结了一下linux下各种格式的压缩包的压缩、解压方法。但是部分方法我没有用到,也就不全,希望大家帮我补充,我将随时修改完善,谢谢! 整理:会游泳的鱼 来自:www.LinuxByte.net 最后更新时间:2005-2-20 .tar 解包:tar xvf FileName... 阅读全文
posted @ 2008-11-07 15:51 Sink 阅读(208) 评论(0) 推荐(0) 编辑
摘要: I’ve noticed a lot of people asking about this one (probable because Bluehost is so cheap :) Its pretty similar to many others, but there are a few tricks. SSH Access, and installing the gem Because B... 阅读全文
posted @ 2008-11-04 09:29 Sink 阅读(368) 评论(0) 推荐(0) 编辑
摘要: Using Ruby On Rails on Bluehost: This is intended to be a brief introduction to developing ruby on rails applications on a bluehost account. At the bottom of this article you will find a number of re... 阅读全文
posted @ 2008-11-03 12:43 Sink 阅读(279) 评论(0) 推荐(0) 编辑
摘要: 原始出处 Haml是一种用来描述任何XHTML web document的标记语言,它是干净,简单的。而且也不用内嵌代码。Haml的职能就是替代那些内嵌代码的page page templating systems,比如PHP,ERB(Rails的模板系统),ASP。不过, haml避免了直接coding XHTML到模板,因为它实际上是一个xhtml的抽象描述,内部使用一些code来生... 阅读全文
posted @ 2008-09-26 11:03 Sink 阅读(448) 评论(0) 推荐(0) 编辑
摘要: There comes a time when we hear a certain call When the world must come together as one There are people dying And it's time to lend a hand to life, The greatest gift of all We can go on pretending d... 阅读全文
posted @ 2008-09-05 14:28 Sink 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 1.错误: InvalidAuthenticityToken error: 解决方案:http://api.rubyonrails.org/classes/ActionController/RequestForgeryProtection/ClassMethods.html 2. 在community_engine开发过程中,若想自定义或修改里面的代码,但又不想每次重启server查看更新的结... 阅读全文
posted @ 2008-08-30 19:26 Sink 阅读(234) 评论(0) 推荐(0) 编辑
摘要: google search了一下 "bluehost rails" 就有很多文章(英文居多)。 大家请参考! 但有几个特别要注意的地方。 1. 添加子域名 进入cPanel后在Domains下的subdomains,点击进入,然后添加即可。 (一般人在生成rails时忘了添加子域名,也会忘了生成子域名的link.) 2.dispatch.fcgi和dispatch.rb(在publi... 阅读全文
posted @ 2008-08-27 15:25 Sink 阅读(624) 评论(0) 推荐(0) 编辑