然后就去日本的Yodabashi Camera办了UQ Mobile的SIM卡,还送了一台华为P10 Lite。UQ Mobile的速度比我Line Mobile的卡不知道快了多少。 Line Mobile 在2017年初的时候速度还挺快,后来慢慢的用的人多了?速度就降了下来,用Speedtest测的话只能达到2Mbps左右的网速。而老婆的手机却能测得20Mbps,让人眼馋。
<dependencies> <!-- developer tools for hot code-replacement etc. --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <optional>true</optional> </dependency>
<!--Embedded tomcat etc. --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency>
<script> var myClosureFunc = function () { // init the count to 0 var count = 0; returnfunction (e) { //count count++; if (count === 3) { // do something every third time alert("Third time's the charm!"); //reset counter count = 0; } }; } var element1 = document.getElementById("button1"); element1.onclick = myClosureFunc(); var element2 = document.getElementById("button2"); element2.onclick = myClosureFunc(); </script>
如果你在进行[SAPUI5 Tutorial] Test Suite and Automated Testing Step10 时遇到过 SAPUI5 QUnit 404 not found 问题, /resources/sap/ui/qunit/qunit-redirect.js 404 not found 这篇文章将帮你找到解决方法。 正如Tutorial一开始写的那样,
If you are running the tutorial in SAP Web IDE, you will have to configure the project descriptor neo-app.json. In this descriptor file, the path to the resources is already configured. Other development environments might need the resources to be copied to the server. Alternatively, you can use the CDN version of https://sapui5.hana.ondemand.com/resources/sap-ui-core.js.
也就是说,如果你使用的是Web IDE,而你又是copy的Tutorial中给出的code,你还需要配置项目的neo-app.json文件让项目找到resources系列的文件。 If you are using web IDE and copied the code from the sample, you may aslo need to set up the neo-app.json file to let the project find the resource folder. 具体配置如下所示,其实就是简单复制一下从头开始新建的项目中的neo-app.json文件。