Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
Macrow
@macrow
高级会员
第 269 位会员 / 2011-11-26

重庆
4 篇帖子 / 73 条回帖
2 关注者
0 正在关注
9 收藏
GitHub Public Repos
  • puppeteer-stream 1

    A Library for puppeteer to retrieve audio and/or video streams

  • navicat_reset_mac 0

    navicat16/17 mac版无限重置试用期脚本

  • uni-fastkit 0

    快如其名,开箱即用。基于uni-app + vue 3 + vite 6 + Typescript + Tailwind CSS构建的快速开发框架。

  • epic-designer 0

    vue3 表单设计器

  • dify-on-dingding-go 0

    一分钟部署 Go语言实现钉钉机器人接入dify工作流,完成ai 流式问答

  • oo-web-apps 0

  • oo-server 0

  • document-server-package 0

    Packages for Document Server

  • build_tools 0

    Used to build ONLYOFFICE DocumentServer-related products

  • Docker-DocumentServer 0

    ONLYOFFICE Document Server is an online office suite comprising viewers and editors for texts, sp...

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • 你是否经常听到楼上有弹珠掉地上的声音? at 2013年07月26日

    确实有经常听到,有意思。

  • JavaScript MVC 框架 PK:Angular、Backbone、CanJS 与 Ember at 2013年05月02日

    Ember.js + 1

  • Sequel 这个 Gem 有谁用过? at 2013年02月21日

    ^_^ 之前内容看错,不好意思。

  • rails_kindeditor 的问题 at 2013年02月05日

    #1 楼 @hz_qiuyuanxin

    我已经对代码进行了更新,可以满足你的需求,详见: https://github.com/Macrow/rails_kindeditor/issues/23

  • CoffeeScript 大佬,救驾 at 2013年01月09日

    纯的 js 里面怎么能运行 ruby 代码。 非要动态调用,可以使用$.getScript('/your/url') 来发起 ajax 请求,不过还是 lgn21st 的做法比较好。

  • 话说 html 标签的 id 值可以设置多个吗?怎么改变 simple-form input 的 id 值? at 2013年01月06日

    既然是 id,肯定是唯一的,不然叫 id(identification)干嘛。

    如果要改 simple_form 生成的 id,应该这样做:

    <%= f.input :title, input_html: { id: 'your_id' } %>
    
  • 独角马就是 Github 的大白鲸 at 2012年12月14日

    Hongli Lai 好像是 Passenger, REE 的核心成员。

  • 网站静态化策略求教 at 2012年12月10日

    建议去看一下 Gregg Pollack 的 Scaling Rails(自己搜索下载,是免费视频),虽然有点老了,讲的是 Rails2 的内容,但思路很受用,很多方法目前还很管用,里面有很多关于缓存的策略。

    另外 Rails4 即将带来 Russian-doll,更加好用。

  • mac os x 10.6.8 下安装 at 2012年11月04日

    https://github.com/thoughtbot/laptop

    看看这个吧!

  • 买了个 Mac Mini,想问 16g 内存有必要吗? at 2012年09月11日

    不用虚拟机,可能差别不太大。

  • 哪个富文本编辑器好一些? at 2012年09月06日

    #21 楼 @sanivbyfish #22 楼 @chinacheng #24 楼 @xranthoar

    不好意思,之前没有对 mongodb 数据库存储做充分测试,而且 mongoid 的 api 好像有些更新,我已经对 rails_kindeditor 代码做了更新,经测试,已经修正了错误。

    https://github.com/Macrow/rails_kindeditor/issues/13

  • 香港服务器 at 2012年09月04日

    #8 楼 @metal 具体不知道是 OPEN VZ 还是 XEN,我用的是最便宜的,我全部用的 ssh 登陆,通过终端操作的。

    我用超级 ping 工具,在香港的服务器在国内的访问速度还不错。另外,这家 vps 可以用支付宝。

  • 香港服务器 at 2012年09月04日

    用过 vr.org,他们有香港的服务器,最便宜的 vps 一个月才 10 美金,速度在国内访问很快。

  • 想买新的本,不知道买什么样的好 at 2012年08月14日

    想 DIY 和折腾的话,上个准系统也是不错的选择。

  • 最近想到一个关于上传图片的问题。 at 2012年08月12日

    可以只允许注册用户上传,每上传一次,就把信息记录到该用户名下, 每名用户可以限制上传文件的数量和大小。

  • [冲动欲望] Windows 本本用的火大死了,明天去买 MBA 了 快点阻止我 >.< at 2012年06月26日

    黑苹果也是一个选择。

  • 哪个富文本编辑器好一些? at 2012年06月17日

    #13 楼 @sharp 可以直接使用 kindeditor 自身的参数,配置 items 参数就可以了,具体可以看看http://www.kindsoft.net/docs/option.html 里面关于 items 的参数。

    比如加载官方的 simple 模式:

    <%= f.kindeditor :content, :items => ['fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline', 'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist', 'insertunorderedlist', '|', 'emoticons', 'image', 'link'] %>
    
  • Ruby/Rails 及相关 26 本英文图书简评 at 2012年06月17日

    #16 楼 @hisea 哦,明白了,不好意思。

  • Ruby/Rails 及相关 26 本英文图书简评 at 2012年06月16日

    发现个错别字:

    Rails AntiPatterns: Best Practice Ruby on Rails Refactoring 一本关于 Rails 重构的书,列举了很多 Rails 的最差实践,并提出解决方案。

    正确的应该是“最佳实践”

  • 哪个富文本编辑器好一些? at 2012年06月15日

    #8 楼 @boardsky 加入语言参数即可: :langType => 'en'

    #form_tag:
    <%= kindeditor_tag :content, 'default content value',  :langType => 'en' %>
    
    #form_for:
    <%= form_for @article do |f| -%>
      <%= f.kindeditor :content, :langType => 'en' %>
    <% end -%>
    
    #simple_form:
    <%= form.input :content, :as => :kindeditor, :input_html => { :langType => 'en' } %>
    
  • 用 Yahoo Smusher 为你的网站提速 at 2012年06月02日

    Good, Thanks

  • 请教如何用 Capybara 选择 Chosen? at 2012年05月15日

    谢谢大家,我已经找到答案了,感谢 Github 上的朋友,也感谢 Ruby China 上的朋友。

    详见: https://gist.github.com/1391107

  • pjax 是什么以及为什么推荐大家用 at 2012年05月09日

    试用过,觉得很不错,而且 form 的提交也可以 pjax,在 js 和 css 文件比较多的情况下,客户端相应会快很多,适合 modern browsers.

  • MAC X86 有人试用过吗,靠谱吗,如何搞? at 2012年04月16日

    有钱就用 Mac,说实话黑苹果确实挺折腾的,不过还有那么一点点 DIY 的乐趣,我把笔记本换了 U、内存、无线网卡(原来的不兼容 lion),再换上 SSD 后,装上 Lion 和白苹果用起来差不多。不过我已下决心下一台电脑换 Mac,折腾够了。

  • 哪个富文本编辑器好一些? at 2012年04月04日

    kindeditor +1 最大好处,兼容万恶的 IE6!

    https://github.com/Macrow/rails_kindeditor

  • 有没有在 mac 系统下配置 ror 环境好一点的说明啊。 at 2012年03月31日

    看看这个吧: https://github.com/thoughtbot/laptop

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