Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
Novtopro He
@novtopro
会员
第 15815 位会员 / 2014-11-07

长沙
4 篇帖子 / 126 条回帖
7 关注者
4 正在关注
5 收藏
When the problem is complexity, the cure might just be simplicity.
GitHub Public Repos
  • doc_translator 0

  • webmock 0

    Library for stubbing and setting expectations on HTTP requests in Ruby.

  • pupilfirst 0

    A learning management system (LMS) that lets you run an asynchronous online school, where learnin...

  • niso-jats 0

    Ruby library to work with NISO JATS files

  • oasis-etm 0

    Ruby library for OASIS Exchange Table Model (a subset of CALS table)

  • xml-c14n 0

    Ruby library to canonicalize XML (e.g. for comparison)

  • lutaml-model 0

    LutaML Model is the Ruby data modeler part of the LutaML data modeling suite. It supports creatin...

  • ali 0

    Ruby library for NISO ALI

  • pg_search 0

    pg_search builds ActiveRecord named scopes that take advantage of PostgreSQL’s full text search

  • pev2 0

    Postgres Explain Visualizer 2

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • 使用 Kamal 部署 Rails7 项目,提示数据库域名无法解析 at 2023年11月06日

    手动创建一个 bridge 网络

    docker network create -d bridge mynetwork
    

    所有容器使用这个网络

    container:
      env:
        secret:
          - GODADDY_API_KEY
          - GODADDY_API_SECRET
      options:
        network: mynetwork
    

    使用 container name 去连接

    POSTGRES_HOST=xxx_app-postgres
    
  • 有人用 Kamal 在单个 VPS 上部署过多个项目吗? at 2023年10月16日

    首先同一台服务器只会启动一个 traefik 容器,所以第二个项目kamal deploy的时候会发现已经有了,不会去触碰它。而且因为只会有一个实例,所以两个项目上的 traefik 配置应该是一致的,如果不一致那说明你的部署方案是欠考虑的。

    至于 App Containers,则是通过 App Container 本身的 label 去配置中间件,路由规则等,Traefik 会自动发现 (detect) 这些信息,然后正确地做反向代理和负载均衡。

  • 有人用 Kamal 在单个 VPS 上部署过多个项目吗? at 2023年10月11日

    其实你实操一下,看看源代码就很清楚了 https://github.com/basecamp/kamal/blob/main/lib/kamal/cli/traefik.rb#L7,代码还蛮清晰的。

  • 有人用 Kamal 在单个 VPS 上部署过多个项目吗? at 2023年10月11日

    单个服务器本来就一个 Traefik 容器,你只要将你的 App Containers 的一些 LABEL 配置好,Traefik 就能自动依据规则做反向代理

    Container 1

    traefik.http.routers.web.rule: Host(`a.com`) && PathPrefix(`/`)
    traefik.http.routers.web.entrypoints: websecure
    

    Container 2

    traefik.http.routers.web.rule: Host(`b.com`) && PathPrefix(`/`)
    traefik.http.routers.web.entrypoints: websecure
    
  • docker 部署可以做成类似 mina 和 cap 的工具吗? at 2021年11月25日

    Ansible

  • How to use Hotwire Turbo in your Rails 6 project with Webpacker. at 2021年11月11日

    Tooltip 可以用 Stimulus Controller 封装一下,这样就不需要enable_tooltip

  • 如何实现一个信息架构友好的标签系统 at 2020年10月14日

    🍈 🍉 🍍

  • Postgres Fulltext Search (一) at 2020年02月14日

    https://medium.com/datadriveninvestor/the-rum-index-and-full-text-search-using-postgresql-1c08fb3bf540 还可以看看 RUM 索引

  • Shadow Table for Postgres at 2020年01月11日

    其实我感觉如果只是记录一些关键信息 https://github.com/palkan/logidze 这种方案就很好了。理想方案中除了不太适合分析外,其他的都满足。https://github.com/ifad/chronomodel 其实考虑到了视图、触发器的更新,但是如何与应用层信息集成没细看,好像没有提到。

  • Shadow Table for Postgres at 2020年01月11日

    方案三可以参考 https://github.com/ifad/chronomodel,应用层信息集成可能需要改

  • 求点评下我做的 Markdown 编辑器,支持序列图、甘特图、Mermaid 流程图以及 LaTeX 公式 at 2018年03月09日

    Awesome. Is it open sourced ?

  • Cool things in Ruby in 2018 at 2018年01月29日

    Good to know.

  • [广州] 搜床科技招聘 6 名中高级 Ruby 工程师 10-30K at 2017年12月06日

    男神🍅 🍎 🍑 🍋 🍊

  • Please can someone help me post a job for a Ruby developer in Chinese? at 2017年09月29日

    @Raed FYI: https://ruby-china.org/topics/34296 Good luck. 😄

  • Bulk Upsert for MySQL & PostgreSQL at 2017年03月03日

    刚好用过,推荐https://github.com/seamusabshere/upsert,PG9.4 好像不支持 upsert

  • [广州] 楼兰电商诚聘 Ruby 高级开发工程师 1 名 (12K ~ 25K) at 2017年02月28日

    相处过的让人觉得最舒适的老板和 CTO,思维很年轻,比较"大智",推荐。

  • [广州] 广州又一客 ( 加拿大电商 Shopper+ ) 招聘 2 位 Ruby / Rails 工程师 ( 5K - 15K ) at 2017年02月08日

    #1 楼 @shuke0327 跟雨哥好有缘分

  • asciidoctor-htmlbook —— HTMLBook 电子书工具链其一 at 2017年02月01日

    厉害👍

  • Ruby 和 Ruby on Rails 在 2017年 还有前途吗? at 2017年01月27日

    #15 楼 @darkbaby123 Rails 单独抽取 validator 层也很简单

  • 关于把 textarea 改为富文本编辑器的问题 at 2017年01月20日

    https://textbox.io/

    https://www.froala.com/wysiwyg-editor 可惜贵

  • 如何实现一个层级有限的,支持精确插入 / 修改的树形目录? at 2017年01月18日

    #10 楼 @hooopo 我最喜欢看你的分享 👏

  • 如何实现一个层级有限的,支持精确插入 / 修改的树形目录? at 2017年01月18日

    #4 楼 @gonglexin 其实了解了 closure_tree 跟其他 gem 的实现区别后,我依然比较喜欢 ancestry 和 awesome_nested_set . closure_tree 可能假设树形结构的层次会很深,然而一般情况下并不会那么深。再者存储那么深的树形层次感觉也很复杂,越复杂的实现就越难 evolve http://www.hilman.io/blog/2015/09/comparing-ancestry-and-closure_tree/

  • [武汉] 网化招聘 Ruby 中高级工程师 (欢迎回家) at 2017年01月16日

    #28 楼 @southwolf 我以为你在北京

  • 什么是软件技术框架,软件技术框架图是怎么画的 at 2017年01月06日

    其实我觉得 draw.io 是最好的,它有 Chrome Extension

  • 请教一下 Ruby 正则表达式的问题 at 2017年01月05日

    && 运算符的两部分是:

    1. [a-w]
    2. [^c-g]z
  • 请教一下 Ruby 正则表达式的问题 at 2017年01月05日

    z 就是 z 这个 Character

  • 请教一下 Ruby 正则表达式的问题 at 2017年01月05日

    它的注释写得都很明白了啊

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