`
aideehorn
  • 浏览: 259170 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论
文章列表
  useful bundle svn repository URL  http://macromates.com/svn/Bundles/trunk/Review/Bundles/ Have you ever run into problems making changes to a TextMate bundle, or updating a bundle, where changes weren’t showing up or being updated? These and a myriad of other “problems” can be explained by having ...
书籍&pdf:   Rails Recipes (Version: 2006-4-1  english) 待续...    video:   http://media.railscasts.com/videos/140_rails_2_2_extras.movhttp://media.railscasts.com/videos/139_nested_resources.movhttp://media.railscasts.com/videos/138_i18n.movhttp://media.railscasts.com/videos/137_memoization.movhttp:// ...
http://github.com/ruboss/ruboss4ruby/wikis/getting-started-with-ruboss-and-ruby-on-rails Introduction In this tutorial we will build a new Rails application from scratch using the Ruboss Framework. Our application should look like this: Assumptions The following steps have been tried with Flex ...
1. 它是面向对象的。 这表示什么意义呢?如果问10个程序员,你也许会得到12种结果,你有你的看法,我不会试图去改变你的看法。但是有一点,Ruby提供了对数据和方法的封装,允许类的继承,对象的多态。不像其它语言(C++,Perl等),Ruby从设计的时候开始就是一种面向对象的语言。2. 它是纯面向对象的语言。难道是我多余?不是这样的,之所以这么说,因为Ruby中一切都是对象,包括原始数据类型(primitive data types),比如字符串,整型,都表示的是一个对象,而不需要Java那样提供包装类(wrapper classes)。另外,甚至是常量,也会被当作对象来处理,所以一个方法的接收 ...
http://www.subversion.org.cn/svnbook/1.4/index.html   TortoiseSVN1.5本地下载 http://www.subversion.org.cn/?action-viewnews-itemid-64       转自 http://www.svn8.com/SVNSY/20080228/168.html 让SVN作为windows系统服务自动运行 2008-02-28 22:30:46   来源:   作者:   【大 中 小 ...
转自 http://hi.baidu.com/eehuang/blog/item/37af8d54242d6351564e00b5.html   Installing Git Building from Source Building Git from source is straightforward and allows you the maximum control over your installation. You can get the source directly from the Git Homepage . As of 2008-04-08, the ...
转自 http://www.cnblogs.com/banjia/archive/2008/09/20/1294901.html 在Windows环境中使用版本管理工具Git Git是一个分布式的版本控制系统,最初由Linus Torvalds编写,作者把他描述为一个“傻瓜式的版本管理系统”,用作Linux内核代码的管理。在 ...
Haml 转化成 html 的网络工具 http://lab.hamptoncatlin.com/play/with/haml Haml是一种用来描述任何XHTML web document的标记语言,它是干净,简单的。而且也不用内嵌代码。Haml的职能就是替代那些内嵌代码的page page templating systems,比如PHP,ERB(Rails ...
转自 http://idiotis.ms/4/rails+plugin+list   12_hour_time                  http://www.nickm.org/svn/repos/rails/plugins/12_hour_time/RailsRunner                   http://svn.rubaidh.com/plugins/RailsRunner/access_control                http://filetofsole.org/svn/public/projects/rails/plugins/access_con ...
1. make_resourceful $ ruby script/plugin install http://svn.hamptoncatlin.com/make_resourceful/ 2. authenciation 可用户激活 ./script/generate authenticated USERMODEL CONTROLLERNAME --include-activation  $   ruby script/plugin install http://svn.techno-weenie.net/projects/plugins/restful_authentication/ ...
还没有弄清楚确切原因 from http://www.macruby.org/   can't find header files for ruby If you get the can't find header files for ruby error message when trying to build an extension or a gem, it means that Ruby cannot locate its header files. Header files are not delivered by default with Mac OS X, you n ...
这是David Chelimsky写的一篇RSpec简明指南,原文在这里。 简介 要了解RSpec,我们首先需要了解什么是行为驱动开发(Behaviour Driven Development,简称BDD),BDD是一种融合了可接受性测试驱动计划(Acceptance Test Driven Planning),域驱动设 ...
转载http://yuweijun.blogspot.com/2008/07/macrmagick.html   从http://www.imagemagick.org/script/binary-releases.php上下载imagemagick,安装到了/Users/yu/Programs/ImageMagick下,并在~/.profile里设置好以下二个环境变量,在安装过程中extconf.rb会用到,及以后ruby中require "RMagick"会用到。$> export MAGICK_HOME="/Users/yu/Programs/Image ...
Ruby 写的 GUI 黑白棋游戏  把脚本下载以后,发现没有 tk84.dll ,网上找资料,发现需要安装叫 ActiveTcl 的组件。 1.安装ActiveTCL 8.4.xx (TCL8.5是不行的)。 2.把TCL/bin目录下的TK84.dll拷贝到Ruby/lib下面去,就ok了。 Ruby目前的版本好像只认TK84.dll,有点不像话。 另,ActiveTCL8.4, 到这里找: http://downloads.activestate.com/ActiveTcl/Windows/ 安装 ActiveTcl 后,可以在 bin 目录下找到 tk84.d ...
这四个方法还是很好玩很有用,也是比较容易混的。     1.require( aString ) -> true or false      Ruby 试图载入一个名为aString的库,如果成功了就返回true,否则返回false。如果给定的值不是一个绝对路径,那么将会在$:中查找。如果给定的 名字带有.rb,则作为源文件载入;如果扩展名为.so,.o,.dll等(根据不同平台),Ruby将这些作为扩展程序来载入;否则,Ruby会自动尝 试在给定的文件名后面加.rb,.so,.dll等。已经载入的库会放到数组$"中,已经在$"里的则不会被重复装载。比如: ...
Global site tag (gtag.js) - Google Analytics