Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
Tony Han
@tony612
VIP
NO. 1232 / 2012-02-29

[email protected]
TubiTV
上海
45 Topics / 1079 Replies
57 Followers
13 Following
278 Favorites
Long live Ruby!
GitHub Public Repos
  • tokio-internals 132

    Internal details of Tokio from code to designs

  • qiniu 60

    [NOT MAINTAINING] Qiniu sdk for Elixir

  • kexplain 12

    Kexplain is an interactive kubectl explain

  • hello-grpc 3

  • grpc-core 2

    [DEPRECATED] grpc core for easy development of implements of other languages

  • tokio 1

    A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, sch...

  • gateway 0

    Manages Envoy Proxy as a standalone or Kubernetes-based application gateway

  • opentelemetry-go 0

    OpenTelemetry Go API and SDK

  • envoy 0

    C++ front/service proxy

  • website-1 0

    Kubernetes website and documentation repo:

More on GitHub
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • [上海][2014年10月21日] 2014 年 10 月 周中聚会 at October 15, 2014

    :plus1:

  • RubyConf China 2014 早鸟票优惠延长至 10 月 10 日,主题公布 at October 15, 2014

    @jasl 问下,周日什么时候结束?打算买周日的车票回来

  • [广州][2014年10月25日] GZRUBY 第 20 次聚会 - 15:00 (已更新场地信息) at October 11, 2014

    #12 楼 @Martin91 #13 楼 @allenfantasy 北京见

  • [广州][2014年10月25日] GZRUBY 第 20 次聚会 - 15:00 (已更新场地信息) at October 11, 2014

    顶!!

  • 程序员的 Burnout 与 Depression 抑郁症 at October 09, 2014

    加油!! :plus1:

  • Rails /lib 目录为什么不放在 app 下面? at October 03, 2014

    #10 楼 @linjunhalida 不一定吧。不然 devise 的 current_user 岂不是只能在 controller 里或者 view 里用了?rails 提供了helper_method让 controller 里的方法能够在 view 里用。

  • Shellshock 第三弹? at September 28, 2014

    还有 CVE-2014-7186 和 CVE-2014-7187 http://en.wikipedia.org/wiki/Shellshock_(software_bug)#CVE-2014-7186_vulnerability_details (原链接拷过来格式会乱)

  • 【已更新】ShellShock 漏洞及 OS X 紧急修复方法 at September 28, 2014

    亲,更新一下你的帖子吧。。又有 CVE-2014-7186 和 CVE-2014-7187 了, http://en.wikipedia.org/wiki/Shellshock_(software_bug)#CVE-2014-7186_vulnerability_details (贴成链接的话,格式会乱)。应该还是升级 bash 就行了

  • 【Shellshock 更新】CVE-2014-7169 Bash 漏洞 at September 27, 2014

    #1 楼 @PengEdy 好吧,你睡得比我还晚。。

  • 计时攻击原理以及 Rails 对应的防范 at September 26, 2014

    刚看到这个帖子 :plus1:

  • 【已更新】ShellShock 漏洞及 OS X 紧急修复方法 at September 25, 2014

    不过这个是不完全修复,除了这个,还要注意CVE-2014-7169,但这个目前好像还没有好的 patch,有个 proposed 的 patch,应该之后打了这个就好了 https://launchpad.net/~ubuntu-security-proposed/+archive/ubuntu/ppa/+packages 具体可以参考 https://access.redhat.com/articles/1200223

  • 交互式 rebase at September 19, 2014

    #3 楼 @hiveer 你最好可以说一下,你当前是什么分支,这个分支是基于哪个分支分出来的,然后做了几个提交?

  • [上海][2014年9月20日] 搬了新办公室,这周六 Strikingly 开放日 at September 19, 2014

    冲着杯子也得去啊。。

  • 交互式 rebase at September 19, 2014

    一个是基于 master 的那个最新的 commit,一个是基于倒数第三个的

  • 入坑 Elixir, 想做一个关于 Elixir 的论坛有人感兴趣吗? at September 17, 2014

    elixir 写吧

  • [上海][2014年9月16日] 2014 年 9 月 周中聚会 at September 16, 2014

    今晚要加班,应该只能遥望支持了!

  • [上海][2014年9月16日] 2014 年 9 月 周中聚会 at September 16, 2014

    #16 楼 @gene_wu 你在美国待到什么时候啊?

  • 我用 Sketch 做的简历和其它临摹. at September 14, 2014

    icon 画的很好啊!!

  • 我用 Sketch 做的简历和其它临摹. at September 14, 2014

    来上海吗?

  • Barcelona Ruby Conference 2014 introduction at September 14, 2014

    #2 楼 @yukihiro_matz 你需要换头像了 😏

  • [上海][2014年9月16日] 2014 年 9 月 周中聚会 at September 12, 2014

    :plus1:

  • ruby-china 首页已经好多天没有变动了,这个论坛现在这么冷清么。。。 at August 29, 2014

    大家能够潜心做技术,也是好事呀

  • do ... end 和 {} 不是通用的么? at August 29, 2014

    {}的优先级更高,所以会和它前边的先结合,而do end就不会有这种情况了:

    2.1.2 :002 > 1.upto 10 { |i| p i }
    SyntaxError: (irb):2: syntax error, unexpected '{', expecting end-of-input
    1.upto 10 { |i| p i }
               ^
    2.1.2 :003 > 1.upto 10 do |i| p i end
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
     => 1
    

    这跟&&优先级比and高是类似的:

    2.1.2 :004 > foo = "foo" && "bar" # <=> foo = ("foo" && "bar")
     => "bar"
    2.1.2 :005 > foo
     => "bar"
    2.1.2 :006 > foo = "foo" and "bar" # <=> (foo = "foo") and "bar"
     => "bar"
    2.1.2 :007 > foo
     => "foo"
    
  • 周末升级了 Yosemite beta 2 —— 一切安好 at August 25, 2014

    #6 楼 @kgen 这是高富帅的玩法。。

  • factory girl 的疑问 at August 22, 2014

    #2 楼 @crazyjin 应该是调用create :girl, boy: boy的时候会先创建一个 girl,自然也会创建 girl 关联的 boy,然后才会用传入的 boy 去覆盖。 (代码比较难看懂,没太仔细看,所以部分是猜测的,不过看样子应该是的)

  • factory girl 的疑问 at August 22, 2014

    在你定义

    factory :girl do
      boy # 定义了关联
      name 'saria'
    end
    

    之后,再去用create(:girl)创建一个 girl,就会自动创建一个 boy 了

  • Capistrano 部署的错误 at August 21, 2014

    #2 楼 @zicjin 会不会是 cap 的用户没有执行的权限?

  • Capistrano 部署的错误 at August 21, 2014

    service resque restart这个的错误吧?到服务器上手动执行看看?

  • 能买的键盘都烧过了,来个 ErgoDox 吧 at August 21, 2014

    我觉得我还是回头先找把 HHKB 用用看再说吧。。

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