`
xxj
  • 浏览: 434945 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论
文章列表
看《Agile Web Development with Rails》中的布局只是草草的一带而过,只说了个 <%=@content_for_layout%> 可是如果不仅仅是一个laytou怎么办? 譬如上面是广告、Tasks,下面是Workspaces,并且广告、Task会因不同的工作区域而改变。 对于多个,我们可以这样来做 <%=@content_for_ads%> ... ... <%=@content_for_tasks%> ... ... <%=@content_for_workspaces%> .... .... ...
http://www.tudou.com/v/AAaGj5H_AHM
跨越边界: Rails 迁移 http://www-128.ibm.com/developerworks/cn/java/j-cb08156.html
http://sas.sparklingstudios.com/articles/2006/08/31/exception-notifier-ruby-on-rails-plugin 以下是原文: 引用 Yesterday I came over Exception Notifier. I found it really useful because it is really easy to install and you can instantly react to Application Errors. Your customers don’t have to notify you be ...
今天遇到一件很头疼的事情,安装jedit失败,然后不管安装其他什么软件都报错 dpkg (子进程):无法运行 新的 post-removal 脚本: No such file or directory dpkg:处理 jedit_4.3pre6_all.deb (--install)时出错:子进程·新的 post-removal 脚本·返回了错误号·2 dpkg (子进程):无法执行新的 post-removal script: No such file or directory dpkg: 作下列清理工作时发生错误:子进程·post-removal script·返回了错误号·2 ...
太棒了 http://easylinux.info/wiki/Ubuntu_dapper
My nb is acer Travelmate 3210Z and the screen is 1280*800,but the ubuntu default is 1024*768. sudo apt-get install 915resolution sudo vi /etc/default/915resolution eidt the following three lines MODE=54 XRESO=1280 YRESO=800 restart gdm and will be ok:)
sudo vi /etc/apt/sources.list add the following two lines at the end of sources.list deb http://us.archive.ubuntu.com/ubuntu dapper universe deb-src http://us.archive.ubuntu.com/ubuntu dapper universe update apt-get update apt-get dist-upgrade install ruby apt-get install ruby rdo ...
以前习惯了用webwork,都好久没有过问过文件如何具体上传的了,只是拿cos来用一下,要不是今天需要处理rails文件上传都快忘记了 目标:   将文件保存到指定的文件夹中,对它重命名,保存重命名后的文件名称 为了能使任何controller都能使用文件上传的功能,变将代码放置在application.rb中 # Filters added to this controller will be run for all controllers in the application. # Likewise, all the methods added will be available f ...
无意间发现一UUID生成器UUIDTools:http://rubyforge.org/projects/uuidtools/,可以从这里下载http://rubyforge.org/frs/?group_id=914。它本身就是个plugin,所以并不需要我们做什么额外的事情,只需要放到vendorpluginsuuidtools下,然后在需要用的地方require进来就可以了 ex: def getFileName(filename) if !filename.nil? require 'uuidtools' filename.sub(/. ...
http://martin.iteye.comThanks blogjava!
FFmpeg:http://en.wikipedia.org/wiki/FFmpeghttp://videotranscoding.wikispaces.com/http://soenkerohde.com/tutorials/ffmpeghttp://klaus.geekserver.net/flash/streaming.html
用Ruby 创建领域特定语言(DSL)         http://uncutstone.blogdriver.com/uncutstone/1196082.htmlRails本地化         http://blogsite.3322.org/jspwiki/pages/viewblog?id=2540
Postfix 的好书,研读中
 Announcing the Release Candidate for Ubuntu 6.06 LTShttps://lists.ubuntu.com/archives/ubuntu-announce/2006-May/000081.html2006-05-25, Matt Zimmerman writes:The Ubuntu team is proud to announce the Releases Candidate of Ubuntu, Kubuntu and Edubuntu 6.06 LTS - codenamed "Dapper Drake" ...
Global site tag (gtag.js) - Google Analytics