Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
李华顺
@huacnlee
Admin
NO. 2 / 2011-10-28

[email protected]
长桥证券 (Longbridge)
成都
502 Topics / 9058 Replies
959 Followers
53 Following
105 Favorites
Reward
GitHub Public Repos
  • autocorrect 1412

    A linter and formatter to help you to improve copywriting, correct spaces, words, and punctuation...

  • rails-settings-cached 1104

    Global settings for your Rails application.

  • rucaptcha 697

    Captcha Gem for Rails, which generates captcha image by Rust.

  • zed-theme-macos-classic 97

    A macOS native style theme for Zed, let it same like native app in macOS.

  • vscode-macos-classic.t... 22

    macOS Classic theme for Visual Studio Code

  • zed-extension-action 19

    GitHub Action for automatically bump Zed Extensions version after a release.

  • autocorrect-action 11

    GitHub action for use AutoCorrect as lint

  • zed-autocorrect 6

    AutoCorrect for Zed

  • gpui-workspace 4

    Dock layout UI component for GPUI, that extracted from Zed project.

  • zed-lalrpop 3

    LALRPOP parser grammar support for Zed.

More on GitHub
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • Grape 如何实现不需要重启服务器,自动编译 reload at November 18, 2013

    #4 楼 @ruby_sky Grape 0.6.0 版本 + Rails 4 就可以了,只需要在 application.rb 里面设置就可以了

    config.paths.add "app/api", :glob => "**/*.rb"
    config.autoload_paths += %W(#{config.root}/app/**/*)
    

    Ruby China 的不行,Ruby China 的 Grape 不是新版本

  • Grape 如何实现不需要重启服务器,自动编译 reload at November 18, 2013

    Rails 4 跑,用新版本的 Grape 自动 reload 已经不是问题了

  • GeoKit 后台获取 Google Map 数据遭遇 Geokit::TooManyQueriesError at November 15, 2013

    #4 楼 @raven https://developers.google.com/maps/documentation/geocoding/#Limits

    使用 Google Geocoding API 时,每天发送的地理位置查询请求不得超过 2,500 个。(Google Maps API for Business 用户每天最多可执行 100,000 个请求。)执行此限制是为了防止滥用和/或出于其他目的使用 Geocoding API,并且此限制以后可能会在不另作通知的情况下发生变化。此外,我们还设定了请求速率限制,以防滥用此服务。如果您超出了 24 小时限制或以其他方式滥用此服务,Geocoding API 可能会临时停止运行。如果您继续超出此限制,那么系统将阻止您访问 Geocoding API。

    注意:Geocoding API 只能与 Google 地图配合使用;不得只进行地理编码而不在地图上显示结果。有关允许的用法的完整详情,请参阅 Maps API 服务条款许可限制。

  • [已解决] mongoid 的短板?无法实现 accepts_nested_attributes_for 的 find_or_create 方式 at November 15, 2013

    可以的,我以前搞过,不过怎么弄的现在记不清了

  • ruby-china 使用了 at.js,哪后台处理是在哪里 action 里面呢?好像找不到! at November 14, 2013

    没有的,是 JS 在页面上面找出的用户名

  • GeoKit 后台获取 Google Map 数据遭遇 Geokit::TooManyQueriesError at November 14, 2013

    我记得 Google Map API 的说明,Geocoding 的查询是不允许用在非地图显示的地方,同时也有请求次数限制。并且还提到,不知道哪天会去掉

    人家既然有限制,肯定有记录 IP 什么的,换 Key 是没用的,你只能做的就是要么换别的服务,要么到了限制次数就不要再查询了

  • 修改默认的 Gemfile at November 14, 2013

    rails new app 在 bundle install 的时候,可以中断掉,修改好 Gemfile 以后再 bundle install

  • Ruby China 是采用了什么架构和技术让网站这么快的? at November 14, 2013

    #45 楼 @dplord 请不要测试,用预览

  • 如何做一些简单的网站图标? at November 13, 2013

    学设计,不求人,哈哈哈

  • 求大侠给个思路,关于一对多关联提交表单的问题 at November 13, 2013

    railscasts 上面找 nested form 看看

  • 关于多线程服务器的问题 at November 12, 2013

    #7 楼 @allenlsy 待研究,不清楚细节

  • 关于多线程服务器的问题 at November 11, 2013

    Puma 在 MRI Ruby 上面这些非 IO 的请求是无法并行的

    http://ruby-china.org/topics/15140

  • 对于 md5 字符串,有没有 hash 函数可以映射成整数 at November 11, 2013

    #4 楼 @skandhas 这个会变动

    $ irb
    irb(main):003:0> "aa".hash
    => 3777933626280241396
    irb(main):004:0> exit
    
    $ irb
    irb(main):001:0> "aa".hash
    => -2547269650278437418
    irb(main):002:0>
    
  • @huacnlee, 为什么在 ruby-china-for-ios 里,用 restkit 替换了 nsrails at November 10, 2013

    没什么特别原因,你想多了,这个代码很初级的,不要参考

  • 酷站应该清理下了 at November 08, 2013

    已经清理了,顺便后台加了搜索功能方便寻找

  • Ruby 官网新设计 (結果公布) at November 08, 2013

    👏 ❤

  • Enums for Active Record at November 07, 2013

    Mongoid 版本

    https://github.com/thetron/mongoid-enum

  • 有从杭州去上海参加 iOS 7 Tech Talk 的吗? at November 07, 2013

    我们这边有两个,不过没我

  • Enums for Active Record at November 06, 2013

    #20 楼 @poshboytl 唉,你换马甲以后,我都不认识了...头像没有识别度啊!

  • 用 open-uri 抓取网页 at November 06, 2013

    浏览器第二次访问的时候有可能是 cache,所以快

  • Enums for Active Record at November 06, 2013

    #18 楼 @poshboytl 这 gem 的名字注定活不长啊

  • 发现 Puma 用 JRuby 来跑确实快了好多 at November 06, 2013

    这是测的 Hello world 吧,不算数

  • Enums for Active Record at November 06, 2013

    重点还是提供的这几个方法,会带来很多便利,不用每个地方都写一次,我之前还有些那种专门为 Dropdown 生成 option 而设计的方法

  • ElasticSearch 初次使用小结,一起学习进步哈~ at November 06, 2013

    用过,Tire 的 DSL 比较反人类,ElasticSearch 的文档页面设计让人眼瞎

    后面换回 Solr 了

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