Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
Rei
@Rei
管理员
第 1 位会员 / 2011-10-28

[email protected]
深圳
186 篇帖子 / 9147 条回帖
730 关注者
0 正在关注
11 收藏
中下水平 Rails 程序员
打赏作者
GitHub Public Repos
  • writings 941

    [Closed] Source code of writings.io

  • alipay 732

    Unofficial alipay ruby gem

  • code_campo 291

    [Closed] Source code of http://codecampo.com

  • asciidoctor-pdf-cjk-ka... 101

    **no longer maintained**

  • asciidoctor-htmlbook 31

    Asciidoctor HTMLBook is an Asciidoctor backend for converting AsciiDoc documents to HTMLBook docu...

  • material-ui 17

  • htmlrenderer 12

  • rich-text-editor 12

  • rails-chatgpt-demo 8

  • rails-app 7

    A Rails project template lets me start new projects quickly.

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • 工作学习时,老是玩手机咋办? at 2014年12月23日

    #4 楼 @nowherekai Dota2 支持 Linux 哦!

  • rails 数据关联的问题 at 2014年12月22日

    https://www.ruby-toolbox.com/categories/rails_tagging

    看源码学结构。

  • 这是咩? at 2014年12月22日

    您的连接不是私密连接

    攻击者可能会试图从 3wcoffee.com 窃取您的信息(例如:密码、通讯内容或信用卡信息)。

  • Rails 4.2 发布记 at 2014年12月22日

    嗷嗷!赞!

  • Rails 4.2 正式版已发布 at 2014年12月21日

    #28 楼 @moliliang 多谢~

  • Rails 4.2 正式版已发布 at 2014年12月20日

    https://selfstore.io/ 已升级。

  • 茶叶学院 HTTP 这本书已经翻译完毕 at 2014年12月20日

    #6 楼 @happypeter OK

  • 茶叶学院 HTTP 这本书已经翻译完毕 at 2014年12月20日

    #1 楼 @happypeter 收益的分成几个贡献者应该达成共识了吧?

  • 国外电商系统 跟 国内的一些差异 at 2014年12月19日

    中国:老板,不开发票能不能打折?

  • unicorn.sh 问题请教 at 2014年12月17日

    我写 init.d 得出的经验是不要写 init.d http://chloerei.com/2014/12/15/foreman/

    不过这不能解决楼主的问题。

  • Shopify 原理 at 2014年12月16日

    #18 楼 @luffycn 如果一个用户管理多个店铺呢?

  • 如何一个 VPS 上跑多个 Rails Application at 2014年12月15日

    #14 楼 @springwq a duplicate default server for 0.0.0.0:80

  • 如何一个 VPS 上跑多个 Rails Application at 2014年12月15日

    #12 楼 @springwq 可以写在同一个文件,也可以分开多个。

  • 我勒个去,Matz 大叔的新语言 Streem 竟然没人讲讲! at 2014年12月15日

    一年 Steam 经验。

  • 谷歌能用了! at 2014年12月15日

    http://v2ex.com/go/monthly

  • gem 目录下软件删除问题 at 2014年12月15日

    再试试 rvm cleanup

  • gem 目录下软件删除问题 at 2014年12月15日

    为什么不用 rvm uninstall/remove?

  • 在这种出现 routes 冲突时大家会怎样做呢? at 2014年12月15日

    我惯用的是 ~:username。

    我也好奇无前缀的网站要怎么解决用户名冲突:

    Github 只有不活动用户会被回收 https://help.github.com/articles/name-squatting-policy/

    Twitter: We reserve the right at all times (but will not have an obligation) to remove or refuse to distribute any Content on the Services, to suspend or terminate users, and to reclaim usernames without liability to you. https://twitter.com/tos

    Facebook: 如果您为您的帐户或主页选择了一个用户名或类似的标识符,我们将保留在适当的时候将其删除或回收的权利(例如某商标所有人投诉用户名与用户的实际名字相去甚远)。 https://www.facebook.com/legal/terms

  • 一个新轮子 at 2014年12月15日

    我现在更偏向针对云储存定制写逻辑。例如 S3 直接上传,七牛的图片裁剪和多媒体支持,多后端的上传库考虑的情况太多反而有些不顺手。

  • Shopify 原理 at 2014年12月15日

    就是共用一个数据库的,逻辑独立。

  • 我勒个去,Matz 大叔的新语言 Streem 竟然没人讲讲! at 2014年12月15日

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

  • 如何选择部署工具 Capistrano 还是 Mina ? at 2014年12月15日

    进程管理我推荐用 foreman 导出系统管理配置(Ubuntu 是 Upstart)

    Managing and monitoring your Ruby application with Foreman and Upstart http://michael.vanrooijen.io/articles/2011/06/08-managing-and-monitoring-your-ruby-application-with-foreman-and-upstart/

  • 如何一个 VPS 上跑多个 Rails Application at 2014年12月15日

    #6 楼 @alixiaomiao 好,加上了。

  • 如何一个 VPS 上跑多个 Rails Application at 2014年12月14日

    #3 楼 @springwq 这就要用 nginx 的 upstream 了。

    upstream site-a {
      server 127.0.0.1:5000; // 假设 site-a 开了一个进程监听 5000
    }
    
    upstream site-b {
      server 127.0.0.1:6000; // 假设 site-b 开了一个进程监听 6000
    }
    
    server {
        listen 80;
        server_name site-a.com;
        root /var/www/site-a.com/current/public;
        try_files $uri/index.html $uri.html $uri @site-a;
    
        location @site-a {
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_set_header Host $http_host;
            proxy_redirect off;
            proxy_pass http://site-a;
       }
    }
    
    server {
        listen 80;
        server_name site-b.com;
        root /var/www/site-b.com/current/public;
        try_files $uri/index.html $uri.html $uri @site-b;
    
        location @site-b {
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_set_header Host $http_host;
            proxy_redirect off;
            proxy_pass http://site-b;
       }
    }
    

    thin 进程启动要另外管理。

  • 如何一个 VPS 上跑多个 Rails Application at 2014年12月14日
    server {
        listen 80;
        server_name site-a.com;
        root /var/www/site-a.com/current/public;
        passenger_enabled on;
    }
    
    server {
        listen 80;
        server_name site-b.com;
        root /var/www/site-b.com/current/public;
        passenger_enabled on;
    }
    
  • twitter 风格好友系统中黑名单功能如何设计 at 2014年12月11日

    新增一个黑名单表。

  • 北京 rubyconf 2014 的视频现在还没有放出来呀? at 2014年12月09日

    以后还是自录吧。

  • 非恶意检测 at 2014年12月09日

    #4 楼 @alsotang 我用我想到的注入方式试了试是无效了,如果还有可以发我邮箱,避免真空期被利用。感谢你的贡献。

  • 非恶意检测 at 2014年12月09日

    #4 楼 @alsotang 部署了,你再试试?

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