Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
Deshi Xiao
@xds2000
VIP
NO. 202 / 2011-11-23

北京
70 Topics / 1107 Replies
29 Followers
0 Following
3 Favorites
follow me on twitter: xds2000
GitHub Public Repos
  • k8e 418

    K8E - Kubernetes Easy Engine

  • docker-for-production-... 66

    《容器技术生产实践指南》容器技术生产实践指南,收集百家之长,弘扬类似本草纲目之精神,把中国用户的开发经验积累汇集成册,以资借鉴

  • binance-bot 28

    qcat automate trading bot

  • cranfly 6

    Cloud Native Container Image Distribution mesh

  • conflux-remix 2

    remix based on Conlux Web

  • cilium 0

    eBPF-based Networking, Security, and Observability

  • ethtracking-bot 0

    feature exchange for eth tracking price.

  • README 0

    A pupil in the computer world.(Felix Fu)

  • conflux-rpc-mockserver 0

    conflux rpc api for openrpc format

  • k3s 0

    Lightweight Kubernetes

More on GitHub
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • 支持 wiki 的图片上传功能? at April 07, 2012

    觉的好,你就加一个看看。

  • 请教 Test::unit 下 sunspot 测试的问题 at April 07, 2012

    @davidqhr 我也没测试上面的代码,不过 include 到你需要测试 test case 里面跑跑看。

  • 请教 Test::unit 下 sunspot 测试的问题 at April 07, 2012
    module TestSunspot
      class << self
        attr_accessor :pid, :original_session, :stub_session, :server
    
        def setup
          TestSunspot.original_session = Sunspot.session
          Sunspot.session = TestSunspot.stub_session = Sunspot::Rails::StubSessionProxy.new(Sunspot.session)
        end
    
      end
      def self.included(klass)
        klass.instance_eval do
          def startup
            Sunspot.session = TestSunspot.original_session
            rd, wr = IO.pipe
            pid = fork do
              STDOUT.reopen(wr)
              STDERR.reopen(wr)
              TestSunspot.server ||= Sunspot::Rails::Server.new
              begin
                TestSunspot.server.run
              ensure
                wr.close
              end
            end
            TestSunspot.pid = pid
            ready = false
            until ready do
              ready = true if rd.gets =~ /Started\ SocketConnector/
              sleep 0.5
            end
            rd.close
          end
    
          def shutdown
            Sunspot.remove_all!
            Process.kill("HUP",TestSunspot.pid)
            Process.wait
            Sunspot.session = TestSunspot.stub_session
          end
        end
        def teardown
          Sunspot.remove_all!
        end
      end
    end
    
    

    参考: http://timcowlishaw.co.uk/post/3179661158/testing-sunspot-with-test-unit

  • 请教,如何缩短整体测试的运行时间? at April 07, 2012

    @ery 看你的技术框架同时有 factory_girl 和 fixtures,factory_girl 可以代替 fixtures。不清楚是笔误还是你公用这两个。

    大家都认为楼主机子太差,要不@ery 把主机配置放出来看看。

  • 浙江各城市 PM2.5 监测数据 at April 06, 2012

    @ashchan 没点城市链接看内页,也不错。

  • 浙江各城市 PM2.5 监测数据 at April 06, 2012

    @ashchan 可以使用 highcharts 来展现。

  • 个性化你的 Git Log 的输出格式 at April 05, 2012

    tig,tig

  • 大家说说自己使用云的规模和情况呗 at April 05, 2012

    国内云考虑吧 @ichord

  • [杭州] The Plant 招人 at April 05, 2012

    我顶。如果你不想去杭州,并且在北京,请看看我们的广告。

  • 大家说说自己使用云的规模和情况呗 at April 05, 2012

    玩玩我厂的 PaaS 吧,OpenShift

  • 大家说说自己使用云的规模和情况呗 at April 05, 2012

    新浪的云呢?sinaapp.com

  • 4 月 5 号,杭州 Ruby Tuesday at April 05, 2012

    我想去杭州~

  • 增加 travis-ci 集成测试功能,请 review 我的 commit at April 05, 2012

    8 min 52 sec,测试时间有点长。优化之路还挺长阿。

  • ruby-china install 出错,求指点。 at April 05, 2012

    你需要安装 Nodejs.

  • 从 0 开始学编程,请大家帮忙推荐些书吧 at April 04, 2012

    这里: http://ruby-china.org/wiki 现成的。

  • 大家怎么看这件事?Shopify 作者对 Shopqi 抄袭其页面的反应。 at April 04, 2012

    借此,我来说说开源,有几个原则: 1、有明确的 license 说明,这点 shopqi 是有的。 2、避免名字冲突,开源项目最忌讳重名,这有点挑衅的意思。这点 ShopQi 有点不地道。 3、商业模式直接复制,这是道德底线,shopQi 没有错,但我觉得已经触到了,没有错,但很多老外会很失望。解决办法是沟通沟通再沟通。

    我们做程序的应该保持必要的创新精神,即使有心改个颜色也是创新阿。ShopQi 这样的模式和创新工厂的模式是如出一辙,但我并不看好。

  • Rails 学习笔记:用思维导图来帮忙理清思路 at April 04, 2012

    500 错误后,出了那么多回帖。我到。

  • Rails 学习笔记:用思维导图来帮忙理清思路 at April 04, 2012

    这位小哥的思维脑图画的挺棒的。

  • Rails 学习笔记:用思维导图来帮忙理清思路 at April 04, 2012

    这位小哥的思维脑图画的挺棒的。

  • Rails 学习笔记:用思维导图来帮忙理清思路 at April 04, 2012

    这位小哥的思维脑图画的挺棒的。

  • Rails 学习笔记:用思维导图来帮忙理清思路 at April 04, 2012

    这位小哥的思维脑图画的挺棒的。

  • Rails try method changes at April 04, 2012

    崩溃。。

  • Ruby 纪念 T-Shirt 设计反馈 at April 04, 2012

    只要能定制社区别名,那就 OK 啦。I like the rubyist style. Kickstarter 方式的募集就可以。国内有这样的服务吗?

  • Essential Design Pattern 的讀者若漏信請注意 at April 04, 2012

    @xdite 有机会我通知你。

  • [北京] github:jobs 上的国内公司招聘 at April 03, 2012

    @Summic 我的意思不管大公司还是小公司,应该用心考虑如何招聘。要么规规矩矩,要么给点难题让人挑战。coding 没有错,只是用一道行为题来分流,让人感觉优质。啥子都知道选那个。最终让这道题成为摆设。

  • [北京] github:jobs 上的国内公司招聘 at April 02, 2012

    这家北京公司在招聘页正了一个测试。 问如何你有千万家产,你还会 happy 去 coding 吗?会还是不会。 我回答“不会”。这太正常了。但给我返回: “你可能很优秀,不过不是我们要找的类型,sorry.... 不过如果你觉得我们判断失误,也可以发邮件到geek#appwill.com申诉:)” 像这种搞怪的公司,有那个资深程序员会感兴趣呢?

  • Essential Design Pattern 的讀者若漏信請注意 at April 02, 2012

    @xdite 有机会来北京布道阿。

  • Patched ruby 1.9.3-p125 for 30% faster rails boot,最新版。 at April 02, 2012

    @bluecoda 学到了。也就 development 玩玩。生产环境还没有采用过。问,谁在生产环境用过这个 patch 阿?

  • ruby-china 程序上传到哪个目录? at April 02, 2012

    https://my.justhost.com/cgi/help/rails 这是你需要的信息吗?

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