Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
hello
@lidashuang
VIP
NO. 122 / 2011-11-17

杭州
24 Topics / 937 Replies
22 Followers
66 Following
101 Favorites
No GitHub.
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • 各位大神,VIM 下有使用中文输入的插件吗? at June 08, 2012

    vimim 一直用。很方便,你指的影响什么速度?

  • 嗯,我大学曾经上过 linux 课 at June 07, 2012

    我们也是这样,老师都用 win,不用 linux,上 linux 课,都要在 windows 下。

  • [上海] 创业团队诚聘 RoR 实习生,200/ 天 (可转正) at June 04, 2012

    不错

  • Yaml 代码复用技巧 at June 03, 2012

    database.yml 的写法

    default: &default
      adapter: mysql2
      encoding: utf8
      reconnect: false
      pool: 5
      username: root
      password: root
      host: localhost
    
    development:
      <<: *default
      database: exam_development
    
    # Warning: The database defined as "test" will be erased and
    # re-generated from your development database when you run "rake".
    # Do not set this db to the same as development or production.
    test:
      <<: *default
      database: exam_test
    
    production:
      <<: *default
      database: exam_production
    
  • SICP 的中文解题集 at June 03, 2012

    #2 楼 @willmouse 视频能给个地址不?

  • Screencast: Rails Setup on Ubuntu at June 01, 2012

    不错,学习了

  • Grove, 类似 Campfire 的在线聊天工具 at May 23, 2012

    用过,收费,不过挺好的。

  • 第一期 Railscasts-china live show 视频 with @huacnlee (第二期也已发布) at May 18, 2012

    linux 下 wget 下的,下了几个小时,伤不起啊

  • 如果想在虚拟机上装 Ubuntu 部署 Rails,在 Windows 下工作,有什么注意事项吗? at May 18, 2012

    linux windows 共享 使用 Samba ,这里有个教程 http://blog.s135.com/samba_linux_windows/ 虚拟机网络用桥接,和本机设置成一个网段。 远程 ssh,可以用 xshell

  • 分享一个不错的 Emacs tour at May 16, 2012

    老想用 emacs,但是用 vim 习惯了,emacs 就是上不了手

  • Rails3 中的表单 AJAX 提交怎么写啊! at May 10, 2012

    http://rubyer.me/blog/999/

  • 本社区有从 PHP 转过来的吗? at May 08, 2012

    php 菜鸟

  • 北京 Ruby 聚餐后的产物: 北京 Ruby 精英组 at May 07, 2012

    昨没有 gtalk 的群

  • Ruby China T 恤 宝雷杭团队 at May 06, 2012

    壮观啊

  • 大家有谁在用 Ubuntu 作为开发环境啊? at May 06, 2012

    #25 楼 @hlcfan 其实 ubuntu 现在做的也挺好的,server 现在我一般用 ubuntu server

  • 分享一下 CodeSchool Slides at May 05, 2012

    qbox.me 现在用的,挺好

  • Linux 下有比较好的 SSH 工具么? at May 05, 2012

    putty 也有 linux 版

  • 关于下一版本 Ruby China 的功能计划 at May 03, 2012

    Timeline 期待

  • 一个女生用 C 语言写的爱情函数 at May 03, 2012

    伪代码

  • 安装 mysql2 gem 时出问题, *** extconf.rb failed *** at May 03, 2012

    http://stackoverflow.com/questions/3608287/installing-mysql2-gem-for-rails-3

  • 向学习 Emacs 的同学推荐一个网站 李杀网 at April 29, 2012

    good

  • 用三年前给自己的生日礼物,订阅 Ruby-China Feed at April 29, 2012

    #9 楼 @kevinhua

  • rubychina 最近咋感觉好慢啊 at April 24, 2012

    这回复真帅

  • Ruby China T 恤第二期的赠送名单公布 at April 22, 2012

    已收到邮件

  • mruby 发布了 at April 20, 2012

    相对 ruby 有啥特色

  • Rails 快速实现 markdown 和代码高亮 at April 20, 2012

    #12 楼 @hisea 应该是 coderay 的问题,我与 coderay 相关的代码去了,就可以。 gem 已经装,在 irb 里也能正常加载 coderay 的类库。我再找找问题 非常感谢

  • Rails 快速实现 markdown 和代码高亮 at April 20, 2012

    #10 楼 @hisea

    module ApplicationHelper                                                        
    
        def markdown(text)                                                               
          options = {                                                                    
            :autolink => true,                                                           
            :space_after_headers => true,                                                
            :fenced_code_blocks => true,                                                 
            :no_intra_emphasis => true,                                                  
            :hard_wrap => true,                                                          
            :strikethrough =>true                                                        
          }                                                                              
          markdown = Redcarpet::Markdown.new(HTMLwithCodeRay,options)                    
          markdown.render(h(text)).html_safe                                             
        end                                                                              
    
        class HTMLwithCodeRay < Redcarpet::Render::HTML                                  
          def block_code(code, language)                                                 
            CodeRay.scan(code, language).div(:tab_width=>2)                              
          end                                                                            
        end                                                                              
    
      end        
    
    
  • Rails 快速实现 markdown 和代码高亮 at April 19, 2012

    按照教程做的,在模版里调用时传递变量时, <%= markdown(@post.content) %> 会有以下错误 uninitialized constant ApplicationHelper::HTMLwithCodeRay::CodeRay 直接传递字符串可以正常解析。 求解?谢谢

  • Ruby China T 恤第二期报名活动开始啦![已结束] at April 19, 2012

    报名

  • Prev
  • 1
  • 2
  • …
  • 26
  • 27
  • 28
  • 29
  • 30
  • Next
关于 / RubyConf / Ruby 镜像 / RubyGems 镜像 / 活跃会员 / 组织 / API / 贡献者
由众多爱好者共同维护的 Ruby 中文社区,本站使用 Homeland 构建,并采用 Docker 部署。
服务器由 赞助 CDN 由 赞助
iOS 客户端 / Android 客户端 简体中文 / English