Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
Embbnux Ji
@embbnux
Member
NO. 15999 / 2014-11-20

厦门
3 Topics / 205 Replies
14 Followers
2 Following
0 Favorites
静下心来学习
GitHub Public Repos
  • kails 512

    A Web App like Ruby on Rails with Koa2, Webpack and Postgres

  • use-global-storage 12

    React hook to connect storage and state

  • glip-ai-bot 11

    This is an AI Assistant Bot for Glip, using API.AI and RingCentral API

  • rt-storage 11

    Real time storage

  • ringcentral-embeddable... 6

    RingCentral Embeddable with chrome extension

  • ringcentral-data-for-g... 3

    Integrate RingCentral data into Google Sheets with Google Apps Script

  • use-global-storage-demo 2

    Demo

  • ringcentral-presences-... 1

    Presences monitor for RingCentral account admin

  • ringcentral-widgets-demo 1

    RingCentral Widgets Tutorial Demo Code

  • ringcentral-embeddable... 0

More on GitHub
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • RubyConf China 2016 我们将会赠送这款 T 恤哦! at August 29, 2016

    好身材

  • Pokemon China 又一个基于 Ruby China 的社区 at August 23, 2016

    加油

  • Pokemon China 又一个基于 Ruby China 的社区 at August 20, 2016

    @tmac15 不错,终于正式上线了 👏 👏 👏

  • 从 ROR 转 Node 如何开始? at August 03, 2016

    最近刚开源的一个 koa 项目,基本上按着 rails 的思维去写,不得不吐槽 koa 资料太少了,要开发效率和成熟方案还是得 rails. kails 基本上实现了 rails 框架的一些基本功能,一切都要自己搞啊,方案调研都花了我好几天,感觉又可以搞好几篇博客了

    已实现的功能:

    • MVC
    • Database (postgres), ORM(sequelize)
    • migration(sequelize-cli)
    • assets compile(webpack)
    • Session with redis
    • Password with bcrypt
    • Testing (mocha)
    • Lint (eslint)
    • middleware
    • ES6 欢迎拍砖
  • The Rails Doctrine - 中文翻译 at August 02, 2016

    赞,谢谢翻译,之前英文看得都睡着了

  • 建议去掉登录验证码 at July 20, 2016

    现在用下 ocr 库加保存 session,还是能破的

  • 只有状态不同的条件可以如何重构? at July 09, 2016

    推荐 send, 觉得 send 还是比较好看得懂的

  • Rails 5 新功能 - 实现适用于不同场景的 ActiveRecord 验证 at July 07, 2016

    抓紧升级 rails5

  • 请教一下,在 API 中,保存前端 Canvas 生成的预览图的解决方案 at July 01, 2016

    canvas toDataUrl 就变成 base64 编码的图片了,传到后端解码保存就可以了

  • 有没有可能用 localStorage 把 js 缓存一下? at July 01, 2016

    慢应该是 cdn 的问题,可能你那边附近没 cdn 节点

  • Reddot RubyConf 2016 总结 at July 01, 2016

    谢整理

  • 推荐 rails-template 给大家, 极速构建一个全新又老道的 Rails 5 项目 at June 30, 2016

    赞,收藏了

  • 在运行 bundle install 出现问题 at June 29, 2016

    正好前几天配环境遇到: 安装 libxml2 and libxslt

    brew unlink gcc-4.2      # you might not need this step
    gem uninstall nokogiri
    xcode-select --install
    gem install nokogiri
    
  • carrierwave 的 filename 问题 at June 29, 2016

    我是这样生成 md5 的文件名

    def md5
      chunk = model.send(mounted_as)
      @md5 ||= "#{Digest::MD5.hexdigest(chunk.read.to_s)}#{model.id}"
    end
    
    def filename
      @name ||= "#{md5}#{File.extname(super)}" if super
    end
    
  • RubyConf China 2016 赞助征集 at June 29, 2016

    支持

  • Working with Mac at June 25, 2016

    这是 macOS 把 mac 的屏幕映射到 ipad 吗

  • 围绕 MacBook Pro 打造的工作站设计日志 at June 21, 2016

    好羡慕

  • Ruby China 的 gem 源感觉比之前淘宝的源慢很多,有同感么? at June 17, 2016

    #6 楼 @huacnlee 我这边正是在获取 gem 的时候 timed out 的,感觉是 cdn 在某些节点不稳定

    Gem::RemoteFetcher::FetchError: Errno::ETIMEDOUT: Connection timed out - connect(2) for "gems.ruby-china.org" port 443 (https://gems.ruby-china.org/gems/rack-test-0.6.3.gem)
    
  • Ruby China 的 gem 源感觉比之前淘宝的源慢很多,有同感么? at June 16, 2016

    最近 bundle 总有几个包要网络出错

  • public/404.html 原来支持 I18n at June 15, 2016

    可以捕获 404 render view, 这样比较比较好统一 layout

  • 由于 OSS 私钥外流,导致 Ruby China 备份泄漏... at June 13, 2016

    #4 楼 @huobazi 忽然对被脱的数据有兴趣了

  • 由于 OSS 私钥外流,导致 Ruby China 备份泄漏... at June 13, 2016

    好严重,现在网络环境太复杂,天天有人在爬 github 上误传的各种邮箱和密码。 阿里云新出了个 RAM 访问控制,可以限制每个 key 的详细权限

  • Rails.cache 缓存似乎把代码缓存了,而不是把结果缓存了 at June 12, 2016

    缓存的是块里面程序的最终执行结果,如果你块里面的程序执行完输出的是 sql 语句,比如 ActiveRecord::Relation,(User.all), 那下次访问得到数据也是要执行该 sql. 如果块里面的程序执行完输出的是数据如 (User.all.to_a), 那下次就不用执行查询了。

  • 用 Nginx + Puma + Mina 部署 Rails 应用程序 at June 06, 2016

    国内要备案。

  • Ruby 中的多进程与多线程 at June 04, 2016

    学习了

  • ActionCable 的 Cookie 鉴权方式不会不安全么? at June 03, 2016

    如果有个中间层的话,中间层和后端可以用 oauth 认证,浏览器和中间层还是用 cookie。 另:rails 里 session 数据除了用 cookie 加密存在浏览器,可以存在数据库或者 redis 里,浏览器和服务器通讯可以只用一个 session id 就可以

  • 关于 Unicorn 的官网为啥看起来那么古老,开发者之一 Eric Wong 做出了回答 at May 28, 2016

    还是 puma 简单点

  • 网站攻击问题--求助 at May 23, 2016

    同遇到过,不过这请求被 CSRF 拦截了,还要 60ms 有点多了,我们看我们上次 2ms

  • 大家好好工作 at May 18, 2016

    帐号竟然被删除了,不清楚情况

  • gems.ruby-china.org 最近两天 Bad Gateway 502 的问题 at May 11, 2016

    赞,刚跑也报错

    ERROR:  While executing gem ... (Gem::RemoteFetcher::FetchError)
        bad response Bad Gateway 502 (https://gems-ruby-china.b0.upaiyun.com/quick/Marshal.4.8/bundler-1.12.3.gemspec.rz)
    

    换回 taobao 了,再换回来试看看

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