Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
秦关属楚
@gonglexin
高级会员
第 20 位会员 / 2011-10-31

[email protected]
长沙
11 篇帖子 / 174 条回帖
18 关注者
25 正在关注
93 收藏
临渊羡鱼,不如退而结网。
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

  • mbti_bsky 0

    MBTI test for Bluesky users

  • .config 0

  • gonglexin 0

  • ChatGPT-Next-Web 0

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

  • gonglexin.github.io 0

    My personal blog site

  • Exercism 0

    My solution for Exercism

  • smart_wheel 0

  • advent_of_code 0

    Elixir solution for Advent of Code

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • Atom Editor 有 deb 包了 at 2014年10月14日

    你会用回 Vim 的。

  • FFTS.IO [更新] at 2014年10月07日

    :plus1:

  • 关于复用已有项目的代码 at 2014年10月07日

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

  • 请问有一个很多资料的 github repo 的地址。 at 2014年09月19日

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

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

    他很久才看邮件的,我 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 2014年08月02日

    好顶赞 :plus1:

  • Vim 插件推荐 - vim-ctrlspace at 2014年07月30日

    #6 楼 @kissyid 这个很赞!👍

  • Vim 插件推荐 - vim-ctrlspace at 2014年07月10日

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

  • Install Ruby The "Postmodern" Way at 2014年07月09日

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

  • 全新的 Ruby Web 框架:Lotus at 2014年06月24日

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

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

    楼主,加上这句试试

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

    #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 2014年05月28日

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

  • Why Ruby blocks exist? at 2014年05月20日

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

  • 大神级贪吃蛇你能玩到哪? at 2014年05月17日

    :plus1: 高手!

  • (纯干活) Rails 高效开发工具 vim 指南 at 2014年05月17日

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

  • 终于也忍不住了 at 2014年04月29日

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

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

  • 终于也忍不住了 at 2014年04月28日

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

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

    快提前售票吧

  • PragmaticProgrammer 所有电子书 6 折优惠 at 2014年04月24日

    不错,买了两本。

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

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

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

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

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

    还没招满吗?

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

    我一直用 fadeOut

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

    Homebrew, iTerm2, Vim, Alfred

  • [长沙] 果子科技招聘 Rails 程序员 at 2014年03月24日

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

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

    无数字版

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