@hooopo 沒機會膜拜炮哥了......
羨慕
可以看看这篇文章:图灵社区 : 阅读 : 写一本书作者到底能拿到多少稿酬?
真不錯!
沙發!
4
@hooopo 沒貨了,繼續努力。。。
我有一個 .pryrc
支持楼主翻译 Rails Guides! <3 <3 <3
我有個建議,要翻譯 Guide 直接上最新的 Edge guide,在 rails/rails guides 目錄下可找到源文件。
喜歡 http://svbtle.com/ 這種簡單的風格。
group :development, :test do
gem 'sqlite3'
gem "rspec", "~> 2.13.0"
end
gem 要用 rspec-rails,还缺一个 guard-rspec,改好记得 bundle 一下,下次贴到 Gist 吧,这样比较好看。https://gist.github.com/JuanitoFatas/6350632
group :development, :test do
gem 'sqlite3', '1.3.7'
gem 'rspec-rails', '2.13.1'
gem 'guard-rspec', '2.5.0'
end
Good read
保羅•葛拉漢姆大叔是想說這些語言演化的越來越像 Lisp。Lisp 不是函數式的,函數式是一種編程範式。話說 Java 也可以很函數式哦! http://lisp.tw/2013/02/17/functional-programming-for-the-rest-of-us/ 當然 Ruby 也可以... https://github.com/JuanitoFatas/Ruby-Functional-Programming
主厨推荐 vs 私房菜单;消费者自选,教父干的好!
Termshows are purely text based. This makes them ideal for demoing instructions (as the user can copy-paste), making fail-safe "live-coding" sessions (plain text is very scalable), and sharing all your l33t terminal hacks.
Hash::new(obj)
Hash.new 0
If obj is specified, this single object will be used for all default values.
太厲害了!
Inspired from @luikore's use of String, but still a very sloppy solution o_O...
class Phrase < String
def word_count
scanned = scan(/\w+/).map(&:downcase)
scanned.inject({}) do |hash, element|
hash.merge(element => scanned.count(element))
end
end
end
r, i, and ri.
Rational(42, 1) and 3.14.rationalize,
respectively. But exponential form with r suffix like "6.022e+23r" is
not accepted because it is misleading.Complex(0, 42) and Complex(0, 3.14),
respectively.Complex(0, 42r) and Complex(0, 3.14r),
respectively.@poshboytl Lisp 可以找黃澗石,有興趣我幫你聯繫他。
友情提示:到台灣旅遊時,打車不管是前後都得繫,不然會罰款。