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
Weinre代表We b In spector Re mote,是一种远程调试工具。举个例子,在电脑上可以即时 的更改手机上对应网页的页面元素、样式表,或是查看Javascript变量,同时还可以看到手机上页面的错误和警告信息. 下图所示中的例子,通过在console中运行“document.bod...
分类:
移动开发 时间:
2014-06-15 09:26:20
阅读次数:
184
string str = "大龙喜欢zzm";
string s1 = str.Substring(0, 2);
string s2 = str.Substring(2, 2);
string s3 = str.Substring(4);
Console.WriteLine(str[0]);
...
分类:
其他好文 时间:
2014-06-15 08:14:34
阅读次数:
207
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
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
写在最开头:其实我以前就在考虑要不要写这个东西,因为这个东西确实不难,但是为什么会有这么多人问,他们问的不是怎么用控制台,而是不知道控制台能干嘛,他们也知道有 console.log 之类的东西,但他们不知道为什么要用这么长的字符串代替 alert 输出信息。在他们眼里 alert 足以。好吧,我承...
分类:
Web程序 时间:
2014-06-14 18:00:33
阅读次数:
286
系统中对应的串口设备是/dev/ttyAMAO,但默认用于内核输出日志的。若想连接串口设备,比如GPS模块,需要改动系统这个默认配置。修改 /boot/cmdline.txtsudo nano /boot/cmdline.txt将原来的内容dwc_otg.lpm_enable=0 console=t...
分类:
其他好文 时间:
2014-06-14 15:36:45
阅读次数:
231
(function(c){for(i=1;i<=9;i++){var s='';for(j=1;j<=i;j++){s+=i+'X'+j+'='+i*j+'\t';}c.debug(s);}})(console)...
分类:
Web程序 时间:
2014-06-14 12:56:33
阅读次数:
216
◆首先,我们需要了解一下SQL Server在WinSock上定义协议的步骤: 1.
在”启动”菜单上,指向”程序/Microsoft Proxy Server”,然后点击”Microsoft Management Console”。 2.
展开”Internet Information Ser.....
分类:
数据库 时间:
2014-06-13 16:13:12
阅读次数:
206
1. 新建一个C#的Console project. 2. 给project 添加reference:
Microsoft.SharePoint.Client Microsoft.SharePoint.Runtime 3. 修改project的属性:
Platform target – x64 Ta...
分类:
其他好文 时间:
2014-06-12 11:43:29
阅读次数:
326