源码: /** * @author mrdoob / http://mrdoob.com/ */ var Stats = function () { var startTime = Date.now(), prevTime = startTime; var ms = 0, msMin = Infin ...
分类:
Web程序 时间:
2017-03-26 22:10:27
阅读次数:
433
1:首先在配置文件main-local.php components=>[]里面配置 'mailer' => [ 'class' => 'yii\swiftmailer\Mailer', 'useFileTransport' =>false,//这句一定有,false发送邮件,true只是生成邮件在 ...
分类:
其他好文 时间:
2017-03-26 20:30:20
阅读次数:
950
Description I bet, except Fat Brothers, all of you don’t like strange way to show integers , he is really like this way to showing integers: 1 -> ‘A’ ...
分类:
其他好文 时间:
2017-03-26 20:05:22
阅读次数:
216
numpy.nonzero(a) Return the indices of the elements that are non-zero. Returns a tuple of arrays, one for each dimension of a, containing the indices ...
分类:
编程语言 时间:
2017-03-26 11:49:44
阅读次数:
178
1. 下载地址 https://github.com/apereo/cas/archive/v4.2.7.zip 2. 解压后, 用intellj idea 打开 3. 执行 gradle build -x test ,打包编译 4. 取消https,能够支持直接http cas.propertie ...
分类:
编程语言 时间:
2017-03-26 01:10:03
阅读次数:
2567
【Android数据传递】全局变量的使用方法印第安的老乔克2013-02-18 21:36:14android中Application是用来保存全局变量的,在package创建的时候就存在了,到所有的activity都被destroy掉之后才会被释放掉。所以当我们需要全局变量的时候只要在applic... ...
分类:
移动开发 时间:
2017-03-25 20:59:39
阅读次数:
223
这里的普通方法和成员变量是指,非静态方法和非静态成员变量首先static是静态的意思,是修饰符,可以被用来修饰变量或者方法。 static成员变量有全局变量的作用 非static成员变量则没有全局变量的作用 局部变量是类的方法里面的变量静态static成员变量是指类的成员变量,他不属于类的对象,只单 ...
分类:
编程语言 时间:
2017-03-25 18:58:05
阅读次数:
229
错误描述: 问题1: Error:Execution failed for task ':app:transformClassesWithDexForDebug'. > com.Android.build.api.transform.TransformException: com.android.i ...
分类:
移动开发 时间:
2017-03-25 13:36:57
阅读次数:
240
private void Form1_Load(object sender, EventArgs e) { this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.BackColor = Color.Red; th ...