Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
Meck
@yesmeck
高级会员
第 865 位会员 / 2012-01-31

杭州
13 篇帖子 / 369 条回帖
14 关注者
7 正在关注
27 收藏
GitHub Public Repos
  • safe-routes 483

    Typesafe routing for React Router v7 apps.

  • reactive.macro 171

    Reduce React boilerplate.

  • remix-modules 10

    Scale your Remix app with modules.

  • yesmeck 5

  • mitmproxy 1

    An interactive TLS-capable intercepting HTTP proxy for penetration testers and software developers.

  • import-in-the-middle 0

    Like `require-in-the-middle`, but for ESM import

  • mantine 0

    A fully featured React components library

  • docs 0

  • neotest-node 0

  • vscode-graphql 0

    Apollo GraphQL VS Code extension

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • 出 HHKB pro2 - Type-S 一个 at 2015年05月06日

    壕。

  • 如何管理 SSH Public Key at 2015年04月28日

    @azhao 好办法,谢谢

  • 如何管理 SSH Public Key at 2015年04月28日

    @azhao 谢谢回复,这样的话如果想要不同的人对不同的服务器有权限好像就不好做把?

  • 如何让正则 match 获取全部匹配的东西 at 2015年04月28日

    String#scan

  • Unicorn 报 rackup file (master) not readable 哪位遇到过 at 2015年04月09日

    Unicorn 命令需要在 APP 目录下运行

  • Gemfile 里使用 git repo 之后这个 gem 安装到哪里去了? at 2015年04月04日

    bundle show twitter-bootstrap-rails

  • Grape response body 如何打印? at 2015年03月28日

    可以用 middleware 杨总。

    require 'grape'
    
    class API < Grape::API
      format :json
      get '/ping' do
        { pong: true }
      end
    end
    
    class APILogger < Grape::Middleware::Base
      def after
        p @app_response
      end
    end
    
    use APILogger
    
    run API
    
  • Rails 的 Cookie 问题现在怎么样了 at 2015年03月11日

    已经解决了重放攻击。

    并没有解决吧 http://guides.rubyonrails.org/security.html#replay-attacks-for-cookiestore-sessions

  • app 和服务器端 api 通过 token 来验证,一般是如何加密 token,提高安全性的? at 2015年03月02日

    https://ruby-china.org/topics/23728#reply5

  • 一个基于 Rails 的 RESTful API 框架: Lina at 2015年02月28日

    @lyfi2003 如果能这样写是不是更好看点?

    desc(
      name: '获取所有文章',
      description: '这个接口用来获取所有文章, 参数及返回值请见下文',
      params: {
        properties: {
          created_order_by: {
            enum: [ :asc, :desc ],
            default: 'desc',
            description: '按创建时间正序或倒序排'
          }
        }
      },
      return: {
        type: 'array',
        items: {
          type: 'object',
          required: [:id, :name, :created_at],
          properties: {
            id: {
              type: 'integer',
              description: '文章ID',
            },
            name: {
              type: 'string',
              description: '文章标题',
            },
            created_at: {
              type: 'string',
              description: '创建时间, 格好的字符串'
            }
          }
        }
      }
    )
    def index
      @posts = Post.order(created_at: params[:created_order_by].to_sym)
    end
    
  • 一个基于 Rails 的 RESTful API 框架: Lina at 2015年02月27日

    这个不是很早就有吗?为什么说是 4.1 出现的。

  • 一个基于 Rails 的 RESTful API 框架: Lina at 2015年02月27日

    出现的太早,更新比较慢,无法充分利用 Rails4.1 出现的独立 Engine 系统。

    LZ 这里说的“Rails4.1 出现的独立 Engine 系统”是指什么?

  • 一个基于 Rails 的 RESTful API 框架: Lina at 2015年02月27日

    LZ 看过这个吗 https://github.com/Apipie/apipie-rails

  • vim 如何让 shell 的命令显示在底部的 buffer 里? at 2015年01月14日

    :read !wc % 直接把结果读到当前 buffer 里。

  • Apple 发明新语言了 Swift at 2014年06月03日

    重名了。。。 http://swift-lang.org/

  • zsh 里执行 rake routes,显示不全,有什么简单方法解决? at 2014年05月30日

    $ rake routes | less

  • [已解决] git diff 怎么看 Untracked files / New files 的内容? at 2014年04月13日

    还真能这么做。

    $ git add -N newfile
    $ git diff
    
  • [已解决] git diff 怎么看 Untracked files / New files 的内容? at 2014年04月12日

    新文件 diff 什么呀。

  • Simba v0.8.0 has been released! at 2014年04月08日

    这个忘记改了吧 https://github.com/SaitoWu/simba/blob/master/template/app/models/user.rb#L1

  • 有没有人发现打开 Ruby China 之后载入条一直转 at 2014年04月03日

    我这里载入要 10 秒左右。

  • 风格变明快了 at 2014年02月12日

    現在開始流行白了嗎

  • Vim 插件推荐 at 2014年02月05日

    @cassiuschen vim-airline

  • ruby-china 实际部署的 ruby 什么版本 at 2014年01月17日

    右鍵 => 查看源代碼

  • ruby-china 实际部署的 ruby 什么版本 at 2014年01月17日
    <!--
          ____        __             ________    _
         / __ \__  __/ /_  __  __   / ____/ /_  (_)___  ____ _
        / /_/ / / / / __ \/ / / /  / /   / __ \/ / __ \/ __ `/
       / _, _/ /_/ / /_/ / /_/ /  / /___/ / / / / / / / /_/ /
      /_/ |_|\__,_/_.___/\__, /   \____/_/ /_/_/_/ /_/\__,_/
                        /____/
      ========================================================
                                              ruby-china.org
    
      App Environments:
      --------------------------------------------------------
      Ruby:  2.1.0-p0
      Rails: 4.0.2
    -->
    
  • ruby 模拟登陆,如何保证当前在一个会话中 at 2014年01月13日

    https://github.com/miyagawa/faraday-cookie_jar

  • 强迫症想统一 Gem 横线的用法 at 2014年01月07日

    最抓狂的是這種吧 faraday-cookie_jar

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