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

huacnlee@gmail.com
长桥证券 (Longbridge)
成都
502 Topics / 9058 Replies
959 Followers
53 Following
105 Favorites
Reward
GitHub Public Repos
  • autocorrect 1387

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

  • rails-settings-cached 1098

    Global settings for your Rails application.

  • rucaptcha 695

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

  • zed-theme-macos-classic 91

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

  • vscode-macos-classic.t... 21

    macOS Classic theme for Visual Studio Code

  • zed-extension-action 18

    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-gradient 5

    Generate a Gradient like CSS

  • gpui-workspace 4

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

More on GitHub
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • MobaXterm, 从此基于 Windows 10 开发 Rails at July 05, 2016

    #8 楼 @derekyxie .NET 现在已经跨平台了

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

  • Captrano3 deploy 的时候,需要输入两次密码? at July 04, 2016

    有执行 sudo 吧?

  • .NET Core 1.0 正式发布了 at July 04, 2016

    ASP.net Core 1.0 Scaffold:

    $ npm install -g yo bower grunt-cli gulp generator-aspnet 
    $ yo aspnet
    

    然后:

    ? What type of application do you want to create? Web Application Basic [without Membership and Authorization]
    ? Which UI framework would you like to use? Bootstrap (3.3.6)
    ? What's the name of your ASP.NET application?
    
  • 有没有可能用 localStorage 把 js 缓存一下? at July 04, 2016

    额,浏览器访问的时候 Cache-Control 不一样,貌似被 UpYun 篡改了,我在 CDN 里面配置好一年有效期的

  • 有没有可能用 localStorage 把 js 缓存一下? at July 04, 2016

    #12 楼 @42thcoder

    $ curl -I https://ruby-china-assets.b0.upaiyun.com/assets/big_logo-d9dbac4f4816454b8779639d1795c3b21eba54778ec48608265bb2b490c00b7c.png
    HTTP/1.1 200 OK
    Server: marco/0.14.0
    Date: Mon, 04 Jul 2016 01:44:03 GMT
    Content-Type: image/png
    Content-Length: 133949
    Connection: keep-alive
    X-Source: C/200
    Last-Modified: Thu, 25 Feb 2016 07:34:19 GMT
    Cache-Control: max-age=31536000
    ETag: "56ceae7b-20b3d"
    Expires: Sat, 17 Jun 2017 02:17:33 GMT
    Accept-Ranges: bytes
    Age: 1466790
    X-Cache: HIT|HIT from mix-bj-pek-104; HIT(R) from ctn-zj-lna-197
    X-Request-Id: cc5b174805432f58c14074113e540917; e3974ae20bf3e0abc81a76edfee418ae
    Via: S.mix-bj-pek-103, T.77102.H.2, T.77102.H.1, V.mix-bj-pek-104, T.101204.R.1, M.ctn-zj-lna-197
    
  • bin/rails server 启动过程中遇到 LoadError 异常 at July 04, 2016

    重装 Gem,看起来 Nokogiri 的 C 扩展的库有问题

  • 简历投递有哪些技巧 at July 04, 2016

    技术岗位附上 Github、SO、个人博客的地址

    如果在以上地方没什么干货,最好还是不要给出来 🙅 现在面试的人都掌握了各种面试技巧

  • MobaXterm, 从此基于 Windows 10 开发 Rails at July 04, 2016

    等 Bash on Ubuntu on Windows 稳定下来,Windows 上面开发 Ruby 就有救了

  • Rails 5 还是 Rails 4.x + Grape? at July 04, 2016

    都已经有 Rails 5 了,就算要用 Grape 也要用 Rails 5 啊,干嘛还 Rails 4,等你项目做好以后再搞升级 Rails?😪

  • Rails 5 还是 Rails 4.x + Grape? at July 02, 2016

    Rails 5,有什么好担心的?

  • 有没有可能用 localStorage 把 js 缓存一下? at July 01, 2016

    ActionCable 不会卡住页面的吧

  • Rails 5 正式发布了 - Action Cable, API mode 以及其他新特性介绍 at July 01, 2016

    Action Model & Active Record

    • Remove ActiveModel::Serializers::Xml from core.
    • ActiveModel::AttributeAssignment ```rb class Cat include ActiveModel::AttributeAssignment attr_accessor :name, :status end

    cat = Cat.new cat.assign_attributes(name: "Gorby", status: "yawning") cat.name # => 'Gorby' cat.status # => 'yawning' cat.assign_attributes(status: "sleeping") cat.name # => 'Gorby' cat.status # => 'sleeping'

    - 字段值过大的时候抛 `ActiveRecord::ValueTooLong` ,而不想以前那样的奇怪错误(GitLab 场景里面有)
    
  • Rails 5 正式发布了 - Action Cable, API mode 以及其他新特性介绍 at July 01, 2016

    Action View 要点:

    • render partial: 'notifications/notification', collection: ..., cached: true 这类动作的 cache 现在支持 multiple fetch (批量获取缓存),减少连接次数;
    • I18n.translate 只有在开启了 config.action_view.debug_missing_translation 配置的时候才会输出 missing translation keys 错误信息到 HTML,再也不用烦恼了;
    • disable_with 现在成为 Submit Button 的默认行为了;
  • Rails 5 正式发布了 - Action Cable, API mode 以及其他新特性介绍 at July 01, 2016

    Action Pack 改动要点:

    • Controller 里面可以用 helpers 引入 Helper 了;
    • ETag 方面 fresh_when, stale? 方法现在开始默认设置 weak ETag;
    • params.dig 类似 Ruby 的 dig 方法;
    • ActionController::TestCase 没了,以后用 IntegrationTest 代替;
    • Add "image/svg+xml" as a default mime type (与时俱进);
    • redirect_back 代替 redirect_to :back
    • 遇到错误的 UTF-8 querystring 值,现在会抛 ActionController::BadRequest 错误;
    • Routes 里面可以写多个 root 声明,例如可以加条件判断域名来指向不同的 root;
  • 如何写 ActionCable 的单元测试? at July 01, 2016

    https://github.com/NullVoxPopuli/action_cable_client

    这个或许可以

  • Rails 5 正式发布了 - Action Cable, API mode 以及其他新特性介绍 at July 01, 2016

    此外背后的 Rack 以及 2.0 了哦!不过我没找到准确的更新内容介绍 😼

    由于 Sidekiq 的管理界面用了 Sinatra,而 Sinatra 这货节奏比较慢(Rack 2.0 beta 发布到现在这么久了,Sinatra 依赖改 rack 2.0 的版本还没发布),依然在用 rack 1.x 所以,这里会有问题。

    https://github.com/sinatra/sinatra/pull/1131

    WTB: one "merge" button click. Willing to spend many, many OSS dollars, i.e. goodwill and high fives. - by Sidekiq 的作者 mperham

    大家都焦急的等待着 Sinatra 的项目负责人点击 Merge 按钮 😖 😣 🙀

  • unused - A command line tool to identify unused code. at July 01, 2016

    #7 楼 @juanito 流程太复杂了 😪

  • 有些 Gem 总是有问题 at June 30, 2016

    UnknownHostError DNS 解析的问题吧

  • 现在大家都用什么 CSS 框架?求推荐 at June 30, 2016

    #36 楼 @small_fish__ bem? 什么东西

  • 现在大家都用什么 CSS 框架?求推荐 at June 30, 2016

    不过话说回来,有时候我也不太喜欢 Bootstrap 的某些地方... 覆盖样式略显困难,原来的代码写太多了,设计差别大的时候要覆盖好多属性...

  • 现在大家都用什么 CSS 框架?求推荐 at June 30, 2016

    你们以为 Bootstrap 带来的是一套 CSS 组件和样式么!?

    不!Bootstrap 给我们的是一套前端规范,用它你再也不用和你团队的其他人争论怎么组织哪些组件,怎么命名了,Bootstrap 给你指定了一套路子,而且新招进来的人也能很快熟悉或者本来就已经熟悉了。

  • 推荐 rails-template 给大家, 极速构建一个全新又老道的 Rails 5 项目 at June 30, 2016

    Bootstrap 可以用 4 了 😌

  • 推荐 rails-template 给大家, 极速构建一个全新又老道的 Rails 5 项目 at June 30, 2016

    不能理解不用 simple_form 的想法,哪些表单反复写 HTML 不闲浪费时间么

  • .NET Core 1.0 正式发布了 at June 30, 2016

    #17 楼 @msg7086 😊

  • RubyConf China 2016 时间地点确定及讲师征集 at June 29, 2016

    强迫症给你加了空格 😶

  • 办公室午睡最佳实践? at June 29, 2016

    习惯了趴着(桌子上),躺着,或者靠椅子上都睡不着...

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