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

广州
47 篇帖子 / 1109 条回帖
36 关注者
35 正在关注
233 收藏
人生有如花错
未设置 GitHub 信息。
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • ActionStore - 一步到位的 Like, Follow, Star, Block ... 等动作的解决方案 at 2017年02月11日

    https://github.com/chrome/markable 我做的 rails5 兼容版本不小心被我删除了。

  • [初学者] crontab on rails, 使用 rails 给 linux crontab 包了一层 web GUI at 2017年02月09日

    #5 楼 @adamshen 😄

  • [广州] 晒尔科技招聘 Rails 工程师 2 名 at 2017年02月09日

    👍

  • 求解 Ruby 中方法查找的问题 at 2017年02月08日

    p Mm.ancestors

  • Ruby 2.4.0 报警告,Fixnum 跟 Bignum 怎么关闭警告? at 2017年02月06日

    https://github.com/rails/rails/issues/27462#issuecomment-269823324

  • 公司员工项目工作日志填报系统有没有免费开源的? at 2017年02月06日

    #6 楼 @nouse 应该是公司主产品,一直用。 如果只是工作日志填报,我会用 excel。

  • 升级到 Rails 5 时 gem nio4r 无法安装问题 at 2017年02月06日
    You have to install development tools first.
    
    sudo apt-get install libgmp3-dev
    

    issue

    Maybe help.

  • GitLab 可以在 Windows 上安装吗? at 2017年02月05日

    可以,虚拟机

  • 又一个中文社区产品 at 2017年02月01日

  • 通过 OAuth 连接 Twitter 访问 /auth/twitter 显示 timeout at 2017年01月27日

    除夕夜,心疼你 1s。 是的,服务器上,开发时可以 ngrok,frp 等打洞技术转发。微信的要求更高,还得是备案域名。

  • 通过 OAuth 连接 Twitter 访问 /auth/twitter 显示 timeout at 2017年01月27日

    我记得 twitter 不支持 localhost,github 才支持。

  • 请务必注意 Redis 安全配置,否则将导致轻松被入侵 at 2017年01月26日

    一直以为 redis 默认是127.0.0.1,直到中招。😂

  • 关于把 textarea 改为富文本编辑器的问题 at 2017年01月23日

    国内的 ueditor 用的多,也比较符合国内编辑使用。

  • 2017 年想实现 Web 内的聊天,用什么技术方案比较好? at 2017年01月22日

    如果没有群聊,ejabberd 是我的首选,微信类似的群聊用 ejabberd 实现起来反而麻烦。

  • ActionView::Template::Error (wrong argument type Integer (expected Proc)) 求解 at 2017年01月19日

    给下行号吧,都不知道 30,28 是哪一行。

  • Ruby 和 Ruby on Rails 在 2017年 还有前途吗? at 2017年01月18日

    技能多开,确实是 ruby 程序员需要的。这里推荐一下,想深入网络编程的,可以实现一个 surge for mac with enhanse mode,囊括了网络层以及网络层以上的大部分常用协议和知识点。

  • Docker 的一个问题 at 2017年01月18日

    居然不看第一个,https://github.com/docker/docker/issues/27381 似乎是一个比较麻烦的问题,看最后一个 comment。

  • 如何实现一个层级有限的,支持精确插入 / 修改的树形目录? at 2017年01月18日

    awesome_nested_set 就可以,但 100 万级有点儿崩。

  • Dokku - 自己部署一套类似 Heroku 的 PaaS 平台 at 2017年01月16日

    當初寫論文還用過,😁

  • Homeland 导航未选中 at 2017年01月13日

    #2 楼 @huacnlee 用 JavaScript 應該可以。

  • 网络请求长字符串有没有什么方法压缩? at 2017年01月10日

    感觉问题主要在数据传输上,没好的 idea,如果有更好的压缩算法且客户支持,加个 tunnel client -> tcptun_or_kcptun ------------ tcptun_or_kcptun -> server 如果压缩比大,中间的开销可以忽略不计了。

  • 以前端工程师的视角看代码质量 at 2017年01月06日

    #2 楼 @xlaok 哈哈😌

  • 模拟 curl 的请求 sock.gets 很长时间才得到响应,但是 curl 很快就返回结果 at 2016年12月26日

    #2 楼 @tablecell 你可以查一查怎么实现 pipe,然后就可以理解了。

  • ApplicationMailer 奇怪的调用方法 at 2016年12月24日

    我记得论坛有人问过,搜索下。大概记得是 method missing 触发后查找实例方法,具体可以去追踪下源码。

  • Go 适合在哪个系统上开发? at 2016年12月17日

    这几天都在用 go on OSX,网络程序轮子好多,秒杀一大片。除了开始不理解 GOPATH 用来干嘛,go build go install go get傻傻分不清,后面的配置都啥没问题。why GOPATH

  • JetBrains 家新的 Golang IDE 开始接受内测申请 at 2016年12月16日

    why GOPATH

    The goal of the GOPATH is to centralize all packages into one common workspace. It is not really a new concept by itself (think of the java classpath for example), but Go use in a drastically simple way by not supporting packages versionning. The Go programmer isn't suposed to set GOPATH manually when entering a new project folder. Each project folder is supposed to be a package by itself, and reside in the GOPATH along other packages, so GOPATH should be set only once. Tutorials begin by setting the GOPATH in order to isolate the tutorial workspace from anything other. GOROOT is set to provide the standard packages to the Go programmer, you don't need to do anything with it. To put it short, there is a single rule for GOROOT: never, ever, touch it. Don't install anything in it, don't modify standard packages, etc. I'm not aware of a tool to detect go projects in the current directory, but it shouldn't be highly complex to create. How you handle differents projects is up to you. The go way to do it is to put every project as a package in the $GOPATH/src dir and do everything from there. As I don't really like it, I defined my GOPATH to be $HOME/.go. Then I put each project in a dedicated directory somewhere else (anywhere in my computer), and symlink the project directory into my $GOPATH/src dir. I can then use every command compile as nothing, use the project as package for another one, etc.

    #3 楼 @nouse

  • 求推荐好的 Rails 学习路线 at 2016年12月14日

    还有一些像 https://www.v2ex.comtab网站的点击 Apple 怎么出现https://www.v2ex.com/?tab=apple这样的结果

    你得学下网页开发,不要求会写,但基本的得知道。URL baike

    query 查询,可选,用于给动态网页(如使用 CGI、ISAPI、PHP/JSP/ASP/ASP.NET 等技术制作的网页)传递参数,可有多个参数,用“&”符号隔开,每个参数的名和值用“=”符号隔开。

  • Rails scaffold 执行报 Expected string default value for '--jbuilder' at 2016年12月13日

    Meaning of “Expected string default value for …” on Ruby on Rails

    gem 'thor', '0.19.1'
    # bundle update thor
    

    新版 thor 锅不少。😄。use Thor option parser in server commands parse

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