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
  • Atom Editor 有 deb 包了 at October 14, 2014

    我是 ppa 安装的,装了一套很酷的 ui

  • 想用年月日 时分秒作为订单号,怎么实现 at October 13, 2014

    同一楼,建议加 uuid 结尾

  • Docker 部署的时候,怎么把数据库,服务器和代码分离,不知道现在有没有答案,求解 at October 13, 2014

    时隔多天,答案任无,继续求解。

  • 有没有啥爬虫案例可供参考的啊? at October 12, 2014

    https://ruby-china.org/topics/21120 http://flowerwrong.iteye.com/admin/blogs/2106506

  • RubyConf China 2014 早鸟票优惠延长至 10 月 10 日,主题公布 at October 12, 2014

    #27 楼 @small_fish__ 打灰机啊

  • Sublime Text 2 有没有关于 Rails 的插件 at October 11, 2014

  • Sublime Text 2 有没有关于 Rails 的插件 at October 11, 2014

    https://sublime.wbond.net/search/ruby 插件中心 http://blog.codeclimate.com/blog/2012/06/21/sublime-text-2-for-ruby/ 正文和评论。 我用 atom 😃

  • 工作在北京女孩 求 Ruby 职位 at October 10, 2014

    #12 楼 @huacnlee ......

  • 如何实现一个类似 Facebook/ 人人网的添加好友系统? at October 10, 2014

    设计没啥,麻烦的是好友推荐算法以及其中大数据的处理,当然前提是你的用户量大。

  • 工作在北京女孩 求 Ruby 职位 at October 10, 2014

    兵马未动,头像先行

  • 大家在前期设计时都使用什么工具 at October 10, 2014

    yaml

  • 关于 Rails web 加手机 APP 的设计问题 at October 10, 2014

    #10 楼 @hxh1246996371 crof-token 是干嘛的,你得先搞清楚。手机端都是做成 token 形式,见微信,豆瓣,新浪微博 api,ruby-china 也是。

  • 《 Rails 10 日谈》请教社区意见 at October 10, 2014

    其实对于新手来说,一开始都不知道是干嘛的,比如说,初期用rails s,不是后来看源码,谁知道是什么呢……so,需要的 just do it step by step. 当然 step 少点好,但是不建议省略基础,例如基本 linux 命令。所以我推荐 vagrant,而且这玩意夸平台。后面如果有一节需要安装什么软件,例如 imagemagick,ssh 进去安装就可以。

  • 关于 Rails web 加手机 APP 的设计问题 at October 10, 2014

    #3 楼 @hxh1246996371 手机端 api 用 accesstoken,配合 redis 比较好用

  • 《 Rails 10 日谈》请教社区意见 at October 10, 2014

    #9 楼 @PengEdy #8 楼 @sphawkcn 我觉得用 vagrant 会简单一点,下载官方 vagrant 和 virtualbox 的 deb 包,双击安装,然后 petter 做一个 rails 的镜像,给地址学生, 常用命令几个

    vagrant box add 
    vagrant init
    vagrant up
    vagrant ssh
    vagrant halt
    

    https://ruby-china.org/topics/21754

  • 关于 Rails web 加手机 APP 的设计问题 at October 10, 2014

    冲头像,建议 web 端和手机端分手 rails(web)domain.com grape+sinatra+active_record(api)api.domain.com/v1/... 其中 sinatra+active_record 可选

  • 《 Rails 10 日谈》请教社区意见 at October 10, 2014

    vagrant 同样得有基础才能玩,不过比直接给脚本好很多,docker 就算了,折腾 docker 会比 rails 更难。还有一种就是针对主流发行版写通用安装脚本,例如 mac,u12.04,u14.04,arch 就算了,用的应该都是老鸟。 综上,建议 vagrant+virtualbox

  • Rails 怎么处理非浏览器的请求 at October 10, 2014

    #3 楼 @assyer 浏览器一般基于 session, api 一般基于 access_token,简单的基于 http baseAuth

  • 麻烦帮忙推荐一款简单用户认证的 gem,注册都不需要,只是密码限制访问即可 at October 09, 2014

    http_authentication 最轻量级的了。

    class PostsController < ApplicationController  
      USER_NAME, PASSWORD = "dhh", "secret"  
    
      before_filter :authenticate, :except => [ :index ]  
    
      def index  
        render :text => "Everyone can see me!"  
      end  
    
      def edit  
        render :text => "I'm only accessible if you know the password"  
      end  
    
      private  
        def authenticate  
          authenticate_or_request_with_http_basic do |user_name, password|   
            user_name == USER_NAME && password == PASSWORD  
          end  
        end  
    end  
    
  • 问问大家用富文本时有没有碰到过这个问题 at October 09, 2014

    #1 楼 @saiga +1

  • 怎么终止程序运行(不往下执行代码)单并不退出程序? at October 08, 2014

    无限循环 loop

  • cap deploy 一直失敗! at October 08, 2014

    我觉得你先不要忙 capitrano,第一步只配置 bitbuctet 的 ssh,官方有教程,commit 不用输入用户名密码就算成功,ssh -T bitbucket.org 也行。第二部配置服务器的 ssh,网上教程也不少,注意 config 写法,我上面写的很简略,但是可以用,ssh username@ip,直接进入就算成功。第三部在来搞 cap.

  • cap deploy 一直失敗! at October 08, 2014

    #12 楼 @jossjoss54 config 啊,上面列出来了

  • 各位大神,有没有稍微复杂点适合前端新手的开源项目. at October 08, 2014

    新浪,腾讯,百度门户首页

  • Windows 下 Ruby 2.1.3 的 eventmachine 安装方法 at October 07, 2014

    #5 楼 @ericguo not py, 什么方便用什么,这里指代 linux(ubuntu server)

  • cap deploy 一直失敗! at October 07, 2014

    两个点,本机对 bitbucket 的公钥,本机对 ssh 服务器的公钥

    cd .ssh
    ls -lh
    config
    environment
    id_rsa
    id_rsa.pub(bitbucket的)
    id_rsa_thecampus
    id_rsa_thecampus.pub(ssh服务器的)
    known_hosts
    

    config 文件

    Host bitbucket.org
      IdentityFile ~/.ssh/id_rsa
    
    Host ip
      IdentityFile ~/.ssh/id_rsa_thecampus
    

    希望能帮到你

  • Windows 下 Ruby 2.1.3 的 eventmachine 安装方法 at October 06, 2014

    life is short, use ...

  • 求推荐比较好的学习设计,还有设计素材类的网站 at October 06, 2014

    http://www.uisdc.com/ http://huaban.com/ http://ued.taobao.org/blog/ http://cdc.tencent.com/ http://udc.weibo.com/

  • Happycasts: 104-elasticsearch 实现站内搜索 at October 06, 2014

    #13 楼 @happypeter https://github.com/medcl/elasticsearch-analysis-ik

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