08 2018 档案

摘要:BootStrap 大家好 同志们辛苦了 --> 为人民服务 p默认定义文字大小为1... 阅读全文
posted @ 2018-08-29 09:50 道高一尺 阅读(210) 评论(0) 推荐(0) 编辑
摘要:>>> from timeit import Timer >>> Timer("temp = x; x = y; y = temp", "x = 2; y = 3").timeit() 0.04535215532074004 >>> Timer("x, y = y, x", "x = 2; y = 3").timeit() 0.06476211600816484 阅读全文
posted @ 2018-08-27 09:29 道高一尺 阅读(291) 评论(0) 推荐(0) 编辑
摘要:>>> x = 1 >>> y = 2 >>> assert x == y, "not equals" Traceback (most recent call last): File "", line 1, in assert x == y, "not equals" AssertionError: not equals >>> 阅读全文
posted @ 2018-08-27 09:13 道高一尺 阅读(177) 评论(0) 推荐(0) 编辑
摘要:Title 阅读全文
posted @ 2018-08-16 21:22 道高一尺 阅读(3457) 评论(0) 推荐(0) 编辑
摘要:var lastReportTime = 0; //设置时间间隔 window.onload = function(){ setInterval(handleRefresh, 3000); } function handleRefresh(){ var url = "http://gumball.wickedlysmart.com" + "?callback=... 阅读全文
posted @ 2018-08-07 08:01 道高一尺 阅读(273) 评论(0) 推荐(0) 编辑
摘要:Mighty Gumball Mighty Gumball Sales function updateSales(sales){ var salesDiv = document.getElementById("sales"); for (var i = 0; i < sales.length; i++){ ... 阅读全文
posted @ 2018-08-06 08:24 道高一尺 阅读(197) 评论(0) 推荐(0) 编辑
摘要:window.onload = function(){ //var url = "http://localhost:8000/sales.json"; var url = "http://gumball.wickedlysmart.com"; //从JaveScript发出一个HTTP请求, 需要使用XMLHttpRequest对象 var request = n... 阅读全文
posted @ 2018-08-06 08:18 道高一尺 阅读(1039) 评论(0) 推荐(0) 编辑