hi, qiniu 上传 bad token, 可能是什么地方出错了?key, bucket 配置了
报名!
cool !
支持下!
3.2
虽然一直用 Capistrano 3,但是没有这么详细的总结过!必须顶!
#3 楼 @so_zengtao 这个不对的,是忽略,不是 cancel 这些 change
#28 楼 @992024060 不光是做了程序就好的,还要弄服务器,配置,域名,估计你都不熟悉
尝试部署一下,出错了
Running ~/.rbenv/bin/rbenv exec bundle exec rake assets:precompile on xxx.xxx.xxx.xxx
Command: cd /var/www/campo/releases/20140312144829 && ( RBENV_ROOT=~/.rbenv RBENV_VERSION=2.0.0-p247 RAILS_ENV=production ~/.rbenv/bin/rbenv exec bundle exec rake assets:precompile
rake aborted!
DEBUG [dee9ec58] undefined method `[]' for false:FalseClass
DEBUG [dee9ec58] /var/www/campo/releases/20140312144829/config/initializers/00_config.rb:2:in `<top (required)>'
页面好卡!
字符串翻转,编程珠玑第一篇,
def reverse(string, from, to)
while from < to
temp = string[from]
string[from] = string[to]
string[to] = temp
from += 1
to -= 1
end
end
testString = "feng qijun's macbook pro"
reverse(testString, 0, 4)
puts testString
reverse(testString, 5, testString.length-1)
puts testString
reverse(testString, 0, testString.length-1)
puts testString
支持,可惜只有前端