查看mysql版本: mysql --version CentOS7的yum源中默认好像是没有mysql的。为了解决这个问题,我们要先下载mysql的repo源。 1. 下载mysql的repo源 2. 安装mysql-community-release-el7-5.noarch.rpm包 安装这个 ...
分类:
数据库 时间:
2018-09-28 23:30:08
阅读次数:
379
上篇文章简单学习了java8内置得4大核心函数式接口,这类接口可以解决我们遇到得大多数得业务场景得问题。今天来简单学习一下方法引用与构造器引用。 知识点一:方法引用 什么是方法引用? 什么时候使用方法引用呢? 方法引用使用的前提条件是什么呢? 方法引用有什么语法格式吗? 方法引用一般有三种格式: 1 ...
分类:
其他好文 时间:
2018-09-28 22:09:33
阅读次数:
221
A frog is crossing a river. The river is divided into x units and at each unit there may or may not exist a stone. The frog can jump on a stone, but i ...
分类:
其他好文 时间:
2018-09-28 22:04:37
阅读次数:
177
select p.sku_id as skuId, p.sku_name as skuName, p.sku_unit as skuUnit, p.sku_price_unit as skuPriceUnit, p.unit_price_num as unitPriceNum, p.c1_id as ...
分类:
其他好文 时间:
2018-09-28 16:39:04
阅读次数:
146
1 """ 2 A TestRunner for use with the Python unit testing framework. It 3 generates a HTML report to show the result at a glance. 4 5 The simplest way... ...
分类:
编程语言 时间:
2018-09-28 13:46:43
阅读次数:
130
在第三人称游戏开发中,因为我们的人物是会不断移动的,所以我们的相机需要保持合适的角度跟随我们的人物进行移动,最简单的一种实现方法是先在unity场景中将摄像机调整到合适的位置,然后将它放到我们的人物下面,让他成为人物的子物体,这样做也可以达到摄像机跟随的目的。如果对摄像机跟随的要求不高的话可以临时采 ...
分类:
编程语言 时间:
2018-09-28 00:07:31
阅读次数:
687
对操作不成功时,希望能够继续执行其他操作,或者是,希望操作不成功时,能够写日志记录 目录 1、常见异常 2、截图处理 1、常见异常 1.NoSuchElementException:没有找到元素 2.NoSuchFrameException:没有找到iframe 3.NoSuchWindowExce ...
分类:
其他好文 时间:
2018-09-28 00:07:10
阅读次数:
233
今天说的异常是一个很不常见的异常,至少我不经常见到这个异常。首先先看下NoClassDefFoundError官方定义 :Java Virtual Machine is not able to find a particular class at runtime which was availabl ...
分类:
编程语言 时间:
2018-09-27 22:06:25
阅读次数:
161
python unittest 测试所有相关单元测试python -m unittest discover project_directory "ut_*.py" python unittest 测试所有相关单元测试python -m unittest discover project_direct ...
分类:
编程语言 时间:
2018-09-27 18:12:49
阅读次数:
179
新建一个“supervisord.service”文件 # dservice for systemd (CentOS 7.0+) # by ET-CS (https://github.com/ET-CS) [Unit] Description=Supervisor daemon [Service] ...
分类:
其他好文 时间:
2018-09-27 01:53:40
阅读次数:
196