Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
chuanshuo
@lilijreey
Member
NO. 24996 / 2016-02-15

78 Topics / 326 Replies
12 Followers
1 Following
0 Favorites
GitHub Public Repos
  • Linux-learning 14

    Personal learn Linux system proc notes

  • .vim 2

    vim personal config

  • flex 2

    flex and bison and compiler knolage

  • easy_socket 1

    X86-64 Linux use tcp socket library, make networking programming easy and effective.

  • lua-note 1

    Personal learnnig Lua Note

  • explore_linux_vfs 1

    explore linux vfs

  • OS-D 1

    An X86-64 OS kernel powerd by D.

  • class 0

    上课实例代码

  • prometheus 0

    The Prometheus monitoring system and time series database.

  • netpeek 0

    2-4 layer network traffic peek, learn the TCP/IP protocol

More on GitHub
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • Ruby 2.3 new feature 之一: 多行字符串更优美的写法 at July 25, 2016

    问下<< 和 <<- 的区别是什么? 还有下面这个代码的语义能否讲解一下

    def print_block(*args)
      puts <<-TEXT % args
    -------------------- block %s
      target: %s
       data: '%s' + %s (nonce)
       found: %s
    
      time:
        took: %f
      verify: %f
    
      TEXT
    end
    
    
  • 为什么有人会同时使用 EmberJs 和 JSX 一起? at July 19, 2016

    #1 楼 @yzdel2000 弱弱的问一些,使用 Ract 比使用 Rails 的模板方便吗,或者有什么较大优势,比起后台渲染

  • 又一篇讲为什么从 Python (文中的观点也可以适用于 Ruby) 迁移到 Erlang 的文章 at July 17, 2016

    #60 楼 @nouse 如果是重 I/O 的实时应用,Erlang 是不错的选择,也可以说是一个很先进的选择

  • 又一篇讲为什么从 Python (文中的观点也可以适用于 Ruby) 迁移到 Erlang 的文章 at July 15, 2016

    一个资深 erlang 开发弱弱的问一句,HTTP/2 和 Ruby/Erlang 有毛关系,为何会扯到 Erlang/Ruby 上?

  • 如何给 Rack 应用指定 Web Server at July 07, 2016

    #8 楼 @alvin2ye 是 Sinatra 把,但是我不是啊

  • 如何给 Rack 应用指定 Web Server at July 06, 2016

    #6 楼 @alvin2ye 不是 Rails app, 是一个 Rack App, 你是什么意思?

  • 如何给 Rack 应用指定 Web Server at July 06, 2016

    #4 楼 @mimosa 什么意思?我招你的添加了,还是不行

  • 如何给 Rack 应用指定 Web Server at July 06, 2016

    #1 楼 @huacnlee 大神你好😁 我使用 thin start -R config.ru 启动 middleman, 但是得到了一个依赖问题, (git-master):~/jk/stat$ thin start -R config.ru WARN: Unresolved specs during Gem::Specification.reset: parallel (>= 0) activesupport (>= 3.1, ~> 4.2) nokogiri (>= 1.3.3, ~> 1.3) mime-types (>= 1.16) sass (>= 3.4) WARN: Clearing out unresolved specs. Please report a bug if this causes problems. /home/god/.rvm/gems/ruby-2.2.3/gems/bundler-1.11.2/lib/bundler/runtime.rb:34:in `block in setup': You have already activated concurrent-ruby 1.0.0, but your Gem 0.9.2

    我本机安装有 concurrent-ruby 1.0.0 和 0.9.2 版本,这是什么情况?

  • 如何给 Rack 应用指定 Web Server at July 05, 2016

    #1 楼 @huacnlee Thanks

  • 请问在 MRI 中,为何会用到 pthread 线程库? at July 05, 2016

    #2 楼 @nowherekai Thanks 我在看看

  • 李笑来老师的 “全栈工程师培训营” 开始报名 at July 03, 2016

    五万,,,开玩笑吗。我培训大学生600个课时,讲得都是最难的操作系统,C++,数据结构才8k 你技术有多牛逼,不见得,年薪有100W没。 刚看了一下培训内容,笑尿了,2各月还 FullStack, 你都不觉的这有点自欺欺人吗 给你的对比参考下 http://www.qsknowledge.com/college/index.html 这些课程1W 都不到,600个课时。女老师咋了,又不是卖。开什么玩笑 5W.

  • [北京] [中关村] 云币网 技术搭档 40K 至 80K at July 02, 2016

    erlang 的优点不在于计算,而在于 IO

  • [西安] Ruby/Rails 线下聚会 at May 18, 2016

    搞个线下聚会呗。大家都认识一下。

  • Elixir 有人用吗? at April 20, 2016

    总体来说 Erlang 比 Elixir 更好。 个人感觉你又要函数,又要 OO,就用 scala

  • [西安] Ruby/Rails 线下聚会 at April 15, 2016

    #1 楼 @zlx_star 好多人,还有妹子

  • 如何独立开启 Ruby WebServer, 访问静态目录 at April 13, 2016

    @fsword 谢谢 参数的解释 Obviously, ruby is the normal Ruby interpreter. The -r switch requires a file in the load path, in this case Ruby’s lib directory. In this case, it’s loading a file called un.rb so that it looks like -run when taken as a whole. (It could be written as -r un as well.) This is similar to ubygems.rb which you may have seen as ruby -rubygems. That seems like an ugly solution, but it’s elegant in its own way. This naming hack is only really an option for files in Ruby itself, anyway. As you can see above, httpd is just a method, which is executed by -e. The DocumentRoot argument . is just taken as a standard argument using ARGV, which I found surprising. Finally, the port is set using the setup method, which in turn calls out to the built in OptionParser.

    http://www.benjaminoakes.com/2013/09/13/ruby-simple-http-server-minimalist-rake/

  • Agile Web Development with Rails 5 引进事宜 at April 13, 2016

    有电子版的吗?

  • Ruby 的分裂 at March 21, 2016

    #4 楼 @luikore 第一条个人觉得不是问题,都用 clang++ 编译。vim/emacas对C++的编写支持一点也不比c差. 其他两条学习了

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