Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
李华顺
@huacnlee
Admin
NO. 2 / 2011-10-28

[email protected]
长桥证券 (Longbridge)
成都
502 Topics / 9058 Replies
959 Followers
53 Following
105 Favorites
Reward
GitHub Public Repos
  • autocorrect 1410

    A linter and formatter to help you to improve copywriting, correct spaces, words, and punctuation...

  • rails-settings-cached 1101

    Global settings for your Rails application.

  • rucaptcha 696

    Captcha Gem for Rails, which generates captcha image by Rust.

  • zed-theme-macos-classic 95

    A macOS native style theme for Zed, let it same like native app in macOS.

  • vscode-macos-classic.t... 21

    macOS Classic theme for Visual Studio Code

  • zed-extension-action 19

    GitHub Action for automatically bump Zed Extensions version after a release.

  • autocorrect-action 11

    GitHub action for use AutoCorrect as lint

  • zed-autocorrect 6

    AutoCorrect for Zed

  • gpui-workspace 4

    Dock layout UI component for GPUI, that extracted from Zed project.

  • zed-lalrpop 3

    LALRPOP parser grammar support for Zed.

More on GitHub
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • d at April 29, 2015

    用完删掉,不然就和大家统一一下 你不可避免会 require 的

  • 阿里云 OSS at April 29, 2015

    如果不需要 carrierwave 的话,可以用它

    https://github.com/mangege/aliyun-oss-sdk-for-ruby

  • 精华帖怎么到 25 页后面就没内容,是不是 100 分页是假的啊,实际只有 25 页,或者其他 bug? at April 28, 2015

    是的,写死的一个值,那个不重要

  • 阿里云 OSS at April 28, 2015

    carrierwave-aliyun

  • Nginx 用作负载均衡配置问题 at April 28, 2015

    还有可能你启动 Nginx 载入的文件根本就不是现在修改这里的。

  • Nginx 用作负载均衡配置问题 at April 28, 2015

    /etc/nginx/conf.d/ 这里呢?

  • Nginx 用作负载均衡配置问题 at April 28, 2015

    检查,你肯定还有其他的 Nginx server 节点的配置信息存在

  • Nginx 用作负载均衡配置问题 at April 28, 2015

    另外的问题!

    192.241.225.37;
    192.241.207.103;
    

    这两个机器 80 端口跑的什么 Nginx?在 107.170.216.243 这台机器上面执行:

    curl http://192.241.225.37
    

    把结果发出来看看,我估计那边返回的就是 Nginx welcome 那个页面

  • Nginx 用作负载均衡配置问题 at April 28, 2015

    Nginx 重启了么,重启前最好 用 configtest 命令检测一下是否重启成功。

    sudo /etc/init.d/nginx configtest 
    
  • 用了 Ruby 以后,发现瓶颈已不在数据库,而在语言 at April 28, 2015

    顺带提一下,Ruby 里面正确解决 Nested Set 的场景可以用这个东西来完美处理:

    https://github.com/collectiveidea/awesome_nested_set

  • 用了 Ruby 以后,发现瓶颈已不在数据库,而在语言 at April 28, 2015

    #19 楼 @wuwx 黑得漂亮!

  • Java 做自动化测试,是选择 Java 版的 cucumber(自动化测试框架),还是用 jruby? at April 28, 2015

    Java 就用 Java 的测试方案吧,有好多的。

  • 那些不常更改的内容,你们怎么设置的? at April 28, 2015

    不要光说不练,你试试啊

  • Nginx 用作负载均衡配置问题 at April 28, 2015

    另外,这个 Server 之前还有别的 Nginx server { .. } 之类的配置么?有的话,先去掉

  • Nginx 用作负载均衡配置问题 at April 28, 2015

    看我 #2 楼 的连接的内容,那里的配置都是必要的。

  • 那些不常更改的内容,你们怎么设置的? at April 28, 2015

    #13 楼 @chairy11 第一个问题,看 Ruby China 的 Page 功能 第二个问题,你一定没看我贴的连接,那就是你想要的

  • Nginx 用作负载均衡配置问题 at April 28, 2015

    按我给那个连接里面,一楼我的回复内容对一下你的配置,看看差别在哪里

    按你说的看到 Nginx 欢迎页面,应该是在 你贴出来这个 server 节点之前还有其他的 server 节点,所以前面的抢先了。

  • Nginx 用作负载均衡配置问题 at April 28, 2015

    load balancer?你说 Nginx?不要用那么多没用的名词,怎么访问的,用 IP 那个 IP,Nginx 上面 server_name 配置的那个 IP?Nginx 配置贴出来,不要修改成什么 ip_of_a 之类的,把实际内容贴出来。

  • [成都] Active Network 寻觅 4 位 Ruby on Rails 攻城狮 / 程序媛 at April 28, 2015

    Ruby China 项目的最早提交者 @griffinqiu 去了这里,做前端工程师 😄

  • Nginx 用作负载均衡配置问题 at April 28, 2015
    least_conn;
    keepalive 20;
    

    在你不熟悉之前这两个先去掉,减少坑

    看这贴:https://ruby-china.org/topics/471

  • Nginx 用作负载均衡配置问题 at April 28, 2015

    什么表现?什么错误

  • 那些不常更改的内容,你们怎么设置的? at April 28, 2015

    静态页面做一个 Page 表 内容少的设置项用 https://github.com/huacnlee/rails-settings-cached

    例如

    Setting.admin_password = 'supersecret'
    Setting.date_format    = '%m %d, %Y'
    Setting.cocktails      = ['Martini', 'Screwdriver', 'White Russian']
    Setting.foo            = 123
    Setting.credentials    = { :username => 'tom', :password => 'secret' }
    
  • 有没有可能自建一个 NewRelic? at April 27, 2015

    https://ruby-china.org/topics/23470

    可以满足不少需求了

  • 怎样查看 Ruby 提供的方法的用法 at April 27, 2015

    http://rdoc.info

  • JSON VS Protobuf at April 27, 2015

    https://gist.github.com/joshsz/11299196

    Running at 10000 times
                   user     system      total        real
    msgpack    0.230000   0.010000   0.240000 (  0.242138)
    json       0.590000   0.030000   0.620000 (  0.630611)
    protobuf   3.170000   0.040000   3.210000 (  3.256336)
     msgpack: 5.20 mb
        json: 9.78 mb
    protobuf: 2.59 mb
     msgpack: 694k allocs
        json: 1240k allocs
    protobuf: 2608k allocs
    
  • JSON VS Protobuf at April 27, 2015

    #4 楼 @yueyoum 有的,不过没找到,没记错的话大约 10%

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