Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
李华顺
@huacnlee
Admin
NO. 2 / 2011-10-28

[email protected]
长桥证券 (Longbridge)
成都
502 Topics / 9058 Replies
959 Followers
53 Following
105 Favorites
Reward
GitHub Public Repos
  • autocorrect 1412

    A linter and formatter to help you to improve copywriting, correct spaces, words, and punctuation...

  • rails-settings-cached 1104

    Global settings for your Rails application.

  • rucaptcha 697

    Captcha Gem for Rails, which generates captcha image by Rust.

  • zed-theme-macos-classic 97

    A macOS native style theme for Zed, let it same like native app in macOS.

  • vscode-macos-classic.t... 22

    macOS Classic theme for Visual Studio Code

  • zed-extension-action 19

    GitHub Action for automatically bump Zed Extensions version after a release.

  • autocorrect-action 11

    GitHub action for use AutoCorrect as lint

  • zed-autocorrect 6

    AutoCorrect for Zed

  • gpui-workspace 4

    Dock layout UI component for GPUI, that extracted from Zed project.

  • zed-lalrpop 3

    LALRPOP parser grammar support for Zed.

More on GitHub
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • 开始在内部用 Gitlab 来管理项目 at April 19, 2012

    我现在已经回去用 Redmine 了

  • Ruby China T 恤第一期最终选稿 at April 19, 2012

    http://tee.blueidea.com/tee/8#anchor_pattern

    这个很不错啊!下次我们就印黑色代码的吧!

  • 关于 scss 加载后所涉及的范围 at April 19, 2012

    看 Ruby China 代码的 application.html.erb 和 views/topics/_base.html.erb

  • 针对大量数据跑任务 at April 19, 2012

    #17 楼 @anklos sidekiq 似乎没法支持 Mongoid

  • 关于 scss 加载后所涉及的范围 at April 19, 2012

    那些页面单独调用

  • Rack:Cache 好像没啥用嘛 at April 19, 2012

    #4 楼 @edokeh 这个细节我也不太了解。我只是隐约记得好像是有关系的。

  • locale yml 中的感叹号是做什么用的? at April 19, 2012

    猜测应该是执行代码的功能

  • erb 只要有中文就报:incompatible character encodings: UTF-8 and ASCII-8BIT at April 19, 2012

    文件编码是否是 UTF-8 ?

  • 有关 Rails Engine 的几个问题? at April 19, 2012

    *.gemspec 加 dependency 是要求使用这个 Gem 的人必须得安装这些 dependency 的 gem 并且得按照版本要求来。而 Gemfile 只是正对你这个 Engine 开发或测试的时候用的。

  • 社区为何没有 follow 人或者 topic? at April 19, 2012

    人少,Follow 没有什么意义 或许话题可以搞 Follow

  • Rack:Cache 好像没啥用嘛 at April 19, 2012

    如果有 CDN 之类或反向代理之类的 Rack::Cache 还是有意义的

  • SAE 发放 Ruby 邀请码 at April 19, 2012

    演示文档的控制台截图是 Windows PuTTY

  • MongoDB + Rails 有什么好的全文搜索的办法吗? at April 19, 2012

    http://ruby-china.org/topics/305

  • Ruby 社区的三大毒瘤 at April 19, 2012

    这里有个重复的: http://ruby-china.org/topics/2701

  • 没在 Rails 代码里见到过 try..catch 和事务管理 at April 19, 2012

    像 Ruby China 这种网站没必要用事务,万一真遇到错误掉了点数据(其实也就是 counter 之类的)问题也不大。

  • 分享一下我的项目:qisine at April 19, 2012

    送餐是个大问题。

  • MongoDB + Rails 有什么好的全文搜索的办法吗? at April 19, 2012

    Sphinx 实现很困难,Solr 可行

  • Textarea 批量添加某个字段,一行一个,如何实现? at April 18, 2012
    params[:urls].split("\n").each do |url|
      Model.create(:url => url)
    end
    
    
  • 做了一个脚本,方便大家用 Sunpot 做中文全文索引 at April 18, 2012

    #29 楼 @ruby_sky 这个就不开源啦

  • 做了一个脚本,方便大家用 Sunpot 做中文全文索引 at April 18, 2012

    #25 楼 @Los 166m

  • 做了一个脚本,方便大家用 Sunpot 做中文全文索引 at April 18, 2012

    #21 楼 @Los 安装容易么?之前 Sphinx 编译搞得很郁闷

  • Ruby China T 恤第一期最终选稿 at April 18, 2012

    现在已经有 44 人购买了,还没下手的同学赶紧哦!

  • 做了一个脚本,方便大家用 Sunpot 做中文全文索引 at April 18, 2012

    @Los 现在 Ruby China 后台进程占用内存最多的就是 Solr ... 不过平心而论,还是挺好的,只是配置文件 XML 太鹾了

  • Ruby China 的 bootstrap-rails 只支持 Bootstrap 1.4,而且没有更新 at April 18, 2012

    试过设计 Ruby China 到 Bootstrap 2.0 但是有很多细节的问题,后面就放着没继续搞了 https://github.com/ruby-china/ruby-china/tree/bootstrap-2.0

  • 关于文件被下载下来时的文件名:) at April 18, 2012

    如果是一个远程的文件的话,可以这样

    def download
        attachment = Attachment.find(params[:id])
        response.headers['Content-Type'] = "application/octet-stream"
        response.headers['Content-Disposition'] = "attachment; filename=#{attachment.name}"
        response.headers['Cache-Control'] =  "private"
        response.headers['X-Accel-Redirect'] = attachment.file.url
        render :nothing => true
    end
    
    
  • Prev
  • 1
  • 2
  • …
  • 209
  • 210
  • 211
  • 212
  • 213
  • …
  • 264
  • 265
  • Next
关于 / RubyConf / Ruby 镜像 / RubyGems 镜像 / 活跃会员 / 组织 / API / 贡献者
由众多爱好者共同维护的 Ruby 中文社区,本站使用 Homeland 构建,并采用 Docker 部署。
服务器由 赞助 CDN 由 赞助
iOS 客户端 / Android 客户端 简体中文 / English