上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 41 下一页
摘要: The SanitizeHelper module provides a set of methods for scrubbing text of undesired HTML elements. These helper methods extend Action View making them 阅读全文
posted @ 2016-12-14 17:18 冰凌花花~ 阅读(211) 评论(0) 推荐(0) 编辑
摘要: def search @videos = Video.where("videoid LIKE ? or title LIKE ?", "%#{params[:q]}%", "%#{params[:q]}%") render :index end 使用 hash 的写法 def search @videos = Video.where("vi... 阅读全文
posted @ 2016-12-12 13:15 冰凌花花~ 阅读(98) 评论(0) 推荐(0) 编辑
摘要: $ ssh -v wangz@gitlab.alibaxx-inc.com $ git remote ali set-url git@gitlab.alibaxx-inc.com:youk-aaa/xxx.git 阅读全文
posted @ 2016-12-06 15:39 冰凌花花~ 阅读(274) 评论(0) 推荐(0) 编辑
摘要: The most interesting addition to Ruby 2.3.0 is the Safe Navigation Operator(&.). A similar operator has been present in C# and Groovy for a long time 阅读全文
posted @ 2016-11-07 11:04 冰凌花花~ 阅读(253) 评论(0) 推荐(0) 编辑
摘要: Reverse digits of an integer. Example1: x = 123, return 321Example2: x = -123, return -321 阅读全文
posted @ 2016-10-26 22:21 冰凌花花~ 阅读(126) 评论(0) 推荐(0) 编辑
摘要: You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single 阅读全文
posted @ 2016-10-26 20:15 冰凌花花~ 阅读(110) 评论(0) 推荐(0) 编辑
摘要: Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have ex 阅读全文
posted @ 2016-10-26 18:34 冰凌花花~ 阅读(180) 评论(0) 推荐(0) 编辑
摘要: $ mysqldump -uroot -p ott_cibn_cms2_staging > /opt/app/ruby/ott-cibn-cms-2.0/current/public/db.sql $ mysql -h localhost -u root -p ott_cibn_cms2_devel 阅读全文
posted @ 2016-10-18 14:41 冰凌花花~ 阅读(92) 评论(0) 推荐(0) 编辑
摘要: unix:/var/run/php5-fpm.sock failed (11: Resource temporarily unavailable) http://stackoverflow.com/questions/10470109/error-502-in-nginx-php5-fpm/1047 阅读全文
posted @ 2016-10-18 13:24 冰凌花花~ 阅读(140) 评论(0) 推荐(0) 编辑
摘要: $sudo dpkg -i alilang.deb $ sudo alilang 阅读全文
posted @ 2016-09-29 19:58 冰凌花花~ 阅读(175) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 41 下一页