class Foo 255end def create @foo =Foo.new(params[:foo]) @foo.project_id =@project.id if @foo.save flash[:notice] = l(:notice_successfu...
分类:
其他好文 时间:
2014-07-07 18:21:22
阅读次数:
240
网上说的是找到:include/common.inc.php文件,打开,查找程序代码: //error_reporting(E_ALL); error_reporting(E_ALL || ~E_NOTICE); 替换为: error_reporting(E_ALL); //error_r...
分类:
其他好文 时间:
2014-06-27 23:15:54
阅读次数:
162
javascript代码var msg={ count:0, show:function(value,time,width){ //type:定义显示样式,三种选择:success,notice,error;,不选则默认为success; //style:仅限...
分类:
移动开发 时间:
2014-06-26 17:44:36
阅读次数:
158
开发+运行第一个Mahout的程序代码:/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file di....
分类:
其他好文 时间:
2014-06-25 14:54:25
阅读次数:
328
一:勘误
classifier类中: def fprob(self, f, cat):
if self.catcount(cat) == 0:
return 0
#notice: rember change int to double or float
# + 0.0 or *1.0 is ok, other wise, may get 0.
return self.fc...
分类:
其他好文 时间:
2014-06-24 17:49:42
阅读次数:
211
1. First artical, notice the last thing - Connecting the DataSource and Delegate:http://www.appcoda.com/ios-programming-tutorial-create-a-simple-table...
分类:
移动开发 时间:
2014-06-20 16:18:48
阅读次数:
277
请参考:http://wiki.nginx.org/Main#定义Nginx运行的用户和用户组user www www;#nginx进程数,建议设置为等于CPU总核心数。worker_processes 8;#全局错误日志定义类型,[ debug | info | notice | warn | e...
分类:
其他好文 时间:
2014-06-18 14:15:20
阅读次数:
211
----------------------------------------------------------------------------------------------A non well formed numeric value encountered=>从词面上来理解,可以大...
分类:
Web程序 时间:
2014-06-17 13:04:07
阅读次数:
166
1 /*** 2 * Licensed to the Apache Software
Foundation (ASF) under one or more 3 * contributor license agreements. See the
NOTICE file distribut...
分类:
编程语言 时间:
2014-06-16 10:37:31
阅读次数:
287
例:http://XXX/mobile/NewsView.htm?action=notice&id=1action=request("action")id=request("id")
分类:
Web程序 时间:
2014-06-16 06:29:41
阅读次数:
202