Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
花错
@flowerwrong
Member
NO. 9442 / 2013-10-06

广州
47 Topics / 1109 Replies
36 Followers
35 Following
233 Favorites
人生有如花错
No GitHub.
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • ActionStore - 一步到位的 Like, Follow, Star, Block ... 等动作的解决方案 at February 11, 2017

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

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

    #5 楼 @adamshen 😄

  • [广州] 晒尔科技招聘 Rails 工程师 2 名 at February 09, 2017

    👍

  • 求解 Ruby 中方法查找的问题 at February 08, 2017

    p Mm.ancestors

  • Ruby 2.4.0 报警告,Fixnum 跟 Bignum 怎么关闭警告? at February 06, 2017

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

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

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

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

    issue

    Maybe help.

  • GitLab 可以在 Windows 上安装吗? at February 05, 2017

    可以,虚拟机

  • 又一个中文社区产品 at February 01, 2017

  • 通过 OAuth 连接 Twitter 访问 /auth/twitter 显示 timeout at January 27, 2017

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

  • 通过 OAuth 连接 Twitter 访问 /auth/twitter 显示 timeout at January 27, 2017

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

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

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

  • 关于把 textarea 改为富文本编辑器的问题 at January 23, 2017

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

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

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

  • ActionView::Template::Error (wrong argument type Integer (expected Proc)) 求解 at January 19, 2017

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

  • Ruby 和 Ruby on Rails 在 2017年 还有前途吗? at January 18, 2017

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

  • Docker 的一个问题 at January 18, 2017

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

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

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

  • Dokku - 自己部署一套类似 Heroku 的 PaaS 平台 at January 16, 2017

    當初寫論文還用過,😁

  • Homeland 导航未选中 at January 13, 2017

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

  • 网络请求长字符串有没有什么方法压缩? at January 10, 2017

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

  • 以前端工程师的视角看代码质量 at January 06, 2017

    #2 楼 @xlaok 哈哈😌

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

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

  • ApplicationMailer 奇怪的调用方法 at December 24, 2016

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

  • Go 适合在哪个系统上开发? at December 17, 2016

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

  • JetBrains 家新的 Golang IDE 开始接受内测申请 at December 16, 2016

    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 December 14, 2016

    还有一些像 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 December 13, 2016

    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

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