Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
花错
@flowerwrong
会员
第 9442 位会员 / 2013-10-06

广州
47 篇帖子 / 1109 条回帖
36 关注者
35 正在关注
233 收藏
人生有如花错
未设置 GitHub 信息。
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • ruby 的 TCPSocket 用 read/write 不能通信,用 gets/puts 就可以 at 2016年10月31日

    非换行协议设计可以参考tlv, 才看到是 2012 年的贴子。

  • 服务器端如何 post json 到别的 ip 地址? at 2016年10月25日

    curl -X POST 192.168.1.101 -d "pad_id=1306"

  • 自制开源 Web 框架的 40 天 - em-midori at 2016年10月22日

    #24 楼 @dsh0416 守住,加油。😄

  • [活动] 推荐你心中的「极客代言人」,打造《中国技术社群英雄谱》 at 2016年10月19日

    😄 @skandhas @bhuztez @luikore 这几位比较少路面了。

  • REST API 如何在服务器端暂存数据,以便下次请求使用? at 2016年10月19日

    #12 楼 @harryyoung 😄,没懂你。炫耀啥?

  • REST API 如何在服务器端暂存数据,以便下次请求使用? at 2016年10月19日

    一直用 redis+token

  • 如何查看 gem 'bootstrap-sass'中 bootstrap 代码 at 2016年10月18日

    https://github.com/twbs/bootstrap-sass/blob/master/assets/stylesheets/bootstrap/_alerts.scss#L59

  • 如何查看 gem 'bootstrap-sass'中 bootstrap 代码 at 2016年10月18日

    bootstrap 是一个前端库,或者叫做框架也可以。源码在https://github.com/twbs/bootstrap bootstrap-sass 是一个 ruby 库,仅仅是帮你快速即成 bootstrap

    😄,说错了,sass 版本的 bootstrap,源码在https://github.com/twbs/bootstrap-sass

  • [广州] Xbed 互联网酒店招聘 Rails 工程师 5 名 at 2016年10月18日

    提供招聘文案代写服务,😄

  • Ruby 3 Guilds 并发模型 at 2016年10月18日

    #11 楼 @mizuhashi 实现actor模型离不开锁,但是用户使用actor就不用关心锁了。😄,erlang入门者。

  • ERROR: While executing gem ... (Gem::Exception) at 2016年10月18日

    #6 楼 @jsz_1000 四楼建议更好。工欲善其事 必先利其器。这里有些软件推荐http://blog.liveneeq.com/tech/2016/02/21/mac-developer-softwares.html

  • 自制开源 Web 框架的 40 天 - em-midori at 2016年10月18日

    👍 这个 logo 几个意思?😄

  • ERROR: While executing gem ... (Gem::Exception) at 2016年10月17日

    ./configure --with-openssl-dir=/usr/local/opt/openssl

  • ERROR: While executing gem ... (Gem::Exception) at 2016年10月17日

    找到你的 openssl dir,如果是 homebrew brew info openssl

  • 不写测试代码 at 2016年10月16日

    只写集成测试,好过没有,😄

  • 请问一下 我的 rails g 一系列生成命令为什么没有反应 at 2016年10月16日

    #6 楼 @yirolhao https://gems.ruby-china.org 换成国内的。

  • V2EX 克隆项目升级 Vue.js 1.x to 2.0 at 2016年10月15日

    #5 楼 @rina 不好意思,没说清楚,react vs vue

  • V2EX 克隆项目升级 Vue.js 1.x to 2.0 at 2016年10月15日

    能评价一下这两个库吗?

  • It's time to talk! at 2016年10月12日

    学习了。

  • [上海] 五亩田科技 Rails 工程师 2 名 at 2016年10月08日

    提个 issue,你们的IIS配置似乎有问题。走 http 代理返回 400. see HTTP 400 Bad Request" error when proxying HTTP requests from an Exchange Server to a previous version of Exchange Server

  • 网页模板中的若干插件包含 JS、CSS 和图片资源如何不拆分集成到 Rails 中? at 2016年10月07日

    #5 楼 @kouunn 参考 rails bower 的做法,如果觉得麻烦,可以按照二楼五楼的,直接丢 public,这样简单

  • 网页模板中的若干插件包含 JS、CSS 和图片资源如何不拆分集成到 Rails 中? at 2016年10月07日
    # many many config.assets.paths << ...
    config.assets.paths << Rails.root.join(
            'vendor',
            'assets',
            'bower_components',
            'bootstrap-sass-official',
            'vendor',
            'assets',
            'fonts'
        )
    config.assets.precompile += %w(.svg .eot .woff .ttf)
    

    like this.

    看得出大多都是 js 库,缕一下,直接用 bower 管理也行。

  • 在线预约系统 at 2016年10月06日

    一直用fullcalendar, 你们的定制系统估计需要改下源码。

  • libgit2 是如何绑定到其他语言的 at 2016年10月02日

    ruby c extension book

  • 如何重写自动生成的模型关联方法 at 2016年10月02日

    #2 楼 @lilijreey 如果我没有理解错,reverse books 就可以了。

  • 如何重写自动生成的模型关联方法 at 2016年10月02日

    我的方案是

    @players = Player.includes(:books).all
    
    @players.each do |player|
      player.books.length # not count
    end
    
  • Rails 如何在 create 的时候有个 confirm 确认框? at 2016年10月01日

    javascript 做的事情. = f.submit "save", data: { confirm: "Are you sure you want to submit this form?" } See Unobtrusive scripting support for jQuery and submit_tag

    本质上应该是

    $('#my-form').submit(function() {
      return confirm('Are you sure?');
    })
    
  • Rails + Node.js + Angular.js 怎样结合? at 2016年09月30日

    Rails + nodejs == rails like nodejs rails like nodejs + angularjs

    sailsjs 没用过,哈哈。

  • 如何在 coffee 文件中使用 erb 表单呢? at 2016年09月29日

    错误是什么?

  • 请问有没有更新了 macOS 10.12 的朋友?各位的鼠标速度会变慢么? at 2016年09月28日

    #12 楼 @lgn21st thx, 调整过来了。

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