Ruby China
  • 社区
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • 注册
  • 登录
Zete
@luikore
高级会员
第 2880 位会员 / 2012-07-16

55 篇帖子 / 3422 条回帖
245 关注者
6 正在关注
32 收藏
GitHub Public Repos
  • triez 140

    fast, efficient, unicode aware HAT trie with prefix / suffix support for Ruby

  • rsec 78

    Parser / Regexp Combinator For Ruby

  • regexp_optimized_union 11

    Regexp.optimized_union(word_list, regexp_options) generates optimized regexp for matching union o...

  • zscan 9

    Improved string scanner

  • stimulus-bind 9

    Enable simple data binding for stimulusjs

  • vscode-hypertab 3

    The Missing Tab Completion for VS Code

  • property-list 1

    Property list (plist) library with all formats support

  • keycap 1

    1.5u keycap for Kailh low profile switch

  • ffi-clang 0

    Ruby FFI bindings for libclang 3.4+.

  • llvm-node 0

    Node LLVM 4.0+ Bindings

More on GitHub
  • 概况
  • 话题
  • 回帖
  • 收藏
  • 正在关注
  • 关注者
  • Linode NextGen: 免费升级到 8 核 CPU at 2013年03月20日

    @blacktulip 对编译还是有明显效果的,gcc 和 clang 都可以利用全部的核

  • Unicorn 重启无法加载最新代码 at 2013年03月19日

    #6 楼 @kingwkb 哦,没发现现在的 unicorn 已经能 reload gem 了...

  • Unicorn 重启无法加载最新代码 at 2013年03月19日

    另外这个 unicorn reload 有点限制的,新代码如果修改了 Gemfile 之类的,只能 stop 然后 start

  • 推荐 2 本中高级的 Ruby 书籍 at 2013年03月19日

    #5 楼 @skandhas 我不认识那个人的说...

  • 能不能在新一期的 Teahour 里讲讲开源协议呀??? at 2013年03月19日

    #6 楼 @cod7ce extjs 也要赚钱的,这么做就是逼你买商业许可证... 不过很多人都不给钱也不把源码 GPL 化

    For example: let’s take a mortgage processing software program. Let’s say that the application has a front-end (that generates web pages linked to Ext JS JavaScript) that communicates over JSON/HTTP with a backend service. This backend service contains approval and validation logic for this application alone. Even if only the front-end uses Ext JS code, you should consider that the combination of front and back ends constitutes the application, and the source code for both back and front end would need to be provided to the application’s end users under GPLv3 if the application is used by an end-user who is not part of the same legal entity that holds the GPLv3 license to the Ext JS code.

  • 能不能在新一期的 Teahour 里讲讲开源协议呀??? at 2013年03月19日

    用

    发布闭源商业软件的话,看到 GPL 就像看到屎一样...

    LGPL 和 BSD (MIT), Apache 什么的差不多,可以直接把二进制和自己的软件一起打包,附上协议即可

    不过如果用到的 GPL 软件能让客户自己从源码安装,或者系统已经自带,也不用担心... 部署到自己的服务器的话也不用担心随便用

    WTFPL 和 creative commons 就是 for fun 乱搞的随便用

    改

    貌似复杂多了,同求

  • 可以指定某个控制器的 layout 的目录么?(解决) at 2013年03月19日

    假如你的目录是 layin, 简单解决方案是建立个软链接:

    ln -s layin layout
    
  • 已解决 - 使用 leaflet.js:地图标记效果实现 at 2013年03月19日

    google map 的话找 marker 相关的 api 就可以了,api 里不支持的,可以找 https://code.google.com/p/google-maps-utility-library-v3/ 看看

  • 你开始用 Vagrant + VMWare Fusion 了吗? at 2013年03月18日

    要是能在 x86 上模拟 mips 或者 arm 就更好了...

  • 问一个 Windows 下 Ruby 版本号的问题 at 2013年03月18日

    #7 楼 @588588 好象是,然后有很多 gem 也用 rake compiler 编译 windows 的二进制版本,导致和 vc build 出来的 ruby 不相容 (从源码 gem install 往往是可以的)

  • 问一个 Windows 下 Ruby 版本号的问题 at 2013年03月18日

    #5 楼 @lgn21st https://github.com/luislavena 说的... 好象是 ruby-forum 上?后来 vc 编译的就很少有人测试了 (以前 yugui 当 release manager 的时候,还会用主流的 visual studio 编译发布二进制的...). 我自己链接到 msvcrt100.dll 的编译出来比 mingw 快很多,因为 mingw 是链接到很古老的 vc runtime 上的...

  • 问一个 Windows 下 Ruby 版本号的问题 at 2013年03月18日

    #3 楼 @588588 VC 各种对 C99 支持不标准,问题很多,所以 rubyinstaller 已经完全转向 mingw 了

  • 问一个 Windows 下 Ruby 版本号的问题 at 2013年03月18日

    80 表示链接到 msvcrt80.dll, 90 链接到 msvcrt90.dll

    mingw32 的是 mingw 编译的,是不是交叉就不一定了

  • win 下的 gdb 的设置断点问题 at 2013年03月18日

    是用 gcc -g 编译的么?必须加 -g 才有符号表的

  • [杭州][2013年03月19日] Ruby Tuesday 活动公告 at 2013年03月18日

    +1

  • 一些网站提供的 Api 开发包都没有 Ruby 的? at 2013年03月17日

    看 api 的实现就可以了... 直接提供 web 接口的文档更好,往往比包装后的 api 好用...

  • 37signal 设计师眼中的 iOS 与 Android 系统 at 2013年03月16日

    #3 楼 @metal 不该因噎废食吧...

  • 37signal 设计师眼中的 iOS 与 Android 系统 at 2013年03月15日

    一直都很羡慕 android 可以过滤垃圾短信

  • 2.0 double splat (**) 的一些用法 at 2013年03月15日

    #1 楼 @kenshin54 thanks, 已改正

  • Instance Variables and Class Instance Variables at 2013年03月15日

    惊讶是因为以前有别的语言的编程经验,没有经验对比就不会惊讶了...

  • ruby 如何去解析一个 wsdl 或者 endpoint at 2013年03月14日

    https://github.com/spox/soap4r-spox

    用法看 sample

  • Google Reader 即将关闭,你有什么想说的? at 2013年03月14日

    赶紧整一个啊,机会来了

  • 使用 Go 代替 Ruby 将服务器数量从 30 降到 2 at 2013年03月14日

    其实不管先用哪个,后用哪个,改写后一定会变快的...

  • ruby 读取大段文本 at 2013年03月14日

    ruby 没有三引号的,只是和 C 一样,相邻的字符串会被自动拼接起来

    '''a string'''
    # 其实相当于:
    '' + 'a string' + ''
    # 注意这个拼接只对字符串字面量有效
    

    ruby 的双引号和单引号都能放进多行字符串,双引号里可以用各种反斜线转义或者代入,单引号里只有两种转义:\\ 和 \' .

    ARGF.read 结束输入流的方式是输入 EOF, 在 windows 是 ctrl+z, 在 mac 和 linux 是 ctrl+d (如果按了键没有结束的话,先回车一下再试试). 或者你把字符串存到一个文本文件里,放在第一个参数里也能用 ARGF.read 读取:ruby some.rb 文本文件名.

  • 做开发到底是 Linux 好 还是 Mac 好? at 2013年03月13日

    只有在 mac 终端里 cmd+c 复制和 ctrl+c 发 int 信号不冲突,所有程序通用,不用劳烦到鼠标...

  • "if 1==a" 和 "if a==1" 的区别 at 2013年03月13日

    #1 楼 @chenge 已经没必要倒过来了,现在所有的语言写 if (a = 1) 都会警告的

  • 做开发到底是 Linux 好 还是 Mac 好? at 2013年03月13日

    #112 楼 @AlphaLiu 我都是 iTerm 里用 cmd+ 左/右 跳行首/末,opt+ 左/右跳词,opt+delete 删词 (需要加一点配置)

    pageup 和 pagedown 设置来搜历史了

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