Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
xaqi
@xaqi
会员
第 29765 位会员 / 2016-12-12

1 篇帖子 / 7 条回帖
5 关注者
0 正在关注
0 收藏
GitHub Public Repos
  • mini-rails 55

    仅有600行代码的精简版Rails,可作为学习Rails源码的向导。

  • .net-vue-quiz 26

    游戏竞猜微信公众平台源码 .Net MVC/WebApi/Vue.js/EntityFramework/SPA

  • dotnetpad 0

    The Waf DotNetPad is a simple and fast code editor that makes fun to program with C# or Visual Ba...

  • BO 0

  • inflow 0

  • tessdata 0

    Trained models with support for legacy and LSTM OCR engine

  • xaqi.github.io 0

  • vim-config 0

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • 想在老版本的 Ruby 里用 define_singleton_method,可以自己写吗 at 2017年05月06日

    没用过 1.8,这样可以吗?

    class Object
      def define_singleton_method(name, &block)
        singleton_class.send(:define_method, name, block) 
      end
    end
    
    
  • [Rails 原理] mini-rails,600 行代码看懂 Rails at 2017年04月16日

    好啊,求 pr😆

  • [杭州] 江苏华信区块链研究院 Ruby on Rails 资深开发工程师 20K-30K at 2017年04月14日

    接到电话面试通知了,谢谢😀

  • [杭州] 江苏华信区块链研究院 Ruby on Rails 资深开发工程师 20K-30K at 2017年04月14日

    我发了简历,还没收到回复,估计是因为我没有经验😂 😂 😂 。其实我代码水平不弱,有贴为证😀 https://ruby-china.org/topics/32764 ,求面试

  • [Rails 原理] mini-rails,600 行代码看懂 Rails at 2017年04月13日

    没有,只看了 Rails 源码。

  • Dave:重新思考编程 at 2016年12月15日

    Elixir 肯定更适合解决某些问题,不然就没存在的意义了。 Elixir 版的 RLE.encode 感觉比传统算法还难懂一些,如果找一个传统算法很麻烦,Elixir 轻松解决的例子就更有说服力了。

    module RLE
      def self.encode(list)
        list.each_with_object([]) { |n, arr|
          arr << [n, 0] if arr.empty? || arr.last[0] != n
          arr.last[1] += 1
        }.map { |x| x[1]>1 ? x : x[0] }
      end
    end
    
关于 / RubyConf / Ruby 镜像 / RubyGems 镜像 / 活跃会员 / 组织 / API / 贡献者
由众多爱好者共同维护的 Ruby 中文社区,本站使用 Homeland 构建,并采用 Docker 部署。
服务器由 赞助 CDN 由 赞助
iOS 客户端 / Android 客户端 简体中文 / English