Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
Jianqiu Xiao
@swordray
会员
第 6291 位会员 / 2013-03-23

北京
24 篇帖子 / 557 条回帖
22 关注者
3 正在关注
0 收藏
打赏作者
GitHub Public Repos
  • ruby-china-ios 159

    Ruby China app for iOS

  • ispinner 54

    Pure CSS spinner like iOS UIActivityIndicatorView

  • modular_migration 39

    Rails migration files generate into corresponding modular directories

  • JXWebViewController 29

    An iOS view controller wrapper for WKWebView

  • v2ex-ios 28

    An Unofficial V2EX iOS App

  • JXGradientNavigationBar 18

    Custom UINavigationBar subclass with gradient colors on iOS.

  • JXReviewController 16

    Request rating by 1-5 stars.

  • v2ex-android 15

    A V2EX Android App.

  • rails-cache_control 10

    Autotomicly add HTTP Cache-control header when caches_action expires_in specified

  • sass-lint-webpack 8

    Sass-lint plugin for Webpack 4+

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • 快速生成一个 [1,2,3,4,5,6,7,8,9,10] 的数组 at 2014年02月28日

    @zhangyanan 挺会出题的

    1.upto(10).to_a
    
    10.downto(1).sort
    
    10.times.to_a.map(&:next)
    
    10.next.times.reject(&:zero?)
    
  • gem rails-cache_control - 自动给 HTTP 请求加上前端缓存,以大幅提高加载速度 at 2014年02月28日

    #6 楼 @edokeh

    要写在 action 里面,和 caches_action expires_in 的声明式写法完全不同,也不是关联的,估计很少有人注意到

  • 在线支付平台求推荐 at 2014年02月27日

    要多支持对公业务的

  • Github 开发的心编辑器 Atom 邀请码 at 2014年02月27日

    #13 楼 @lidashuang

    好人一生平安 [email protected]

  • Github 开发的心编辑器 Atom 邀请码 at 2014年02月27日

    #30 楼 @1212e

    好人一生平安 [email protected]

  • gem rails-cache_control - 自动给 HTTP 请求加上前端缓存,以大幅提高加载速度 at 2014年02月27日

    #3 楼 @miclle

    规范命名方法,例如 actionpack-action_caching

  • [吐槽] 建议某 iOS 广告公司 SDK 加上 CocoaPods,居然不领情,真是不懂 Ruby 之美 at 2014年02月27日

    #1 楼 @ch3n #2 楼 @ichord

    他们没有代码库,如果更新了不知道怎么维护,而且打包了几千个文件

  • 这种写法已经流行起来了吗? at 2014年02月27日

    这样同时有 http 和 https 两套部署的话就只用缓存一份代码

  • 安装 Rails,各种不成功啊·求帮助! at 2014年02月27日

    #10 楼 @gzh8579 Mac Mini $4000,黑 Mac $1000 要致富,先修路

  • Github 开发的心编辑器 Atom 邀请码 at 2014年02月27日

    好人一生平安

  • 安装 Rails,各种不成功啊·求帮助! at 2014年02月27日

    try Mac OS X

  • gem rails-cache_control - 自动给 HTTP 请求加上前端缓存,以大幅提高加载速度 at 2014年02月27日

    #1 楼 @zgm 凡事都有代价,适合 1、对缓存主动更新要求不高 2、时间不是很长。例如 书海 内容基本不变,目前也只设了 1.day;电商 优众 就不适用了

  • 都升级到 Rails 4 了吗,大家 ruby 用的什么版本 at 2014年02月27日

    4.1.0.rc1,就为了 ActiveRecord::Enum

    taobao 源居然没有 4.1.0.rc1、4.1.0.beta2,找谁吐槽呢

  • 记忆力减退怎么办~~~ at 2014年02月26日

    张三丰:无忌孩儿,这太极剑你还记得多少? 张无忌:忘了一些 张三丰:我再给你演练一次 (一炷香后) 张无忌:忘了大半 张三丰:我再给你演练一次 (一炷香后) 张无忌:全忘了 张三丰:可以向赵敏姑娘的朋友请教了

  • 《Web 开发敏捷之道 4》《The Ruby Way》到处都买不到,Ruby 如此不堪了么 at 2014年02月24日

    #9 楼 @allenfantasy 请问项目地址在哪,我可以出点力

  • 《Web 开发敏捷之道 4》《The Ruby Way》到处都买不到,Ruby 如此不堪了么 at 2014年02月24日

    #8 楼 @steve

     购物车提示
    
    sorry,此商品暂时无货,暂时不能加入购物车!
    
  • 《Web 开发敏捷之道 4》《The Ruby Way》到处都买不到,Ruby 如此不堪了么 at 2014年02月24日

    #3 楼 @xds2000 问了一下大多没货或者是翻版的

    话说 http://guides.rubyonrails.org/ 翻译的工作还有人在做吗

  • 《Web 开发敏捷之道 4》《The Ruby Way》到处都买不到,Ruby 如此不堪了么 at 2014年02月24日

    #2 楼 @Rei 不是我看,教新手只能用中文版

    #3 楼 @xds2000 O(∩_∩)O 谢谢

    #5 楼 @small_fish__ 谢谢,还是准备另买 2 本,公司可以报销的

  • 如何通过 web 服务,触发服务器端的脚本,让脚本到后台运行? at 2014年02月24日

    归根结底是记录 pid

    return unless Process.getpgid(File.read('my.pid')) rescue nil
    pid = Process.fork { sleep 100 }
    File.write('my.pid', pid)
    
  • 说说在大城市生活的感受 at 2014年02月23日

    有压力才有动力,你想当公 (zhi) 务 (wu) 员 (ren) 养老么

  • 如何做一个图片的服务器呢? at 2014年02月23日

    用 Paperclip::Storage,本地、云存储或 CDN 都可以,这个只是运维部署的小问题

  • 解析 xml 的 api 接口 at 2014年02月23日

    ActiveSupport::XmlMini 是 Rails 模块

    gem RecursiveOpenStruct 是为了让 Hash 代码优雅

    请善用 Google

  • 上次说的资源权限管理的功能,写成 Gem 包了 at 2014年02月23日

    :thumbsup:

  • 解析 xml 的 api 接口 at 2014年02月23日

    一行代码解决

    Record.create(RecursiveOpenStruct.new(ActiveSupport::XmlMini.parse(string)).rss.channel.item.map { |item| item.map { |key, value| [key, value.values.first] }.to_h })
    
  • 为什么,以及如何学习 Basecamp 架构 at 2014年02月03日

    觉得开发 Basecamp 的工作量如何?

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