Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
李华顺
@huacnlee
管理员
第 2 位会员 / 2011-10-28

[email protected]
长桥证券 (Longbridge)
成都
502 篇帖子 / 9059 条回帖
960 关注者
53 正在关注
105 收藏
打赏作者
GitHub Public Repos
  • autocorrect 1421

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

  • rails-settings-cached 1106

    Global settings for your Rails application.

  • rucaptcha 696

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

  • zed-theme-macos-classic 98

    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 20

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

  • autocorrect-action 11

    GitHub action for use AutoCorrect as lint

  • color-lsp 7

    A document color language server.

  • zed-autocorrect 6

    AutoCorrect for Zed

  • gpui-workspace 5

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

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • update from iOS client at 2012年12月13日

    #5 楼 @shiren1118 是的

  • Play 里面支持时间,就能写出动画了。。 at 2012年12月13日

    啥原理啊

  • rails3 的查询语句问题 at 2012年12月13日

    #2 楼 @Star http://stackoverflow.com/questions/7459275/counter-cache-with-conditions

  • Ruby China 里面的桌面通知是如何做的? at 2012年12月13日

    浏览器 API

  • 为什么 production 和 development 区别那么大呢 at 2012年12月13日

    你应该看看 http://guides.rubyonrails.org/asset_pipeline.html

  • update from iOS client at 2012年12月13日

    #2 楼 @chenfengi 要不你过来一起搞 https://github.com/ruby-china/ruby-china-for-ios 这个吧!

  • 为什么有同鞋学习 Ruby 之后学习 Go?? at 2012年12月13日

    呼唤 @sunfmin

  • SEO Tips at 2012年12月13日

    #14 楼 @hooopo 这个应该和内部连接数量,更新频率有关系

  • rails3 的查询语句问题 at 2012年12月13日
    1. User 里面增加 chenkins_count, bookmarks_count 两个 int 型的字段
    2. Chenkin, Bookmark Model 的 belongs_to :user 改为 belongs_to :user, :counter_cache => true
    3. 查询:
    User.all.select([:id,:first_name,:last_name,:checkins_count,:bookmarks_count]).order("bookmarks_count desc")
    
  • update from iOS client at 2012年12月13日

    额,我最近也在写这个 你做到什么地步了?

  • 在 Mac 上 brew install nginx 时遇到一个 error,请高手指教 at 2012年12月13日

    pcre 没有安装

  • 通过 github 注册的帐号没法用头像吗? at 2012年12月12日

    就在 Ruby China 这边上传就可以了呀

  • enable your site support mobile at 2012年12月12日

    分辨率适配可以看看响应式 Web 设计

  • SEO Tips at 2012年12月12日

    #11 楼 @hooopo 根据 Ruby China 的例子来看,保持稳定的原创内容更新,达到的效果也挺不错了

  • SEO Tips at 2012年12月12日

    一直在不断尝试,但发现上面这些方法都不太管用了

  • [杭州][2012年12月13号] Ruby Thursday 活动召集 at 2012年12月12日

    #15 楼 @yedingding 在看电视,哈哈

  • enable your site support mobile at 2012年12月12日

    用 mobile_fu 很轻松

  • [杭州][2012年12月13号] Ruby Thursday 活动召集 at 2012年12月12日

    来,这回别错过了

  • vim 怎样刷新缩进 [已解决] at 2012年12月12日

    #3 楼 @guyanbiao 是的,你要自己用的时候,得换自己的 API 信息,这里里面的数据我会偶尔删除的

  • vim 怎样刷新缩进 [已解决] at 2012年12月12日

    全选,然后按 = 号

  • 成都的 Ruby/Rails 开发者 -- 请加 qq 群, 邮件组 at 2012年12月12日

    还有我呢

  • 关于 carrierwave-upyun 问题 at 2012年12月11日

    #5 楼 @smallbug carrierwave-upyun 不是用的 Form API

  • 项目目录下的.rvmrc 文件 at 2012年12月11日

    应该是被这个脚本 Hack 了

    $ cat ~/.rvm/scripts/cd
    
    
    #!/usr/bin/env bash
    
    # Source a .rvmrc file in a directory after changing to it, if it exists.  To
    # disable this feature, set rvm_project_rvmrc=0 in /etc/rvmrc or $HOME/.rvmrc
    if (( ${rvm_project_rvmrc:-1} > 0 ))
    then
      __rvm_setup_cd()
      {
        # try to use smartcd function, fallback to builtin
        typeset __cd_prefix __command
        if typeset -f smartcd >/dev/null 2>/dev/null
        then __cd_prefix="smartcd"
        else __cd_prefix="builtin"
        fi
    
        __rvm_after_cd()
        {
          typeset rvm_hook
          rvm_hook="after_cd"
          if [[ -n "${rvm_scripts_path:-}" || -n "${rvm_path:-}" ]]
          then source "${rvm_scripts_path:-$rvm_path/scripts}/hook"
          fi
        }
    
        __rvm_setup_cd_function()
        {
          typeset __cd_prefix __command
          __cd_prefix=$1
          __command=$2
          eval "
    ${__command}(){
      if ${__cd_prefix} ${__command} \"\$@\"
      then
        [[ -n \"\${rvm_current_rvmrc:-""}\" && \"\$*\" == \".\" ]] && rvm_current_rvmrc=\"\" || true
        __rvm_do_with_env_before
        __rvm_project_rvmrc
        __rvm_after_cd
        __rvm_do_with_env_after
        return 0
      else
        return \$?
      fi
    }"
        }
    
        if [[ -n "${ZSH_VERSION:-}" ]]
        then
          autoload is-at-least
          if is-at-least 4.3.4 >/dev/null 2>&1; then
            # On zsh, use chpwd_functions
            export -a chpwd_functions
            chpwd_functions=( "${chpwd_functions[@]}" __rvm_do_with_env_before __rvm_project_rvmrc __rvm_after_cd __rvm_do_with_env_after )
          else
            for __command in cd popd pushd
            do __rvm_setup_cd_function "${__cd_prefix}" "${__command}"
            done
          fi
        else
          for __command in cd popd pushd
          do __rvm_setup_cd_function "${__cd_prefix}" "${__command}"
          done
        fi
      }
      __rvm_setup_cd
      # This functionality is opt-in by setting rvm_cd_complete_flag=1 in ~/.rvmrc
      # Generic bash cd completion seems to work great for most, so this is only
      # for those that have some issues with that.
      if (( ${rvm_cd_complete_flag:-0} == 1 ))
      then
        # If $CDPATH is set, bash should tab-complete based on directories in those paths,
        # but with the cd function above, the built-in tab-complete ignores $CDPATH. This
        # function returns that functionality.
        _rvm_cd_complete ()
        {
          typeset directory current matches item index sep
          sep="${IFS}"
          export IFS
          IFS=$'\n'
          COMPREPLY=()
          current="${COMP_WORDS[COMP_CWORD]}"
          if [[ -n "$CDPATH" && ${current:0:1} != "/" ]] ; then
            index=0
            # The change to IFS above means that the \tr below should replace ':'
            # with a newline rather than a space. A space would be ignored, breaking
            # TAB completion based on CDPATH again
            for directory in $(printf "%b" "$CDPATH" | \tr -s ':' '\n') ; do
              for item in $( compgen -d "$directory/$current" ) ; do
                COMPREPLY[index++]=${item#$directory/}
              done
            done
          else
            COMPREPLY=( $(compgen -d ${current}) )
          fi
          IFS="${sep}";
        }
        complete -o bashdefault -o default -o filenames -o dirnames -o nospace -F _rvm_cd_complete cd
      fi
    fi
    
  • gem 推荐:better_errors at 2012年12月11日

    哎,Django 的错误信息就是这个样 另外没觉得有什么提升,只是排版换了而已

  • 关于 carrierwave-upyun 问题 at 2012年12月10日

    API

  • 最近开始写博客,发现一个在线的 Markdown editor 还不错,推荐一下,不知道大家用的什么呢? at 2012年12月10日

    TextMate 就能搞定,不必用在线的 还有 Mou 也不错的

  • sublime 怎么了? at 2012年12月10日

    你系统的问题

  • 用 C 生成 ruby 的类库的问题 at 2012年12月10日

    而 fast-aes 的话,Github 上面有说明的

    This is a lightweight, fast implementation of AES

  • 用 C 生成 ruby 的类库的问题 at 2012年12月10日

    #2 楼 @lionzixuanyuan https://gist.github.com/1882230

  • 用 C 生成 ruby 的类库的问题 at 2012年12月10日

    Aes 加密 Ruby 原生库里面就有的

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