注意: JDK要求: Maven 3.3 要求 JDK 1.7 或以上; Maven 3.2 要求 JDK 1.6 或以上; Maven 3.0/3.1 要求 JDK 1.5 或以上 尽量使用1.8版本以上的JDK MAVEN官方最新版下载地址: http://maven.apache.org/do ...
分类:
其他好文 时间:
2020-03-08 17:57:06
阅读次数:
110
查询员工信息 S:静默登录 执行导入脚本 [oracle@localhost ~]$ cat impdept.sh !/bin/bash while read line do if [[ z $line ]];then continue fi dno= name= l= sqlplus S scot ...
分类:
数据库 时间:
2020-03-08 17:31:09
阅读次数:
83
我们知道,在Java语言中有三种循环,分别是while循环,do…while循环和for循环。其实,从JDK1.5开始,又引入了一种增强型for循环,这种新型的for循环主要是用来遍历数组或集合的,它的格式非常简单,下图展示了增强型for循环的基本结构:增强型for循环被设计出来就是为了遍历数组或者是集合的,所以在循环中都会指定一个数组或者是集合。为了方便程序员编码,增强型for循环不再通过”下标
分类:
编程语言 时间:
2020-03-08 00:58:34
阅读次数:
398
1 日期格式化: 1 moment().format('MMMM Do YYYY, h:mm:ss a'); // 三月 7日 2020, 11:59:47 中午 2 3 moment().format('dddd'); // 星期六 4 5 moment().format("MMM Do YY") ...
分类:
其他好文 时间:
2020-03-07 12:56:20
阅读次数:
148
键盘输入一个整数n,接着输入n个实型数,分别求取这n个实型数的平方根。代码如下: 使用gcc编译,报错如下: 原因是没有链接数学库,加上-lm即可,-l是链接,m是数学库(math.h) 那我们怎么知道sqrt在哪个库呢? centos7下使用: nm -Do /lib64/*.so|grep sq ...
分类:
其他好文 时间:
2020-03-07 10:10:31
阅读次数:
96
上一篇文章(http://www.bcbxhome.com/bcbx/forum.php?mod=viewthread&tid=26#lastpost)我们解决了“What is it”的问题,下面让我们来讨论“How to do”的问题。使用因果图设计测试用例一般包括下面几个步骤: 1.1.1. ...
分类:
其他好文 时间:
2020-03-07 10:01:08
阅读次数:
326
前言 最近在学下docker,以下是我整理的一些docker的基础命令,欢迎小伙伴们在评论补充! curl -fsSL https://get.docker.com/ | sh 安装 yum -y install docker 安装(版本较老) systemctl start docker 启动do ...
分类:
其他好文 时间:
2020-03-06 19:37:07
阅读次数:
81
using (TransactionScope scope = new TransactionScope()) { //Do something with context1 //Do something with context2 //Save Changes but don't discard y ...
分类:
其他好文 时间:
2020-03-06 17:33:59
阅读次数:
64
Make sure you’re eating something with your coffee. Sometimes an empty stomach will make you feel the effects too fast. Drink enough water throughout ...
分类:
其他好文 时间:
2020-03-06 15:13:25
阅读次数:
69
See also: https://bugreports.qt.io/browse/QTBUG-41242https://bugzilla.redhat.com/show_bug.cgi?id=1350275 Do you have better luck if you run RStudio wi ...
分类:
其他好文 时间:
2020-03-06 13:00:21
阅读次数:
60