Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
Jun Lin
@linjunpop
高级会员
第 396 位会员 / 2011-12-05

厦门
36 篇帖子 / 160 条回帖
5 关注者
17 正在关注
53 收藏
42
GitHub Public Repos
  • imessage 341

    💬 Send iMessages from command-line

  • obsidian-gist 82

    📒 Gist View for Obsidian(https://obsidian.md)

  • riif 48

    🏦 A DSL to generate QuickBooks IIF file.

  • obsidian-badge 31

    🟦 Render badges in Obsidian.md

  • receipt_verifier 20

    ✅ Verify iOS App receipt with the App Store

  • app_store 16

    👩‍💻 An App Store Server API (StoreKit 2) client in Elixir.

  • receipt_decoder 16

    🔑 Decode iOS App receipt in Elixir

  • transhook 2

    🦾 Build the connection between Internet Webhooks.

  • tello 1

    🛸 Ryze/Dji Tello SDK (Unofficial)

  • blog 1

    The source code of my blog.

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • 诡异的 SSH 登录! at 2012年04月19日

    @zhangyuan 是二楼。

  • 你不必这么着急 at 2012年04月19日

    很好的文章。

  • 诡异的 SSH 登录! at 2012年04月18日

    authorized_keys 是远程的文件,不是你本地的

  • Rspec 的 and_yield () at 2012年04月18日

    @yeerkunth @doitian Thanks. :D

  • Homeland - 嵌入式的论坛组件 at 2012年04月17日

    cool~

  • 有人用过 Puma 这个 web server 吗? at 2012年04月17日

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

  • 请教为什么对象回传不到 create 上,我已经按照例子上的写了 at 2012年04月17日
    @user = Users.new
    
    

    应该是

    @user = User.new
    
    
  • Ruby China T 恤第一期的赠送名单公布 at 2012年04月16日

    wow,居然有我~ 谢谢 😄

  • Ruby China T 恤第一期最终选稿 at 2012年04月16日

    我也觉得 @fredwu 的这两款比较好看 😄

  • 强烈建议恢复 “社区” 为首页 at 2012年04月16日

    同感

  • Foundation at 2012年04月15日

    ZURB 这家公司也挺有意思的。

  • 哎呀 土鳖来问一下 github 是什么啊?好像大家都有啊 at 2012年04月13日

    @douya0808

    http://www.worldhello.net/gotgithub/

  • 请问 RVM 能安装 Ruby 的最新开发版本么? at 2012年04月11日

    ruby-head

  • puma.io at 2012年04月10日

    昨天试了一下,开发环境下反而比 Thin 更慢,ruby 1.9.3-p125

  • 怎么开始写前台的代码? at 2012年04月09日

    bootstrap or compass

  • Ruby 纪念 T-Shirt 设计反馈 at 2012年04月03日

    Ruby china 的那个 logo 就挺好看的,只是不知道印刷出来色彩怎样

  • Essential Design Pattern 的讀者若漏信請注意 at 2012年04月02日

    @xdite 貌似发来的 PDF 里 缩进 变成一个 space 了?Mac 上 Preview 打开。

  • Essential Design Pattern 的讀者若漏信請注意 at 2012年04月01日

    Gmail + 大陆用户,果然没收到任何邮件~ spam 里也没有,汗~

  • vim-turbux at 2012年03月31日

    @xds2000

    http://www.wikivs.com/wiki/Screen_vs_tmux

  • vim-turbux at 2012年03月31日

    刚测试了下,直接用 MacVim 加上 iTerm 里开个 tmux 也可以使用,挺好用的

  • mvim 如何安装插件? at 2012年03月30日

    ~/.vim/ 里

  • 新人请教关于 ViewHelper 的问题!卡住啦~烦躁中 at 2012年03月28日

    如果用 simple_form_for

    View:

    = simple_form_for @product do |f|
      = f.association :descriptions, :as => :radio_buttons
      = f.button :submit
    
    

    Model:

    class Product
      has_many :descriptions
    end
    
    
    class Description
      belongs_to :product
    end
    
    
  • Rspec 和 Foreign Key 的问题 at 2012年03月28日

    #4 楼 @vkill Thank you. 只是测试实在慢的不行。。

    关于语法:

    http://robots.thoughtbot.com/post/19412394597/factory-girl-hits-3-0

  • Rspec 和 Foreign Key 的问题 at 2012年03月28日

    这些语句就是 shoulda @ywencn

    and 可能我没有表达清楚, 我的问题是怎么让测试不至于如此耗费时间

    因为 CameraReport 有 call_sheet_id 的 foreign key, 所以我要测试 CameraReport 的时候,就必需要创建一个 CallSheet,而因为 CallSheet 又和其他 model 有 association,所以每次测试 CameraReport 就必需创建一大堆的真实对象,但是这些对象在 CameraReport 的测试里,我并不关心,所以我希望可以用 stubbed 的对象,但是因为存在 foreign key,如果我用 stubbed 的对象,数据库就会报错。

  • 问一个关于代码简洁方面的问题~~~ at 2012年03月14日

    slim +1

  • Method end with Bang means dangerous at 2012年03月02日

    @hooopo https://www.readability.com/faq#reader-errors

  • Method end with Bang means dangerous at 2012年03月02日

    @hooopo 文章在 readability 转换之后只剩下 code 了

    https://www.readability.com/articles/u2kud79t

  • 如何查看 DEPRECATION WARNING 是哪个 gem 的? at 2012年02月18日

    #1 楼 @bindiry 搞定了

    直接改 /Users/linjunpop/.rvm/gems/ruby-1.9.3-p0-falcon@fo-web/gems/activesupport-3.2.1/lib/active_support/deprecation/reporting.rb

    13 行左右,找到这段, ap callstack 就知道了

    def warn(message = nil, callstack = caller)
      return if silenced
      deprecation_message(callstack, message).tap do |m|
        behavior.each { |b| b.call(m, callstack) }
      end
    end
    

    不知道有没有更简单的办法。

  • 免费的 Rails 培训,报名帖 [第一期 名额已满] at 2012年02月13日

    报名 + 1

  • 在 CentOS 服务器上做 rake db:migrate 非常非常慢,甚至崩溃 at 2012年01月19日

    部署不是应该用 rake db:schema:load 么?

  • 上一页
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 下一页
关于 / RubyConf / Ruby 镜像 / RubyGems 镜像 / 活跃会员 / 组织 / API / 贡献者
由众多爱好者共同维护的 Ruby 中文社区,本站使用 Homeland 构建,并采用 Docker 部署。
服务器由 赞助 CDN 由 赞助
iOS 客户端 / Android 客户端 简体中文 / English