摘要:
here is the log file{"utf8"=>"✓", "authenticity_token"=>"fixQgc0R4wHIn6fbE+Kkf+JC7oQP/WuNBBCDID6Q5Fw=", "version"=>"1", "module_id"=>"1", "video"=>{"v... 阅读全文
摘要:
http://guides.rubyonrails.org/v3.0.8/action_controller_overview.html#the-flash如何在页面显示controller里的错误提示,The flash is a special part of the session which... 阅读全文
摘要:
form_tag(url_for_options = {}, options = {}, *parameters_for_url, &block)Starts a form tag that points the action to an url configured with url_for_op... 阅读全文
摘要:
google login page 阅读全文
摘要:
http://guides.rubyonrails.org/v3.0.8/action_controller_overview.html#filters (例子来源)http://apidock.com/rails/v3.0.5/AbstractController/Callbacks/ClassM... 阅读全文
摘要:
# 创建项目相关目录 /opt/logs/tv-cibn-cms#ruby 用户下安装 rbenv 及 ruby 1.9.3# 安装编译相关包yum install -y gcc openssl-devel libyaml-devel readline-devel zlib-develsu - ru... 阅读全文
摘要:
Ruby测试 阅读全文
摘要:
网址中的汉字无法直接解析,需要先encode才行, 看报错说明irb(main):043:0> url="http://10.103.xx.xx/cms/api/module/data?name=资讯频道战略观察子频道&appkey=300×tamp=1412997443&sign=72c... 阅读全文
摘要:
$sudo apt-get install scrot$scrot -d 5 /tmp/1.jpeg5秒钟后自动将屏幕截图存放在/tmp目录下1.jep文件里. 阅读全文
摘要:
@73@7413:4*733522447013:5*1204854033613:**511953170672@7314:12 [logwatch@u]$ cat /opt/logs/nginx/access/log | grep "24/Sep/2014:13:5" | grep blacklist... 阅读全文