Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
tumayun
@tumayun
高级会员
第 967 位会员 / 2012-02-09

北京多点科技股份有限公司
北京
42 篇帖子 / 769 条回帖
15 关注者
3 正在关注
31 收藏
奋斗的coder
GitHub Public Repos
  • master_slave 9

    Rails separate read and write

  • blog 0

    私人博客

  • xhttp 0

    http request

  • macos-golink-wrapper 0

    solution to "syscall.Mprotect panic: permission denied" on macOS Catalina 10.15.x

  • go-common 0

    哔哩哔哩 bilibili 网站后台工程 源码

  • eureka-ruby 0

  • remove_emoji 0

    Ruby Remove Emoji 😈🈲😱⁉️ for Ruby 2.x ~ 2.5.x / Rails 4、5.x

  • aliyun-oss-ruby-sdk 0

    Aliyun OSS SDK for Ruby

  • brakeman 0

    A static analysis security vulnerability scanner for Ruby on Rails applications

  • wx_pay 0

    An unofficial simple wechat pay gem

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • [上海] 普象招聘~这不是一份工作,是一个全新的生活状态 at 2016年02月28日

    @zhaozijie 没拿下?

  • 大家刚参加工作时的待遇、福利都是怎么样的? at 2016年02月04日

    2011 年,南昌 2650,早上 8 点半到晚上 10 点

  • [Remote 工作] 寻找 Senior Ruby 兼职 - 关闭了,谢谢大家 at 2015年12月01日

    好心动啊

  • Ruby 解密 AES at 2015年12月01日
    class AES256
      class << self
        def encrypt(data)
          cipher = OpenSSL::Cipher::AES.new(256, :CBC)
          cipher.encrypt
          cipher.key = ENV['AES256_KEY']
          cipher.iv  = ENV['AES256_IV']
          cipher.update(data) << cipher.final
        end
    
        def decrypt(data)
          cipher = OpenSSL::Cipher::AES.new(256, :CBC)
          cipher.decrypt
          cipher.key = ENV['AES256_KEY']
          cipher.iv  = ENV['AES256_IV']
          cipher.update(data) << cipher.final
        end
      end
    end
    
    2.2.3 :001 > AES256.encrypt('tumayun').unpack('H*').first
     => "c199ee70fe440c24409945bc57c3ec86"
    2.2.3 :002 > AES256.decrypt(['c199ee70fe440c24409945bc57c3ec86'].pack('H*'))
     => "tumayun"
    2.2.3 :003 >
    
  • [深圳] 深圳湾社区招聘 Ruby/Android/iOS 各 3 名 (10 - 30 K) at 2015年11月26日

    帮顶,他们要做的事非常有前途

  • Elixir 有人用吗? at 2015年11月20日

    现在还不成熟吧

  • 谨慎升级 omniauth-oauth2 到 1.4.0,你之前接入的 oauth 服务可能会出问题! at 2015年11月01日

    好吧,原来这是 PR 是按照 Oauth2 标准修复了一个遗留问题

  • 存在内存泄露的 Gem 列表 at 2015年10月22日

    sidekiq 和 celluloid 中招

  • 华顺讲 High 了... at 2015年10月10日

    还冷?下午好热了~~

  • 在三线城市,如何选择开发语言? at 2015年10月10日

    Remote~~

  • 现在有公司要远程工作的员工么? at 2015年10月10日

    @fsword 我举报 @kgen 的公司支持 remote!

  • 现在有公司要远程工作的员工么? at 2015年10月10日

    @ywjno 这是副作用,哈哈

  • 华顺讲 High 了... at 2015年10月10日

    威武霸气,哈哈

  • 给女朋友的 iOS 开发教程 iOS With Girlfriend at 2015年10月04日

    @kevinzhow 😄

  • 给女朋友的 iOS 开发教程 iOS With Girlfriend at 2015年10月04日

    @pynix 首先得有女朋友?😄

  • 请求一个实时推送到浏览器客户端的方案! at 2015年09月22日

    @awking pusher 基础技术用的是 faye?

  • Elasticsearch 如何用 script_fields 计算出来的字段进行排序? at 2015年09月01日

    @hooopo 这样不是相当于计算了两次?function_score 要计算 distance,script_fields 也要计算 distance。 我的需求是既要在结果中拿到 distance 的值,又要按照 distance 排序

  • Elasticsearch 如何用 script_fields 计算出来的字段进行排序? at 2015年09月01日

    @hooopo 我是要用 fields.distance 来排序,怎么写? doc["fields.distance"] 报错啊

  • Elasticsearch 如何用 script_fields 计算出来的字段进行排序? at 2015年08月31日

    @as181920 在 script 里如何得到 script_fields 的值?

  • Elasticsearch 如何用 script_fields 计算出来的字段进行排序? at 2015年08月31日

    @kungs 都不知道如何在 sort 中拿到 distance 的值

  • [深圳] DJI 大疆创新招聘两名 Ruby 高级工程师 15-30k at 2015年08月27日

    @rina 企业文化如何测评?难道和阿里类似?

  • 征集大家意见,关于回帖用树形方式展示,类似 HackerNews at 2015年08月10日

    👎

  • 最近升级了 Rails 到 4.2.3,似乎发现了一个 Bug [已解决] at 2015年07月11日

    @huacnlee 脑残了~~ 要写成 json.cache! 的

  • 最近升级了 Rails 到 4.2.3,似乎发现了一个 Bug [已解决] at 2015年07月10日

    @huacnlee https://github.com/haml/haml/issues/536 https://github.com/rails/rails/issues/6379 可能和这里的情况差不多

  • 最近升级了 Rails 到 4.2.3,似乎发现了一个 Bug [已解决] at 2015年07月10日

    @huacnlee

  • 最近升级了 Rails 到 4.2.3,似乎发现了一个 Bug [已解决] at 2015年07月10日
    cache [:unread_messages, params[:version], current_user.id, current_user.unread_messages_received_at.value, @messages.limit_value, @messages.current_page] do
      json.messages do
        json.array! @messages, partial: 'api/messages/message', as: :message
      end
    
      json.current_page @messages.current_page
      json.per_page     @messages.limit_value
      json.count        @messages.total_count
    end
    
  • 重新思考找回忘记密码解决方法 at 2015年04月16日

    @Rei ActiveSupport::MessageVerifier 很实用

  • [杭州] 阿里巴巴招两名 Ruby 工程师 at 2015年03月02日

    @huacnlee 看到如彼了~~

  • 阿拉伯数字转简体中文的 gem at 2015年02月10日

    你可以做一个

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