1. web.xml中url pattern配置 url pattern为/ 使用SpringMVC的框架时,需要在 配置前端控制器 ,配置为: url pattern为/ 我们需要使用过滤器时,需要在 中进行注册。以处理中文乱码的过滤器 为例,配置为: url pattern为 .do 使用Str ...
分类:
编程语言 时间:
2020-04-05 22:26:21
阅读次数:
93
第七章是入门篇的倒数第二篇文章了,明天整个APP将进入收官。 本节教程主要要教会大家使用二维码扫描和用do_WebView组件加在html页面。 导入项目do_WebView组件扫描功能自定义事件将要学习的demo效果图如下所示 导入完整项目 本节示例demo请参考下载地址,可以导入到设计器中学习。 ...
分类:
移动开发 时间:
2020-04-05 22:24:29
阅读次数:
132
https://www.oreilly.com/radar/questioning-the-lambda-architecture/ What is a Lambda Architecture and how do I become one? The Lambda Architecture look ...
分类:
其他好文 时间:
2020-04-05 22:13:21
阅读次数:
68
第五章和第六章间隔时间有点长,对不起大家了。下面继续。 本节教程将要教会大家如何加载本地通讯录。 导入项目导入通讯录自定义js模块发送和订阅page消息将要学习的demo效果图如下所示 导入完整项目 本节示例demo请参考下载地址,可以导入到设计器中学习。 这节教程中将要用到的组件有do_Conte ...
分类:
移动开发 时间:
2020-04-05 22:12:51
阅读次数:
119
题面: If we represent a date in the format YYYY-MM-DD (for example, 2017-04-09), do you know how many 9s will appear in all the dates between Y1-M1-D1 a ...
分类:
其他好文 时间:
2020-04-05 22:01:51
阅读次数:
84
$RANDOM系统变量 在bash中,支持 系统变量,范围是 [0, 32767] shell !/bin/bash set e randN() { local N=$1 echo $(($RANDOM%$N)) } while [ true ]; do echo sleep 1s done 我在树 ...
分类:
系统相关 时间:
2020-04-04 22:49:47
阅读次数:
153
#!/bin/bash parallel=10 fileArr=(`ls -1 fileid/pre*`) for ((i=0; i<${#fileArr[*]}; i+=$parallel)); do for ((j=$i; j<$i+$parallel; j++)); do if (($j<${ ...
分类:
系统相关 时间:
2020-04-04 22:23:23
阅读次数:
78
1 #include<stdio.h> 2 void loop_a(void); 3 void loop_b(void); 4 void loop_c(void); 5 void loop_d(void); 6 7 8 void loop_a() 9 { 10 int i = 0; 11 while ...
分类:
其他好文 时间:
2020-04-03 23:49:31
阅读次数:
66
1.利用while循环计算1到100的和: 示例代码1: #!/bin/bashi=1sum=0while [ $i -le 100 ]do let sum=sum+$i let i++done echo $sum 示例代码2:利用while循环计算1到100之间所有奇数之和 #!/bin/bash ...
分类:
系统相关 时间:
2020-04-03 22:07:50
阅读次数:
204
print("Let's practice everything.")print("You\'d need to know \'bout escapes with \\ that do:")print('\n newlines and \t tabs.') poem = """\tdasohcsch ...
分类:
其他好文 时间:
2020-04-03 11:48:57
阅读次数:
59