Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
Jianqiu Xiao
@swordray
Member
NO. 6291 / 2013-03-23

北京
24 Topics / 557 Replies
22 Followers
3 Following
0 Favorites
Reward
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
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • 更新一下侧边栏 CNode 图片吧 at April 22, 2014

    #3 楼 @jiyinyiyong js 站不会 cookie ...

  • 字符串 a 不为空的表达式怎么写比较高效呢? at April 21, 2014

    #7 楼 @yangman_wenzhu present? 是 blank? 的反义词吧?

  • 关于 sprockets 中的 require 和 scss 中 @import 的一些疑问。 at April 21, 2014
    • sprockets require 是拼接编译后的文件
    • sass @import 是拼接源文件之后再整体编译

    按需使用吧

  • 字符串 a 不为空的表达式怎么写比较高效呢? at April 21, 2014
    if a.present?
    
  • 如何將 2 個 Array 合併成 Hash? at April 21, 2014

    #11 楼 @zj0713001 在一个升级强迫症患者眼里只有 Ruby 2.1.1 和 Rails @github

  • 如何將 2 個 Array 合併成 Hash? at April 21, 2014

    #3 楼 @zj0713001 Hash[] 改成 .to_h 吧,可以节省一个字节。强迫症患者犯病了,不用理我。。。

  • ruby.taobao.org 启用 SSL (非强制跳转) at April 20, 2014

    #8 楼 @ruohanc JavaScript 的库管理确实很乱,不过再怎么样一行 gem 'rails-assets-underscore' 也比 vendor 下放一堆文件要好一点

  • ‘DevOps’ 是如何伤害一个开发者的 at April 20, 2014

    #18 楼 @ruohanc 3 确实是意外啦,但也是我最着急的,单个 Rails 应用上线要几个小时,比坐京津高铁过去还慢

  • ruby.taobao.org 启用 SSL (非强制跳转) at April 20, 2014

    @ruohanc 哥,有 https://rails-assets.org/ 的镜像么,我们公司的国外带宽太慢了,bundle update 党 泪奔

  • 我见过最高大上的中学招聘 at April 20, 2014

    我去,对互联网开发理解太深刻了,这支团队拉出来可以拿风投了

  • gems 里面也是什么奇葩的名字都有啊 at April 20, 2014

    #2 楼 @iBachue 👏 正在疯狂抢注各大网站名称

  • ‘DevOps’ 是如何伤害一个开发者的 at April 20, 2014

    #15 楼 @ruohanc 是的

    按领导的要求: 1、代码隔离,dev 只能写业务功能代码,不能写部署代码 2、信息隔离,上线只能通过 OA 审核流程进行,不能直接发邮件 3、地理隔离,dev 在北京,ops 在天津

    不同团队隔离开来好管理

  • ‘DevOps’ 是如何伤害一个开发者的 at April 20, 2014

    #12 楼 @ruohanc 已修正。我们公司出于政治原因,部署只能由运维来开发和操作,所以我不太清楚怎么区分

  • 想知道有哪些合适 (最好免费) 的平台可以用来部署小规模应用? at April 20, 2014

    Linode 东京服务器 https://www.linode.com/

  • 请教如何拦截 url at April 19, 2014

    http://apidock.com/rails/ActionController/DataStreaming/send_file

  • 如何确保订单状态安全性 at April 19, 2014

    #1 楼 @huacnlee 点赞

    客户如果担心黑客,Linux、OpenSSL、IPTables、Nginx、Puma、Ruby、Rails、gems 以及应用代码任何地方都可能有漏洞

  • 注册时的邮箱不能用了,能提供一个修改注册邮箱的手段吗 at April 19, 2014

    @lgn21st 老大能帮我改成 swordray 的 gmail.com 么,雅虎中国那个短命货啊

  • ‘DevOps’ 是如何伤害一个开发者的 at April 19, 2014

    赞同 #8 楼 @kgen

    Rails 就是一个全栈开发框架,从 数据库(ActiveModel)-> 服务器(ActionController)-> 页面(ActionView) -> 模板(Slim)-> 样式(Sass)-> 交互(CoffeeScript)-> 测试(RSpec) -> 部署(Capistrano)

  • mongoid 数据库如何使用 transction? at April 19, 2014

    不支持,ActiveRecord::Base#transction 本质上还是调用数据库的事务功能,MongoDB 不支持的话 Rails 也不支持

  • 通过 RVM 安装一个 Ruby 2.1,一晚上了,停滞不前,咋破? at April 18, 2014

    #15 楼 @kgen 赞同。异常处理的第一条原则就是不要过度处理

  • 关于 Rails API 问题 at April 15, 2014

    1 是新写法

  • [已解决] git diff 怎么看 Untracked files / New files 的内容? at April 13, 2014

    #6 楼 @yesmeck #9 楼 @leozwa

    谢谢两位帮忙。昨天看了一个小时的 git help diff 文档,没想到大招在 git add

  • 刚在看一篇讲述 monads 的文章,然后,Ruby 被黑了。。。 at April 13, 2014

    #20 楼 @kgen 看具体场景了,比如一个页面显示元素如果没有填就留空,不需要抛异常让整个页面报 500

  • [已解决] git diff 怎么看 Untracked files / New files 的内容? at April 13, 2014

    #7 楼 @zj0713001 这个要看人,越是高手 Git 用起来就越舒服,普通开发就觉得 SVN 好理解,低手就认为 QQ 拷文件万岁

  • [已解决] git diff 怎么看 Untracked files / New files 的内容? at April 13, 2014

    #3 楼 @zj0713001 好复杂呀,还是 SVN 适合我这种普通人

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