Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
郭威
@xiaogui
高级会员
第 667 位会员 / 2012-01-04

17 篇帖子 / 571 条回帖
12 关注者
5 正在关注
118 收藏
GitHub Public Repos
  • cline 0

    Autonomous coding agent right in your IDE, capable of creating/editing files, executing commands,...

  • shaunthegeek.github.io 0

    sinkcup's blog

  • reader 0

    阅读3服务器版,桌面端,iOS可用。后端 Kotlin + Spring Boot + Vert.x + Coroutine ;前端 Vue.js + Element。麻烦点点star,关注一下...

  • hello 0

  • m4s-converter 0

    将bilibili缓存的m4s转成mp4(读PC端缓存目录)

  • InstantID 0

    InstantID : Zero-shot Identity-Preserving Generation in Seconds 🔥

  • cases 0

    中国裁判文书网本地搜索

  • DouyinLiveRecorder 0

    可循环值守和多人录制的直播录制软件,支持抖音、Tiktok、快手、虎牙、斗鱼、B站、小红书等平台直播录制,抓取多平台直播源地址,抖音无水印解析,快手无水印解析

  • clarity 0

    A behavioral analytics library that uses dom mutations and user interactions to generate aggregat...

  • gkd 0

    基于 无障碍 + 高级选择器 + 订阅规则 的自定义屏幕点击 Android APP

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • 有多少失业的 Ruby 开发 对未来没有什么打算? at 2023年08月17日

    国企可能还好点,公务员就不好说了,很多地方财政从疫情开始都不太好 😂

  • API 设计:你们是用 UUID 还是 HEX? at 2022年09月02日

    Hashids?

  • 对象存储服务(OSS)省钱建议 at 2022年04月23日

    视频文件倒腾过来,倒腾过去的,也挺麻烦

  • rvm 语法安装(被墙)问题求教 at 2022年04月22日

    感觉一般都在用 rbenv。

  • 我的远程办公 ~ at 2022年04月22日

    十分向往👍

  • 对象存储服务(OSS)省钱建议 at 2022年04月22日

    还是很方便的。

  • 对象存储服务(OSS)省钱建议 at 2022年04月22日

    如果使用阿里云 OSS,转码服务可以使用阿里云的“媒体处理 MPS”。

  • 在 Fly.io 部署 Rails 应用 at 2022年03月23日

    好嘞,部署成功了。 😄

  • 回流招聘 “血泪史” at 2022年03月22日

    “直播聊天室”这块公司在使用“腾讯即时通信 IM”。

    《实现直播群功能》 https://cloud.tencent.com/document/product/269/43002

  • 在 Fly.io 部署 Rails 应用 at 2022年03月22日

    原本 web 的 fly.toml 是这样

    [experimental]
      allowed_public_ports = []
      auto_rollback = true
    
    [[services]]
      http_checks = []
      internal_port = 8080
      processes = ["app"]
      protocol = "tcp"
      script_checks = []
    
      [services.concurrency]
        hard_limit = 25
        soft_limit = 20
        type = "connections"
    
      [[services.ports]]
        handlers = ["http"]
        port = 80
    
      [[services.ports]]
        handlers = ["tls", "http"]
        port = 443
    
      [[services.tcp_checks]]
        grace_period = "1s"
        interval = "15s"
        restart_limit = 0
        timeout = "2s"
    
    

    我看文中提到 fly/web.toml 需要修改一些内容,有 2 点疑问:

    1、[experimental] 是直接添加 cmd = ["bin/rails", "server"],还是删除其他内容,再添加 cmd = ["bin/rails", "server"]?

    2、[[services]] 是否只修改 internal_port 为 3000,还是需要删除其他内容?

  • 在 Fly.io 部署 Rails 应用 at 2022年03月21日

    好嘞,准备先跑个 demo 试试 😀

  • 在 Fly.io 部署 Rails 应用 at 2022年03月21日

    发现了 😅

    另 GeekNote 是下面这么用的吗?

    shared-cpu-1x 1G -> web

    512M -> worker

    免费 512M -> postgres

    免费 256M -> redis

  • 在 Fly.io 部署 Rails 应用 at 2022年03月20日

    我看 Fly.io 出了部署 Rails 应用的步骤——《Build, Deploy and Run a Rails Application》 https://fly.io/docs/getting-started/rails/

  • Docker 部署 Rails 项目,一直报错 at 2021年12月28日

    看你 docker-compose.yml 里面的配置 MYSQL_HOST 值是 db。

  • 写了个 Ruby China 的 GraphQL API at 2020年09月10日

    @huacnlee 广告账号 @yhk4 @yhk3

  • RubyConf China 2020 SSR 参会指南 at 2020年08月13日

    哈哈,这个周末充实了

  • 我想在控制器代码中增加一个对话框,该怎么做? at 2020年05月25日

    类似这种吗?

    <%= link_to 'Destroy',
                 product, 
                method: :delete,
                data: { confirm: 'Are you sure?' } %>
    
  • 安装 Rails 出现 cannot load such file -- openssl at 2020年05月18日

    To link Rubies to Homebrew's OpenSSL 1.1 (which is upgraded) add the following to your ~/.zshrc: export RUBY_CONFIGURE_OPTS="--with-openssl-dir=$(brew --prefix [email protected])"

    Note: this may interfere with building old versions of Ruby (e.g <2.4) that use OpenSSL <1.1.

  • 某个类里面如果写错代码,开发环境不报错,但是部署到生产环境就无法启动了,如何在开发环境上提前暴露呢? at 2020年05月06日

    测试 + 1

  • RubyConf China 哔哩哔哩频道上线 at 2020年05月01日

    已关注

  • 话题显示次序 at 2020年04月30日

    然后第一个是 /app/controllers/topics_controller.rb #17

    @topics = topics_scope.without_suggest.last_actived.page(params[:page])
    

    /app/models/topic.rb #26

    # scopes
    scope :last_actived,       -> { order(last_active_mark: :desc) }
    
  • 话题显示次序 at 2020年04月30日

    查看下 /app/models/topic.rb #111

    def self.total_pages
      return @total_pages if defined? @total_pages
    
      total_count = Rails.cache.fetch("topics/total_count", expires_in: 1.week) do
        self.unscoped.count
      end
      if total_count >= 1500
        @total_pages = 60
      end
      @total_pages
    end
    
  • 人生的一个小奇迹再次覆灭。。。 at 2020年04月24日

    十赌九输

  • 公司电脑不给上外网,我这样下载会不会被发现 at 2020年04月23日

    这货肯定是偷数据呢,弄呲了。

  • 请问如何生成形如 “V2UJY1FlBzdTbVI9” 这样的字符串来作为主键? at 2020年04月23日

    hashids + 1

  • Ruby on Rails 教程 (原书第 6 版) at 2019年11月11日

    点击帖子里的“联系我们”,扫码加楼主的微信。

  • Ruby on Rails 教程 (原书第 6 版) at 2019年11月01日

    老读者如何享五折优惠?

  • 基于 homeland 的网站怎么开通招聘权限? at 2019年11月01日

    他问的应该是他自己架设的 homeland。 @lgn21st @huacnlee

  • 为何 RailsGirl 的教练都不收费,活动还停了? at 2019年11月01日

    估计文洋最近在忙其他的事呢?我问问

  • RubyConf China 2019 录像 [更新完毕] at 2019年09月23日

    辛苦了,已收藏。

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