Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
秦关属楚
@gonglexin
VIP
NO. 20 / 2011-10-31

[email protected]
长沙
11 Topics / 174 Replies
18 Followers
25 Following
93 Favorites
临渊羡鱼,不如退而结网。
GitHub Public Repos
  • poker_face 13

    Transform your webcam feed into stickers or avatars; Pose questions about the camera images to GPT

  • ex_instagram 5

  • LazyVim 0

    Neovim config for the lazy

  • gonglexin.github.io 0

    My personal blog site

  • gonglexin 0

  • .config 0

  • mbti_bsky 0

    MBTI test for Bluesky users

  • MoonTV 0

    一个开箱即用的、跨平台的影视聚合播放站

  • ChatGPT-Next-Web 0

    A cross-platform ChatGPT/Gemini UI (Web / PWA / Linux / Win / MacOS). 一键拥有你自己的跨平台 ChatGPT/Gemini 应用。

  • Exercism 0

    My solution for Exercism

More on GitHub
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • Atom Editor 有 deb 包了 at October 14, 2014

    你会用回 Vim 的。

  • FFTS.IO [更新] at October 07, 2014

    :plus1:

  • 关于复用已有项目的代码 at October 07, 2014

    http://edgeguides.rubyonrails.org/rails_application_templates.html

  • 请问有一个很多资料的 github repo 的地址。 at September 19, 2014

    #6 楼 @lmorenbit 你确定你要的不是这个? https://github.com/thoughtbot/guides/

  • 买了本书, 作者一直不发货怎么办呢...... at August 05, 2014

    他很久才看邮件的,我 4 月份给他写过邮件,他 6 月才回。另外推特他也不活跃了。我想他是在享受生活,没时间处理这个。

    截取 Jesse 的邮件回复:

    In terms of my online contributions, I think of this like the pendulum swinging. For a couple of years I did a lot of writing books, articles, etc, went to some conferences and spent most of my free time working on all things related to my books + biz. Now the pendulum is swinging the other way and I'm spending a lot less of my personal time working on those projects. I am working on exciting new projects, but it's offline, family-related stuff rather than new books. Maybe the pendulum will swing back in time :)

  • Yay, GIL will be removed at August 02, 2014

    好顶赞 :plus1:

  • Vim 插件推荐 - vim-ctrlspace at July 30, 2014

    #6 楼 @kissyid 这个很赞!👍

  • Vim 插件推荐 - vim-ctrlspace at July 10, 2014

    #4 楼 @kissyid https://github.com/szw/vim-ctrlspace#status-line 换 airline ?

  • Install Ruby The "Postmodern" Way at July 09, 2014

    很早就是这么干了,ruby-install + chruby 不管是本地环境还是服务器都很不错。

  • 全新的 Ruby Web 框架:Lotus at June 24, 2014

    很早之前就看到 rkh 大神也被拉到这个项目之中,可惜我找遍了 commits 也没看到他有为这个项目提交代码。

  • 使用 mina 部署,输入 ssh 密码时非常难操作 at June 16, 2014

    楼主,加上这句试试

    set :term_mode, :system
    
  • 我的权限管理简单实现 (非 gem) at May 28, 2014

    #7 楼 @Peter 没使用过 Cancan, 刚刚看了下 Cancan 的介绍,感觉 Cancan 是从 user 的角度出发去检查他的各种 ablity,貌似管理权限都是在一个叫 Ablity 的文件里面。而 Pundit 给我的感觉是从 model (resources) 出发,精细到每一个 action 操作定义他的权限。每一个 model 都可以定义一个权限管理的 policy class, 针对 Controller 里面的 new, create, update ... 在 policy class 里面定义对应的 new?, create?, update? 规则。对于 "各种 role, 每个 role 都有不同权限" 完全可以把这些逻辑写到对应的细粒度的 action rule (new?, create?, update? ...) 里面。

    Cancan 应该也很容易做到这些,我选择 Pundit 的原因是 pundit 更容易维护,文档更清晰,不喜欢 Cancancan 这个名字。。。

  • 我的权限管理简单实现 (非 gem) at May 28, 2014

    最近在使用 Pundit, 独立出来的 policy classes 很容易管理,感觉不错!

  • Why Ruby blocks exist? at May 20, 2014

    怎么没有第一篇? http://programming.oreilly.com/2014/02/why-ruby-blocks-exist.html

  • 大神级贪吃蛇你能玩到哪? at May 17, 2014

    :plus1: 高手!

  • (纯干活) Rails 高效开发工具 vim 指南 at May 17, 2014

    注释我喜欢用 https://github.com/tomtom/tcomment_vim, 推荐楼主试试,不需要选中,直接 gcc,取消注释也是 gcc,各种语言支持得也很好,更新比 NERDCommenter 活跃。

  • 终于也忍不住了 at April 29, 2014

    我倾向于无刻,至于换键帽这种折腾的事情,真要动手还不如换彩色键帽。那些用有刻的同学,你需要的只是一张图而已:

    高清地址:http://i.imgur.com/aTzHB.jpg

  • 终于也忍不住了 at April 28, 2014

    :plus1: 比较喜欢无刻的,从实际使用感受来说你压根不会看上面的刻字。

  • 我是 RubyConf China 的组织者,介绍下第六届的进展还有一些个人想法 at April 28, 2014

    快提前售票吧

  • PragmaticProgrammer 所有电子书 6 折优惠 at April 24, 2014

    不错,买了两本。

  • 写了个 播报"xx 宝"收益的命令行工具 (Ruby 版) at April 20, 2014

    之前模仿 xxb 写了个看莱特币价格的:ltc

  • Linode 新网站发布了,啊 SSD 来了,内存翻倍了,网络 40Gbps 了 at April 19, 2014

    因为这个,往我的 linode 账户里充了点钱。

  • [长沙] 万流网招聘 Ruby on Rails, Nodejs 工程师,前端开发工程师 7K 起 at April 14, 2014

    还没招满吗?

  • [已解决] 那种会自动消失的通知功能怎么弄的? at April 01, 2014

    我一直用 fadeOut

  • 如果让你推荐 “离开就不能活” 的工具,你会说……?(主要 Mac 下,其他平台也可推荐) at March 25, 2014

    Homebrew, iTerm2, Vim, Alfred

  • [长沙] 果子科技招聘 Rails 程序员 at March 24, 2014

    高桥国际,好近。楼主有没有来参加过 Ruby 聚会?

  • 快速生成一个 [1,2,3,4,5,6,7,8,9,10] 的数组 at March 13, 2014

    无数字版

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