1 需求和技术要求 1.1 需求 实现账户的CRUD。 1.2 技术要求 使用Spring的IOC实现对象的管理。 使用QueryRunner作为持久层的解决方案。 使用C3p0作为数据源。 2 环境搭建并配置 2.1 导入所需要的依赖jar包的maven坐标 2.2 数据库脚本 2.3 编写实体类 ...
分类:
其他好文 时间:
2019-10-21 20:59:57
阅读次数:
121
题目如下: 解题思路:题目很简单。先对数组排序,根据最大值和最小值即可求出公差,然后遍历数组,计算相邻元素的差,如果差不等于公差,即表示数字缺失。 代码如下: ...
分类:
其他好文 时间:
2019-10-21 14:50:23
阅读次数:
70
当Mac系统更新大版本时,由于CommandLine Tools没有更新造成的问题 eg: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Li ...
分类:
系统相关 时间:
2019-10-21 12:06:42
阅读次数:
267
ZGC简介 本次调研目标选取的是jdk11(long-term support)下首次亮相的zgc。 zgc介绍简单翻译了zgc main page:ZGC简介 另外参考hotspot garbage collector team介绍zgc用的ppt:https://archive.fosdem.o ...
分类:
其他好文 时间:
2019-10-20 18:17:06
阅读次数:
248
第一种: sudo vim /etc/resolv.conf 添加nameserver 8.8.8.8 第二种: /etc/apt/sources.list 的内容换成 deb http://old-releases.ubuntu.com/ubuntu/ raring main universe r ...
分类:
其他好文 时间:
2019-10-20 13:17:23
阅读次数:
66
Video Architecture Search 2019-10-20 06:48:26 This blog is from: https://ai.googleblog.com/2019/10/video-architecture-search.html Posted by Michael S. ...
分类:
其他好文 时间:
2019-10-20 10:57:57
阅读次数:
99
41. First Missing Positive Hard 2193655FavoriteShare 41. First Missing Positive Hard 2193655FavoriteShare Hard Given an unsorted integer array, find t ...
分类:
其他好文 时间:
2019-10-19 21:10:59
阅读次数:
100
1.对整型前【后】自增(自减),在获取整型的值之前【后】,值递增(递减),结果为整型。 1 $a = 1; 2 var_dump( $a++ ); 3 $a = 1; 4 var_dump( ++$a ); 5 $a = 1; 6 var_dump( $a-- ); 7 $a = 1; 8 var_ ...
分类:
Web程序 时间:
2019-10-19 20:22:56
阅读次数:
111
https://www.dell.com/support/article/cn/zh/cnbsd1/sln151664/如何在戴尔pc上安装ubuntu-linux?lang=zh ...
分类:
系统相关 时间:
2019-10-19 13:08:16
阅读次数:
117
Given an array containing n distinct numbers taken from 0, 1, 2, ..., n, find the one that is missing from the array. Example 1: Example 2: Note:Your ...
分类:
其他好文 时间:
2019-10-19 09:33:02
阅读次数:
63