上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 41 下一页
摘要: == 测试服务器是: test132 == 正式服务器是: 133, 134 == which server do you want to deploy to? (test132/133/134/83)? 134== password for 10.xxx.xx.134 is: trig... 阅读全文
posted @ 2015-08-13 17:08 冰凌花花~ 阅读(1222) 评论(1) 推荐(0) 编辑
摘要: 可以保存时间和日期存一个8月5号,总会自动保存成5月8,于是做了限制s = "08/20/2015 3:31 PM" dt = DateTime.strptime s, "%m/%d/%Y %H:%M %p"参考文档:http://ruby-doc.org/stdlib-2.2.2/libdoc/... 阅读全文
posted @ 2015-08-10 17:03 冰凌花花~ 阅读(205) 评论(0) 推荐(0) 编辑
摘要: $ RAILS_ENV=production bundle exec rails cThere is a version mismatch between the spring client and the server.You should restart the server and make ... 阅读全文
posted @ 2015-08-05 16:17 冰凌花花~ 阅读(420) 评论(0) 推荐(0) 编辑
摘要: https://github.com/shadowsocks/shadowsockshttps://github.com/shadowsocks/shadowsocks/wiki/Configuration-via-Config-FileA fast tunnel proxy that helps ... 阅读全文
posted @ 2015-08-03 15:14 冰凌花花~ 阅读(107) 评论(0) 推荐(0) 编辑
摘要: http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/?_ga=1.25950975.395536525.1415167309(1)Import the public key used by package managem... 阅读全文
posted @ 2015-07-31 15:02 冰凌花花~ 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 把一个分支中的修改整合到另一个分支的办法有两种:merge和rebase,当开发进程分叉到两个不同的分支,又各自提交了更新。最容易的整合分支的方法是merge, 它会把两个分支最新的快照以及两者的共同祖先进行三方合并,合并的结果是产生一个新的提交对象。其实还有另外一个选择,可以在一个分支里发生的变化... 阅读全文
posted @ 2015-07-31 11:46 冰凌花花~ 阅读(835) 评论(0) 推荐(0) 编辑
摘要: Capistrano 2 首次部署流程修改 config/deploy.rb 和 config/deploy/production.rbbundle exec cap production deploy:setupbundle exec cap production deploy:checkbund... 阅读全文
posted @ 2015-07-29 17:03 冰凌花花~ 阅读(199) 评论(0) 推荐(0) 编辑
摘要: cat ~/.ssh/id_rsa.pub 复制内容ssh 10.10x.xx.xxsu - webuservim ~/.ssh/authorized_keys 粘贴进来 阅读全文
posted @ 2015-07-29 16:58 冰凌花花~ 阅读(2234) 评论(0) 推荐(0) 编辑
摘要: http://guides.rubyonrails.org/configuring.html#custom-configurationconfig/application.rb # The default locale is :en and all translations from con... 阅读全文
posted @ 2015-07-29 15:49 冰凌花花~ 阅读(307) 评论(0) 推荐(0) 编辑
摘要: need_fetch_channel.each do |channel| yesterday = (Time.now - 86000).to_i all_channel_videos = channel.videos.asc(:begin_time) all_channel_vid... 阅读全文
posted @ 2015-07-29 13:16 冰凌花花~ 阅读(116) 评论(0) 推荐(0) 编辑
上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 41 下一页