`
nishizhen
  • 浏览: 153391 次
  • 性别: Icon_minigender_1
  • 来自: 哈尔滨
文章分类
社区版块
存档分类
最新评论
文章列表
写验证码 private #显示验证码 def validation_code_image image = session[:validation_admin].code_image send_data image, :type => 'image/jpeg', :disposition => 'inline' end 我使用private 然后 当前类用到 def login if session[:operator] flash[:notice] = "您已经登录,重新登陆,请先注销! ...
verify :session => :user, :add_flash => { :notice => "请先登录,谢谢合作!"}, :redirect_to => { :action => "/shop/login"} 想转向shop控制器 当前是member控制器 请问怎么做啊? 像上面代码那样会报Routing Error no route found to match "/member_center//shop/login" with {:method=> ...
原文,我的blog 昨天晚上启动script/console 然后提示我: /usr/local/lib/ruby/1.8/irb/completion.rb:10:in `require': no such file to load -- readline (LoadError) from /usr/local/lib/ruby/1.8/irb/completion.rb:10 from /usr/local/lib/ruby/1.8/irb/init.rb:252:in `require' from /usr/local/lib ...
I carry your heart with me , I carry it in my heart , I am never without it . Anywhere I go , you go , my dear . And whatever is done by only me , is you doing , my darling. I fear no fate.. ...
工具:Nessus(最好的开放源代码风险评估工具) 网址:http://www.nessus.org/ 类别:开放源码 平台:Linux/BSD/Unix 简介:Nessus是一款可以运行在Linux、BSD、Solaris以及其他一些系统上的远程安全扫描软件。它...
Ubuntu中: Windows --------- Ubuntu Internet Explorer --------- Firefox, Opera Microsoft Office --------- OpenOffice.org, 永中office QQ---------Gaim+挂件,LumaQQ Winamp -------- Xmms,beep-...

ʹ

ʹ
1.视频配置,步骤如下:(适用于大部分杂牌摄像头) (1).先在http: //mxhaard.free.fr/download.html下载最新的的包gspcav1-20070508.tar.gz,或者见附件(针对 2.6.11以上的内核,查看内核版本:cat /proc/version...
服务器端: ====== 修改httpd.conf 查找: AddDefaultCharset ISO-8859-1 改成: #AddDefaultCharset ISO-8859-1 AddDefaultCharset off 这种方式关掉了服务器的默认语言的发送,这样仅凭html文件头中设置...
这个没有什么技术问题,只不过是我没有接触过,这次在安装shopex时,发现的,不知道为什么,怎么用,打开网页都是乱码,没办法,用记事本打开还发现不管你用什么编码方式但是都是没有任何效果的,根本打不开,不要笑...
qsopcast 是 sopcast 的图形前端 去 http://www.sopcast.com/cn/download/ 下载qsopcast 软件包.rpm ubuntu6.06 RPM包转化为DEB包  1. 先安装 alien 和 fakeroot 这两个工具,其中前者可以将 rpm 包转换为 d...
如题,本来还好好的,印象中应该也没操作什么会影响到他阿~ 后来查了好多资料,还是不行,睡了一觉 起来在继续,查看了一下用户组,我的使用用户和daemon用户都不在plugdev用户组中了 添加进去,ok问题解决...
由于前段时间搞别的东西,把/usr/bin下的权限弄了一下 今天插上u盘,只是在计算机中显示,但是不能够读取内容,提示‘无法执行pmount’ 后来进行权限改革 先用ls检查了下 : ls -l /usr/bin/pmount -rwsr...
用Wine安装Windows软件装多了,有时在Ubuntu菜单里就会很混乱。明明这个软件已经被删除了,可以菜单里还占用着。有时“~/.wine/drive_c/windows”这个目录也会胀得很大。 今天自己清理了一下Wine安装的软件,找到了...
OK, we all know the real reason many of you are hanging on to your Windows machines -- it's because you can't live without your daily World of Warcraft raid. And, who can blame you? While you can u...
Global site tag (gtag.js) - Google Analytics