Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
@raecoo
VIP
NO. 43 / 2011-11-06

[email protected]
3 Topics / 134 Replies
3 Followers
0 Following
8 Favorites
No GitHub.
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • 有没有人和我一样经常有难以抑制的聊天需求... at September 13, 2016

    Stackoverflow, Quora, HN 上有你想要的一切,技能,学识,思考与深度交流。如果再有个人兴趣爱好的话,我相信你的时间是负数

  • [上海] 巧思科技诚聘后端服务工程师/架构师 at May 27, 2016

    相当细致的产品,看了就有用的欲望。前端的水平真赞。

  • 推荐一个 mina 的插件 mina-logs 给大家 at May 16, 2016

    #11 楼 @lyfi2003 :) 引用的文件确实是没仔细看,是不对的。已修正。 deploy.rb 中确实加了点。

    namespace :logs do
      desc "Shows Rails logs."
      task :app do
        queue %[cd #{deploy_to!} && tail -f #{shared_path}/log/production.log]
      end
    
      desc "Show Sidekiq logs"
      task :sidekiq do
        queue %[cd #{deploy_to!} && tail -f #{shared_path}/log/sidekiq.log]
      end
    
      desc "Show Unicorn error logs"
      task :unicorn_error do
        queue %[cd #{deploy_to!} && tail -f #{shared_path}/log/unicorn.error.log]
      end
    
      desc "Show Unicorn access logs"
      task :unicorn_access do
        queue %[cd #{deploy_to!} && tail -f #{shared_path}/log/unicorn.access.log]
      end
    end
    

    BTW: 大清早的火气还挺大,讨论问题而已,言语的攻击性不要那么强。

  • 推荐一个 mina 的插件 mina-logs 给大家 at May 16, 2016

    #8 楼 @lyfi2003 不确定你在哪个"官方"看的,我想如果你在 mina gem task 里去找 unicorn 的显然不太对 :)

    https://github.com/scarfacedeb/mina-unicorn/blob/master/lib/mina/unicorn/tasks.rb Updated: 引用链接不正确 https://github.com/Mic92/mina-sidekiq/blob/master/lib/mina_sidekiq/tasks.rb#L129

    当然 deploy.rb 中少不了需要

    require 'mina_sidekiq/tasks'
    require 'mina/unicorn'
    
  • 推荐一个 mina 的插件 mina-logs 给大家 at May 16, 2016

    #8 楼 @lyfi2003 很确定整个 Gemfile 里与 mina 有关的就这三行,mina -T 下其实能用的东西其实不少

  • 推荐一个 mina 的插件 mina-logs 给大家 at May 16, 2016
    gem 'mina'
    gem 'mina-sidekiq', :require => false
    gem 'mina-unicorn', :require => false
    

    关联 gem 自带的不够用?

    mina log # Tail log from server mina logs:app # Shows Rails logs mina logs:sidekiq # Show Sidekiq logs mina logs:unicorn_access # Show Unicorn access logs mina logs:unicorn_error # Show Unicorn error logs

  • Rails 中 multiple select 选择框的参数传递问题 [已解决] at April 17, 2016

    #10 楼 @sixther 这个 jQuery library 有各种事件的钩子,随便你喜欢怎么加

  • Rails 中 multiple select 选择框的参数传递问题 [已解决] at April 17, 2016

    https://github.com/lou/multi-select/

  • 如何实现两个下拉框之间来回拖动?[已解决] at April 17, 2016

    https://github.com/lou/multi-select (official site http://loudev.com) 三行代码搞定

  • 用 3 行写一个漂亮点的 表达含义 “我开心就好” 的代码 at April 16, 2016
    if self.happy?
      continue
    end
    
  • 程序员健身 App 有木有需求? at April 03, 2016

    健身完全是个 self driver 型的事,外因促成此事推进三分钟热度的机率会更高些

  • 码农在北上广买的房子现在能卖掉吗? at March 14, 2016

    北上广的房子还愁卖不掉?除非你是特别畸角旮旯的地方。

  • 大家是怎么解决 “脖子疼” 这个问题的 at February 06, 2016

    随便选择一种适合你的运动,持之以恒的做下去,你会发现在体能,体态,心态,精神状态上都受益良多,甚至改变你对生活的观念。 推荐看看 <运动改造大脑> 这本书。

    运动改造大脑

  • PG 上线升级修好啦! at January 26, 2016

    盖楼

  • 踏入程序猿圈子后,作息正常的还有多少? at January 12, 2016

    #43 楼 @ruby_xiaojie lol, 乡下的房子谁都买的起,那你岂不是有很多大腿可抱。 😄

  • 踏入程序猿圈子后,作息正常的还有多少? at January 12, 2016

    #39 楼 @flowerwrong 你可以试试早上 5:30 出门跑步 #41 楼 @ruby_xiaojie 小区里跑步能怎样?何况一般体格的也未必是我吃亏

    按摩,推拿都只是缓解,治标不治本,改善体态才是一劳永逸的办法,只是打破现有习惯的过程会比较痛苦也比较慢

  • 踏入程序猿圈子后,作息正常的还有多少? at January 12, 2016

    晨跑 晨跑结束时的天空。

    10:30 ~ 11 点睡觉,5:30 起床,每天会有多几小时的感觉。跑步,GYM, 瑜珈各有不同的体验,选择适合自己的坚持下去,3 个月身体就会有直接的反馈。

    囧,今早跑完小丁丁差点冻掉了。. .

  • 含有\uxxxx 这种的字符串如果打印出中文 at December 12, 2015

    install readline lib first

  • Toughtbot 推出的 Rails 应用后台工具: administrate at November 05, 2015

    ActiveAdmin 会更强大些

  • 表单提交 Submit 按钮没反应,直到刷新 at November 04, 2015

    turbolinks?

  • 如何优雅的用 js 动态添加 html 代码? at June 02, 2015
    # Gemfile
    gem 'liquid'
    gem 'settingslogic'
    
    # settingslogic config file
    app.yml
      template: |
        blabla.... {{name}}... blabla... {{email}}
    
    # controller
    template = Liquid::Template.parse(Settings.template)
    result = template.render('name' => '...', 'email'  => '...')
    
    
  • [remote] 寻 Ruby Expert 加入 Startup at February 01, 2015

    #15 楼 @Ddl1st :-)

  • [remote] 寻 Ruby Expert 加入 Startup at January 29, 2015

    #11 楼 @sun528 此 ID 背后是谁?小孙?

  • [remote] 寻 Ruby Expert 加入 Startup at January 26, 2015

    #5 楼 @lgn21st 多谢

    有兴趣的请在回复邮件前 仔细 确认你看懂了相应的要求,特别是 请提供一切你认为可以证明满足以上条件的信息。 以及 合则约见

  • [remote] 寻 Ruby Expert 加入 Startup at January 26, 2015

    #1 楼 @Victor 😓 终于。. .
    #3 楼 @liwei78 RT 所写,合则约见

    貌似最近 Remote 又降温了不少。. .

  • [goworker] the other background worker at January 16, 2015

    #1 楼 @winnie 喜欢就好

  • Rails web + phonegap android app 用户认证怎么做? at December 03, 2014

    https://github.com/gonzalo-bulnes/simple_token_authentication

  • Rails 3 与 Rails 4 中 try 方法的不同 at November 20, 2014

    我能说这个是 Rails 的 bug 改进吗?

  • [已购买] 想买个 MBP,怎么购买比较便宜呀? at August 29, 2014

    认识 Apple 的人也只有 8.5 折 :)

  • 为了接外包, 打算注册公司, 要不要选择离岸公司呢? 交税又是一个什么样的情况, 甲方是国企, 会有影响吗? at May 13, 2014

    如果只是为了当前这单可以不需要注册公司,拿着合同到国税去直接开票,3% 的税金,前提是你本年度未曾在国税开具其他发票,且告知税务你并不常有类似"行为". 能不能开的出来取决于你的"态度"是否能让对方感觉你确实只是偶发现象。但他们仍然会以各种说法说服你注册公司方便以后向你征税,你只需要简单的配合称"如果业务量多了会积极按国家政策注册云云。. . . . . "即可。

    这个方法仅限于一年次数不超过 2 次的偶发现象,切记!特别是 IT 类的合同,他们很喜欢这种涉及环节简单且金额大的合同持有人,肥肉谁都想吃不是,祝好运。

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