Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
Novtopro He
@novtopro
Member
NO. 15815 / 2014-11-07

长沙
4 Topics / 126 Replies
7 Followers
4 Following
5 Favorites
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
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • 使用 Kamal 部署 Rails7 项目,提示数据库域名无法解析 at November 06, 2023

    手动创建一个 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 October 16, 2023

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

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

  • 有人用 Kamal 在单个 VPS 上部署过多个项目吗? at October 11, 2023

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

  • 有人用 Kamal 在单个 VPS 上部署过多个项目吗? at October 11, 2023

    单个服务器本来就一个 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 November 25, 2021

    Ansible

  • How to use Hotwire Turbo in your Rails 6 project with Webpacker. at November 11, 2021

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

  • 如何实现一个信息架构友好的标签系统 at October 14, 2020

    🍈 🍉 🍍

  • Postgres Fulltext Search (一) at February 14, 2020

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

  • Shadow Table for Postgres at January 11, 2020

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

  • Shadow Table for Postgres at January 11, 2020

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

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

    Awesome. Is it open sourced ?

  • Cool things in Ruby in 2018 at January 29, 2018

    Good to know.

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

    男神🍅 🍎 🍑 🍋 🍊

  • Please can someone help me post a job for a Ruby developer in Chinese? at September 29, 2017

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

  • Bulk Upsert for MySQL & PostgreSQL at March 03, 2017

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

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

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

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

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

  • asciidoctor-htmlbook —— HTMLBook 电子书工具链其一 at February 01, 2017

    厉害👍

  • Ruby 和 Ruby on Rails 在 2017年 还有前途吗? at January 27, 2017

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

  • 关于把 textarea 改为富文本编辑器的问题 at January 20, 2017

    https://textbox.io/

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

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

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

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

    #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 January 16, 2017

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

  • 什么是软件技术框架,软件技术框架图是怎么画的 at January 06, 2017

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

  • 请教一下 Ruby 正则表达式的问题 at January 05, 2017

    && 运算符的两部分是:

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

    z 就是 z 这个 Character

  • 请教一下 Ruby 正则表达式的问题 at January 05, 2017

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

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