Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
@kikyous
高级会员
第 2564 位会员 / 2012-06-16

kikyous@163.com
西安
88 篇帖子 / 875 条回帖
20 关注者
0 正在关注
13 收藏
GitHub Public Repos
  • ChatGPT-Nuxt-Web 9

  • bootstrap3-sass 4

    bootstrap-sass 3 continue

  • vscode-css-action 3

    A vscode extension help editing scss/less file with color replace and px convert.

  • mitmfile.py 2

    Define and load mitmproxy config easy

  • easy_form 2

    form builder without complex dsl

  • tc-dev-enhance 1

  • vue3-ui-test 0

  • Clash.Meta 0

    A rule-based tunnel in Go.

  • inertia-rails 0

    The Rails adapter for Inertia.js.

  • deno_deploy_cors_proxy 0

    Deno Deploy CORS Proxy

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • 咨询一个 Api 提交数据的格式问题 at 2014年01月19日

    第二种是 rails 默认的方式,相当与有个 namespace,如果 form 对应多个 model 的时候就会很清楚

  • 遇到一个测试问题 at 2014年01月14日

    space 的 show action 是不是 查找 SpaceSetting 了

  • 哈哈,我终于不用羡慕 iawriter 了 at 2014年01月13日

    #17 楼 @frank_128 你可以试试 fcitx.vim 能用 vim 的 autocmd 自动切换 fcitx 的输入状态

    " fcitx.vim  记住插入模式小企鹅输入法的状态
    " Author:       lilydjwg
    " Maintainer:   lilydjwg
    " Last Change:  2010-11-18
    " Note:         另有使用 Python3 接口的新版本
    " ---------------------------------------------------------------------
    " Load Once:
    if (has("win32") || has("win95") || has("win64") || has("win16"))
      " Windows 下不要载入
      finish
    endif
    if !exists('$DISPLAY')
      " 没有 X,不要载入
      finish
    endif
    if &cp || exists("g:loaded_fcitx") || !executable("fcitx-remote")
      finish
    endif
    let s:keepcpo = &cpo
    let g:loaded_fcitx = 1
    set cpo&vim
    " ---------------------------------------------------------------------
    " Functions:
    function Fcitx2en()
      let inputstatus = system("fcitx-remote")
      if inputstatus == 2
        let b:inputtoggle = 1
        call system("fcitx-remote -c")
      endif
    endfunction
    function Fcitx2zh()
      try
        if b:inputtoggle == 1
          call system("fcitx-remote -o")
          let b:inputtoggle = 0
        endif
      catch /inputtoggle/
        let b:inputtoggle = 0
      endtry
    endfunction
    " ---------------------------------------------------------------------
    " Autocmds:
    au InsertLeave * call Fcitx2en()
    au InsertEnter * call Fcitx2zh()
    " ---------------------------------------------------------------------
    "  Restoration And Modelines:
    let &cpo=s:keepcpo
    unlet s:keepcpo
    " vim:fdm=expr:fde=getline(v\:lnum-1)=~'\\v"\\s*-{20,}'?'>1'\:1
    
  • ruby 银联支付接口 at 2014年01月07日

    #18 楼 @hust_tulip 是这样的

  • has_many, :through 在富连接时可以添加条件? at 2014年01月05日

    rails 4

    class Customer < ActiveRecord::Base
      has_many :confirmed_orders, -> { where "confirmed = 1" },
    end
    

    rails 3

    class Customer < ActiveRecord::Base
      has_many :confirmed_orders,  :conditions => "confirmed = 1"
    end
    
  • ruby 银联支付接口 at 2014年01月02日

    #15 楼 @hust_tulip 你看的这个好像是 cs 架构用的,我觉得你不会用 ruby 去做桌面应用

  • ruby 银联支付接口 at 2014年01月02日

    #12 楼 @hust_tulip https://github.com/kikyous/unionpay/wiki/%E8%A1%A84%E3%80%80-%E6%B6%88%E8%B4%B9%E4%BA%A4%E6%98%93%E8%AF%B7%E6%B1%82%E6%B6%88%E6%81%AF 这是官方文档,没有你说的 ChkValue 这个 field

  • ruby 银联支付接口 at 2014年01月01日

    #12 楼 @hust_tulip 我没有仔细读过文档,这个 gem 基本是从官方的 php sdk 翻译过来的。 里面的订单的签名是 name 为 signature 的 input field

  • ruby 银联支付接口 at 2014年01月01日

    #10 楼 @hust_tulip 都说了因为公司需要我才做的,我们的项目现在就用的这个 gem, 你说的私钥就是 UnionPay.security_key 吧

  • ruby 银联支付接口 at 2013年12月31日

    #7 楼 @jasl 哈哈,仿照着做的

  • ruby 银联支付接口 at 2013年12月30日

    #5 楼 @zj0713001 嗯,会注意的

  • ruby 银联支付接口 at 2013年12月30日

    #2 楼 @zj0713001 现在所有的功能都有了

  • ruby 银联支付接口 at 2013年12月20日

    #2 楼 @zj0713001 查询的接口还没有

  • 好像 Ruby 的性能问题始终是个大问题啊! at 2013年12月20日

    这个测试的都是 win 下的 ruby i386-mingw32 linux 下应该比 python 快的

  • Ruby on Rails 4.1 发布记 at 2013年12月20日

    应该是错误,楼主搜一下 "喷错误"

  • 奇怪的需求:直接把剪贴板的 image 粘贴进 Textarea at 2013年12月17日

    现在的浏览器支持不了吧,ie11 有个特性可以支持

  • CoffeeScript 如何获取属性值 at 2013年12月13日

    #4 楼 @frank http://coffeescript.org/#fat-arrow

  • CoffeeScript 如何获取属性值 at 2013年12月13日

    => 改成 ->

  • [黑色星期五] 效率型工具 Manico 66% 折扣,现在仅 6 元人民币 at 2013年11月29日

    ubuntu 自带这个功能

  • Devdocs - 很棒的在线文档整合应用 at 2013年11月26日

    嗯,看起来不错

  • 写出好的 commit message at 2013年11月24日

    update

  • 手机客户端需要更新一下 at 2013年11月21日

    不需要手机客户端

  • 谁给推荐一款 Android 端的 Podcast App at 2013年11月19日

    居然这么贵,订阅更新我倒是不需要

  • 谁给推荐一款 Android 端的 Podcast App at 2013年11月19日

    BeyondPod Podcast Manager

  • 这些冒号让我很困惑 at 2013年11月15日

    Symbol 就是轻量级的字符串

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