Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
leslie
@googya
VIP
NO. 60 / 2011-11-11

武汉
23 Topics / 564 Replies
13 Followers
2 Following
7 Favorites
不自重者取辱, 不自长者取祸
GitHub Public Repos
  • dotfile 1

    my own vim configuration

  • pullword 1

    A Crystal package for pullword

  • grow_together 1

  • gatsby-blog 0

    基于 gatsby 的博客

  • ocserv-docker 0

    用于初始化 ocserv 的 Dockfile 脚本

  • exchange-core 0

    Ultra-fast exchange engine

  • ocelotter 0

    An experiment to implement a simple JVM in Rust

  • public_files 0

  • build-bitcoin-in-rust 0

  • tailwindcss-rails 0

More on GitHub
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • 这次升级 Mavericks 的体验就是 “屎” 啊 at November 02, 2013

    其他都好,除了感觉系统变得巨慢之外

  • RubyConfChina 2013 幻灯片汇集 at October 31, 2013

    @luikore 的那张红钻被啃的图太有❤️了

  • ruby 中的 Thread at October 30, 2013

    多线程都已经很传统了。。哈哈

  • 关于 rails 找工作的疑问 at October 26, 2013

    搞 java 吧,那才是正道。。

  • OS X Mavericks 系统使用的开源组件列表 at October 25, 2013

    #4 楼 @cassiuschen 干嘛要卸?

  • 包子的极限 at October 24, 2013
     包子们 = [
        {'馅' => nil},
        {'馅' => '荠菜'},
        {'馅' => '猪肉'},
        {'馅' => '豆沙'}
    ]
    
    包子们.each do |包|
        case 包['馅']
        when nil
            puts "你这个馒头, 回来"
        else 
          puts "你是个包子, 馅 #{包['馅']}"
        end
    end
    
    
  • mechanize 模拟登陆 126 邮箱 at October 24, 2013

    #4 楼 @Star 进去之后,还有个跳转的过程,还得来一遍。。。你注意看返回的内容

  • mechanize 模拟登陆 126 邮箱 at October 22, 2013

    这种问题。。。呃。。。太难了

    刚才看了下,完全不知道网易在做什么。。。

    换个进入的地址试试:

    http://reg.163.com/login.jsp?type=1&product=mail126&url=http://entry.mail.126.com/cgi/ntesdoor?hid%3D10010102%26lightweight%3D1%26language%3D0%26style%3D-1

  • 有人同时用 rvm 和 nvm 么? at October 16, 2013

    @larryzhao 之前用 rvm 切换版本的时候确实是有问题,不过将 rvm 放到 path 开头之后就没问题了。。。

    设置 path 的时候,也没什么特别的呀,

    就是 bash_profile 的最后这样写的

    [[ -s /Users/leslie/.nvm/nvm.sh ]] && . /Users/leslie/.nvm/nvm.sh # This loads NVM
    
    [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
    
  • @avdi 说, Ruby 社区越来越趋于保守了 at October 16, 2013

    #1 楼 @nightire 哈哈,前面是重点啊,不过,后半句 由 后面的同学补充了的

  • 有人同时用 rvm 和 nvm 么? at October 15, 2013

    @larryzhao 不会,但仍然没有问题

    ~$ nvm ls

    v0.10.17 v0.11.7 current: v0.11.7 default -> 0.10.17 (-> v0.10.17) ~$ ~$ echo $PATH /Users/leslie/.rvm/gems/ruby-1.9.3-p448/bin:/Users/leslie/.rvm/gems/ruby-1.9.3-p448@global/bin:/Users/leslie/.rvm/rubies/ruby-1.9.3-p448/bin:/Users/leslie/.rvm/bin:/Applications/calibre.app/Contents/MacOS:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/MacGPG2/bin:/Users/leslie/.nvm/v0.11.7/bin: ~$ ~$ ~$ nvm use 0.10.17 Now using node v0.10.17 ~$ ~$ ~$ echo $PATH /Users/leslie/.rvm/gems/ruby-1.9.3-p448/bin:/Users/leslie/.rvm/gems/ruby-1.9.3-p448@global/bin:/Users/leslie/.rvm/rubies/ruby-1.9.3-p448/bin:/Users/leslie/.rvm/bin:/Applications/calibre.app/Contents/MacOS:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/MacGPG2/bin:/Users/leslie/.nvm/v0.10.17/bin: ~$

  • 关于 Ruby 线程之间控制的一个问题 at October 15, 2013

    用一个 Queue 不行么?

  • 有人同时用 rvm 和 nvm 么? at October 15, 2013

    /Users/leslie/.rvm/gems/ruby-1.9.3-p448/bin:/Users/leslie/.rvm/gems/ruby-1.9.3-p448@global/bin:/Users/leslie/.rvm/rubies/ruby-1.9.3-p448/bin:/Users/leslie/.rvm/bin:/Applications/calibre.app/Contents/MacOS:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/MacGPG2/bin:/Users/leslie/.nvm/v0.10.7/bin: 这个没有什么特别的吧。。。貌似 nvm 没有争抢

  • 有人同时用 rvm 和 nvm 么? at October 15, 2013

    我的能和平共处?

    ~ $ nvm ls

    v0.10.17 v0.11.5 v0.11.6 current: v0.10.17 default -> 0.10.17 (-> v0.10.17) ~ $ rvm list

    rvm rubies

    jruby-1.7.5 [ x86_64 ] mruby-head [ Usage: /Users/leslie/.rvm/rubies/mruby-head/bin/ruby [switches] programfile switches: -b load and execute RiteBinary (mrb) file -c check syntax only -e 'command' one line of script -v print version number, then run in verbose mode --verbose run in verbose mode --version print the version --copyright print the copyright ] rbx-2.0.0 [ x86_64 ] =* ruby-1.9.3-p448 [ x86_64 ] ruby-2.0.0-p247 [ x86_64 ] ruby-head [ x86_64 ]

    => - current

    =* - current && default

    * - default

  • 又发现了个以前不知道的 Ruby 语法诶 at October 13, 2013

    mark 一下:

    3.2 (master) $ ack "Module.new" | ack "&Proc.new" activerecord/lib/active_record/associations/builder/collection_association.rb:27: extension = Module.new(&Proc.new)

    Proc.new{ |name| "Hello, " + name  }.call 'Leslie'
    
  • Groupon 抛弃 Rails at October 12, 2013

    #33 楼 @jeff_duan 个人口味问题,想什么用什么,但是到了一个团队,考量的东西就多了,选择就不能只依个人喜好

  • Groupon 抛弃 Rails at October 11, 2013

    #11 楼 @lgn21st 到这个程度,如果不能很好的协调的话(没有相对应的人),用 rails 也不太合适了。

  • Ruby 社区这么固执偏见不喜接受新事物吗?Go 的两个文章引发争论的感想 at September 29, 2013

    @lgn21st 开贴出来讨论一下?

  • Ruby 社区这么固执偏见不喜接受新事物吗?Go 的两个文章引发争论的感想 at September 29, 2013

    楼主对咱 Ruby 社区还是了解得不够呀。

    有人提出反对意见怎么就是说不喜欢接受新事物了呢,还以点带面上升到整个社区了?一个东西出来了,有人喜欢有人不喜欢不是很平常么

  • Rust 0.8 来了, 1.0 还会远吗? at September 28, 2013

    🍺 /usr/local/Cellar/rust/0.8: 35 files, 94M, built in 39.5 minutes 40 分钟搞定。。

  • [UCloud 开源接力]#[email protected]#19wu at September 24, 2013

    小米盒子

  • [UCloud 开源接力]#[email protected]#Ember Todo at September 23, 2013

    抢楼

  • [UCloud 开源接力]#[email protected]#19wu at September 23, 2013

    抢楼

  • Ruby 2.1 - 冰冻字符串字面量 at September 14, 2013

    不知怎滴,看到标题,我联想起了这句话,Walking on water and developing software to specification are easy as long as both are frozen.

  • 用 vundle 来管理 vim 插件 at September 06, 2013

    vim 每次退出的时候,都留有上次编辑的内容,是不是要设置 term?

  • Apache Benchmark 的使用的个人浅薄经验 at September 04, 2013

    #19 楼 @luikore 嗯,刚才看了它的 issues 之后,有人也提供了类似的写法了。。https://github.com/wg/wrk/issues/24

  • Apache Benchmark 的使用的个人浅薄经验 at September 04, 2013

    #4 楼 @luikore wrk 的文档太少了点吧。。。post 的时候 参数该怎么写都不说明一下

  • 怎样勾引 C/C++ 的朋友,来学习 Ruby at August 27, 2013

    楼主想把朋友往坑里带。。。。

  • 周末打算写个关于测试的博文,大家想知道些什么? at August 24, 2013

    * 测试的基本步骤 * 重点测试哪些内容?

  • 感觉 rails 还是束手束脚的,可能是没深入学进去吧 at August 23, 2013

    不明白 lz 在说神马

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