Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
Meck
@yesmeck
VIP
NO. 865 / 2012-01-31

杭州
13 Topics / 369 Replies
14 Followers
7 Following
27 Favorites
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
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • 出 HHKB pro2 - Type-S 一个 at May 06, 2015

    壕。

  • 如何管理 SSH Public Key at April 28, 2015

    @azhao 好办法,谢谢

  • 如何管理 SSH Public Key at April 28, 2015

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

  • 如何让正则 match 获取全部匹配的东西 at April 28, 2015

    String#scan

  • Unicorn 报 rackup file (master) not readable 哪位遇到过 at April 09, 2015

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

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

    bundle show twitter-bootstrap-rails

  • Grape response body 如何打印? at March 28, 2015

    可以用 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 March 11, 2015

    已经解决了重放攻击。

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

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

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

  • 一个基于 Rails 的 RESTful API 框架: Lina at February 28, 2015

    @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 February 27, 2015

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

  • 一个基于 Rails 的 RESTful API 框架: Lina at February 27, 2015

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

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

  • 一个基于 Rails 的 RESTful API 框架: Lina at February 27, 2015

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

  • vim 如何让 shell 的命令显示在底部的 buffer 里? at January 14, 2015

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

  • Apple 发明新语言了 Swift at June 03, 2014

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

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

    $ rake routes | less

  • [已解决] git diff 怎么看 Untracked files / New files 的内容? at April 13, 2014

    还真能这么做。

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

    新文件 diff 什么呀。

  • Simba v0.8.0 has been released! at April 08, 2014

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

  • 有没有人发现打开 Ruby China 之后载入条一直转 at April 03, 2014

    我这里载入要 10 秒左右。

  • 风格变明快了 at February 12, 2014

    現在開始流行白了嗎

  • Vim 插件推荐 at February 05, 2014

    @cassiuschen vim-airline

  • ruby-china 实际部署的 ruby 什么版本 at January 17, 2014

    右鍵 => 查看源代碼

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

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

  • 强迫症想统一 Gem 横线的用法 at January 07, 2014

    最抓狂的是這種吧 faraday-cookie_jar

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