Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
冯卓
@fenprace
高级会员
第 374 位会员 / 2011-12-03

北京
17 篇帖子 / 224 条回帖
1 关注者
0 正在关注
71 收藏
正常情况下,这个地方应该显示:“这哥们儿没签名”。
GitHub Public Repos
  • Patch-of-BITJWC 2

    A script fixing bugs on the pages of jwc.bit.edu.cn.

  • QRuery 1

    QR Generator with GUI (based on Electron)

  • CarWash 1

    Source Codes of CarWash Program.

  • openrc-docs-zh-hans 1

    本项目旨在整理和翻译 OpenRC 项目中的一些文档和手册。

  • FakeRecoil 1

    A Naive Recoil Implementation.

  • openai-translator 0

    A select-to-translate utility that leverages ChatGPT.

  • SwiftMos 0

  • brook-docker 0

    Docker image builder for Brook

  • generative-ai-for-begi... 0

    12 Lessons, Get Started Building with Generative AI 🔗 https://microsoft.github.io/generative-ai-...

  • desktop-configurations 0

    My Linux desktop environment configurations for i3, polybar, rofi and etc..

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • Rails 4 中的 routes 貌似默认没有 restful 了? at 2013年07月22日

    😓 看标题还以为又用新技术了……

  • 简洁的计算器代码 at 2013年07月17日

    对于 Ruby 来说 eval() 真的足够了。

  • [高清无码] Yehuda Katz! at 2013年07月10日

    #3 楼 @lgn21st 深藏功与名。

  • 我與依依的橙色岁月 at 2013年07月10日

    神作啊!

  • 如何在 Model 里生成页面的 html 文件 at 2013年07月09日

    #22 楼 @hlxwell 什么要求一定要在 Model 里实现?LZ 描述的需求貌似是要导出,在 Controller 里实现不就行了??

  • 今天找 JQuery 替代品,最后选中一个超 NB 的 javascript 库 at 2013年07月09日

    #11 楼 @aptx4869 这个提示符萌爆了……

  • 为什么 Ruby China 是国内人气最高的程序员社区呢 at 2013年07月09日

    #42 楼 @ghjcumt2008 自从我吧“酷工作”和“二手交易”屏蔽后,我发现 V2EX 质量高多了。

  • 如何在 Model 里生成页面的 html 文件 at 2013年07月09日

    render_string 再抓回来不行吗?

  • --- at 2013年07月09日

    @Rei

  • 今天才发现 ruby 的标准库有个 un at 2013年07月08日

    被 @doitian 提到了哈〜 相当反感这样的 Hack,很没必要,而且不干净。 况且不是以“r”开头的 Gem 就没辙了,还不如扫描所有参数,然后 def method_missing ... end 。

  • 大家喜欢吃什么口味的方便面? at 2013年07月06日

    鲜虾鱼板。

  • 为什么 Ruby China 是国内人气最高的程序员社区呢 at 2013年07月04日

    V2EX 才是!

  • 查看你常用的 10shell 命令? at 2013年06月29日
    264 cd
    247 ls
    136 sudo
    71 git
    50 pwd
    47 rm
    43 vim
    40 subl
    39 clear
    38 nw
    

    最近用 node-webkit 写了点小前端……所以榜上有名了。

  • 推荐大家个音乐网站 at 2013年06月25日

    曾经在 V2EX 上很火的。

  • 什么影响阅读? at 2013年06月17日

    #13 楼 @dorentus 我以段为单位……

  • 什么影响阅读? at 2013年06月14日

    自动补全 + 拼写检查

  • Kevin Wang 用 vim 打空格有提示的功能是怎么做到的? at 2013年06月07日

    #2 楼 @xuangong

    :set listchars=trail:-
    
  • Yes! Ruby China 升级到了 Rails 4 at 2013年06月06日

    #20 楼 @xhj6 “信赖” -> “依赖”?这不算高端黑么? @ashchan

  • 自从有了漂亮了报错界面,我就不那么讨厌报错了…… at 2013年06月06日

    #7 楼 @chairy11 我只是想说:“Sinatra 这么轻量的框架都有那么漂亮的报错,Rails……” #14 楼 @Ryan gem 'better_errors' 你懂的(http://railscasts.com/episodes/402-better-errors-railspanel)。

  • 自从有了漂亮了报错界面,我就不那么讨厌报错了…… at 2013年06月06日

    Sinatra 原生的报错也很美观呀~

  • 这种嵌套的效果要怎么实现 at 2013年06月01日

    仔细看 缩进 。

    1. In the Project, select the item or items you want to add to favorites.
    2. Do one of the following:
      • On the main menu, point to File | Add To Favorites.
      • On the context menu of the selection, point to Add To Favorites 3.Something else
    1.  In the Project, select the item or items you want to add to favorites.
    2.  Do one of the following:
        -    On the main menu, point to File | Add To Favorites.
        -   On the context menu of the selection, point to Add To Favorites
    3.Something else
    
  • 今天意外发现每天都在一直扯淡 (cd)。 at 2013年05月25日

    差点,路上…… #28 楼 @RainFlying 目测 zsh。

  • imax.im 不能用了,大家可有其他类似的网站下载电影 at 2013年05月20日

    #16 楼 @blacktulip 收我国电影审查制度影响,在我国,电影的正版与盗版,不是合法与不合法的问题,而是有与没有的问题。

  • ubuntu sudo 用法 at 2013年05月16日

    #9 楼 @fenprace If you use Ubuntu and some other linux distributions, the root password is unknown actually. You can have a try to run su, and input your password. You'll get an error.

    To run a shell as the root, you can run sudo su, it means running su as the root. And the su command will start a shell. Simply running sudo bash is also available.

    This problem won't happen on Archlinux, Gentoo and most of the server linux distributions. Because on these linux distributions, the root's password is set by user before the installation and the password is known. So if you are using one of the above, just running sualso works well.

  • ubuntu sudo 用法 at 2013年05月16日

    #8 楼 @crazyjin Your PATH varibale is different from root's, you could run it to prove it:

    $ echo $PATH
    $ sudo su
    # echo $PATH
    

    To solve your problem, you could simply create a symolic link:

    sudo ln -s /opt/mongodb/bin/* /usr/local/bin
    
  • ubuntu sudo 用法 at 2013年05月16日

    Because it said "Permission denied" 😊 Mongodb created /db/data as the default directory to store the database after installing, and it belongs to root defaultly.

  • ubuntu sudo 用法 at 2013年05月16日
    chown <UR USERNAME> /data/db
    
  • 再统计个有多少在校生? at 2013年05月16日

    高一在校算不算?

  • 纪念一下 at 2013年05月16日

    #2 楼 @jiyinyiyong codeschool.com

  • 学习 RoR 这个看书顺序如何 at 2013年05月14日

    我走的貌似是 14……

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