Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
Macrow
@macrow
VIP
NO. 269 / 2011-11-26

重庆
4 Topics / 73 Replies
2 Followers
0 Following
9 Favorites
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
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • 你是否经常听到楼上有弹珠掉地上的声音? at July 26, 2013

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

  • JavaScript MVC 框架 PK:Angular、Backbone、CanJS 与 Ember at May 02, 2013

    Ember.js + 1

  • Sequel 这个 Gem 有谁用过? at February 21, 2013

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

  • rails_kindeditor 的问题 at February 05, 2013

    #1 楼 @hz_qiuyuanxin

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

  • CoffeeScript 大佬,救驾 at January 09, 2013

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

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

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

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

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

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

  • 网站静态化策略求教 at December 10, 2012

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

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

  • mac os x 10.6.8 下安装 at November 04, 2012

    https://github.com/thoughtbot/laptop

    看看这个吧!

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

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

  • 哪个富文本编辑器好一些? at September 06, 2012

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

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

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

  • 香港服务器 at September 04, 2012

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

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

  • 香港服务器 at September 04, 2012

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

  • 想买新的本,不知道买什么样的好 at August 14, 2012

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

  • 最近想到一个关于上传图片的问题。 at August 12, 2012

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

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

    黑苹果也是一个选择。

  • 哪个富文本编辑器好一些? at June 17, 2012

    #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 June 17, 2012

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

  • Ruby/Rails 及相关 26 本英文图书简评 at June 16, 2012

    发现个错别字:

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

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

  • 哪个富文本编辑器好一些? at June 15, 2012

    #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 June 02, 2012

    Good, Thanks

  • 请教如何用 Capybara 选择 Chosen? at May 15, 2012

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

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

  • pjax 是什么以及为什么推荐大家用 at May 09, 2012

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

  • MAC X86 有人试用过吗,靠谱吗,如何搞? at April 16, 2012

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

  • 哪个富文本编辑器好一些? at April 04, 2012

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

    https://github.com/Macrow/rails_kindeditor

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

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

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