是慢,不过用的人多,我相信一定有道理。
纸和笔。
scp filename username@hostname:/home/username
ssh username@hostname
sudo cp filename /etc/nginx/sites-enabled/
1) 不必须。可以
2) 把 server_name
后面的 example.com
改成你的域名,同时域名 DNS 的 A 记录指向服务器 IP。
我是用 vi 编辑那个文件的,你可以在本地编辑好再放到服务器上同一个地方。
sudo apt-get install libxslt-dev libxml2-dev
You'll be hard pressed to even find a development machine today that doesn't have gobs of RAM, an SSD drive, and a speedy CPU.
Orz 我还没买 SSD
#6 楼 @xiongxin8802 哪个链接?博客运作正常,访问不了可能是网络问题。
#2 楼 @xiongxin8802 看 Turbolinks。
鲁葳也加入貔貅了?
passenger 的 deb 包还没打好,我在等更新。
@huacnlee 现在是用 newrelic 监控异常?
Ruby 的 Hash 本来就认为 symbol 和 string 是不一样的,在 Rails 里面 params 不分 symbol 和 string 是做了特殊处理。
疑问在哪?
我取消精华了。
顶楼列举的有些是测试工具而不是框架,是要和 Test::Unit 和 Rspec 搭配用的,所以只比较这两个。
从 Ruby Conf China 2013 的现场举手投票来看,Rspec 大概占到了 9 成。不过我是 Rspec 反对者,认为这套 DSL 徒增复杂性,不如 Test::Unit 简单明了。
写测试性价比高,推荐写够用的测试,但写多少是够有并没有标准,需要自己琢磨。
If your TL;DR of my talk and post on TDD was "great, I don't have to write tests!", your comprehension skills are inadequate. Level up.
#1 楼 @yangjie6020 楼主心里一凉。
套路:
@username
字符串提取出 username#18 楼 @algo31031 24 * 30 = 720 小时,还是说开机时间不等于运行时间?