window.ll = function f() { ll.history = ll.history || []; ll.history.push(arguments); if (this.console) { var a = arguments, c; ...
分类:
Web程序 时间:
2014-06-15 23:43:13
阅读次数:
410
使用了Amazon AWS EC2免费云空间,数据库实例采用Amazon RDS。原来在Windows Server上有一个存在大量数据的MySQL数据库。现在需要在Amazon RDS上还原这个MySQL数据库,勾掉Views(因为它会要求SUPER权限,而Master User无此权限,毕竟是托...
分类:
数据库 时间:
2014-06-15 22:54:13
阅读次数:
483
设置透明度(这是窗体本身的透明度,非背景)1 WindowManager.LayoutParams lp=getWindow().getAttributes();2 lp.alpha=0.3f;3 getWindow().setAttributes(lp);alpha在0.0f到1.0f之间。1.0...
分类:
移动开发 时间:
2014-06-15 22:26:12
阅读次数:
335
排个序,求前k个元素和即可 int minimum(int K, vector danceCost) { sort(danceCost.begin(),danceCost.end()); return accumulate(danceCost.begin()...
分类:
其他好文 时间:
2014-06-15 21:53:14
阅读次数:
201
ie10的input加了两个特性:对应的,可以用css方式去除:input::-ms-clear{display:none;}input::-ms-reveal{display:none;}
分类:
其他好文 时间:
2014-06-15 21:36:31
阅读次数:
305
Android日志系统提供了记录和查看系统调试信息的功能。日志都是从各种软件和一些系统的缓冲区中记录下来的。可以使用adb的logcat命令来查看系统日志缓冲区的内容,但是在实际操作时,会发现在CMD的DOS界面上面,使用logcat命令直接输出的中文内容是乱码。如下图:而这个问题只出现在使用log...
分类:
移动开发 时间:
2014-06-15 17:22:02
阅读次数:
1256
/*abs(n)返回参数n所指定数值的绝对值(如果参数值为NULL,则返回结果为NULL,下同)。*/--SELECT ABS(-3.14) FROM DUAL; --3.14/*round(n[, m])返回对参数n进行四舍五入处理后的结果。参数n可以是任意数字、m则必须为整数。如果省略参数m,....
分类:
数据库 时间:
2014-06-15 16:48:23
阅读次数:
300
continuecontinue 只能用于while循环、do/while循环、for循环以及for/in循环中,其他地方都会引起错误。1 for(var i=0;i<5;i++){2 if(i == 3) continue;3 console.log(i); //0,1,2,...
分类:
编程语言 时间:
2014-06-15 06:43:13
阅读次数:
239
$infos = @{}$infos.Path ='c:\Windows'$infos.Recurse =$true$infos.Filter ='*.log'$infos.ErrorAction ='SilentlyContinue'$infos.Remove('Recurse')dir@info...
分类:
其他好文 时间:
2014-06-14 21:49:24
阅读次数:
234
2014-6-131.ask for input with aprompt.使用prompt显示输入文本对话框,并获取用户的输入。prompt("What is your name");2.console.log();打印结果。console.log("hello");
分类:
Web程序 时间:
2014-06-14 20:31:25
阅读次数:
182