1. 文件复制命令 cp 将源文件名移动至目标文件夹 cp [options] source_file destination_folder 2. 移动文件命令 mv 将源文件名改为目标文件名 mv [options] source_file new_file 将文件移动到目标目录 mv [opti ...
分类:
系统相关 时间:
2020-07-26 19:41:23
阅读次数:
170
自jdk 1.5之后就提供了一个Closeable接口,可以方便的帮助我们关闭需要处理的资源,比如说各种 流 数据库连接 socket连接~~~~~之类的 源码: /** * A {@code Closeable} is a source or destination of data that ca ...
分类:
其他好文 时间:
2020-07-26 19:35:25
阅读次数:
74
eclipse中选择->window->show view->other弹出对话框中选择general下面找problems然后双击,即可查看红叉原因. 我的项目报 :An error occurred while filtering resources 解决方案: 1.右键项目 2找到maven ...
分类:
系统相关 时间:
2020-07-26 19:12:44
阅读次数:
88
<script type="text/javascript"> /* Object.assign(target, source_1, ···) 用于将源对象的所有可枚举属性复制到目标对象中。 返回值是target对象 如果目标对象和源对象有同名属性,或者多个源对象有同名属性,则后面的属性会覆盖前面的 ...
分类:
其他好文 时间:
2020-07-26 15:12:28
阅读次数:
56
1. MySQL部署 1.1拉取MySQL镜像 docker pull mysql docker images 1.2创建MySQL容器 docker run -d --name mysql_name -p 3306:3306 -e MYSQL_ROOT_PASSWORD=password mysq ...
分类:
数据库 时间:
2020-07-26 01:20:29
阅读次数:
85
1.继承 Thread类,并重写run()方法: public class Thread001 extends Thread{ @Override public void run() { System.out.println(Thread.currentThread().getName()+"我是子 ...
分类:
编程语言 时间:
2020-07-26 00:11:57
阅读次数:
69
一、Quartz核心部分 -- Schedule - 任务调度器 1、由SchedulerFactory创建,一般使用StdSchedulerFactory,创建后处于“待定”状态,start方法启动。 2、主要用来进行组装任务与触发器注册到调度器中;启动触发器。 -- Trigger - 触发器 ...
分类:
其他好文 时间:
2020-07-24 22:09:18
阅读次数:
86
webstrom less 配置(同级生成css 和 map) $FileName$ $FileNameWithoutExtension$.css --source-map $FileNameWithoutExtension$.css:$FileNameWithoutExtension$.css.m ...
分类:
Web程序 时间:
2020-07-24 21:54:51
阅读次数:
81
Dijkstra's algorithm is one of the very famous greedy algorithms. It is used for solving the single source shortest path problem which gives the short ...
分类:
其他好文 时间:
2020-07-24 21:53:35
阅读次数:
107
4 开启 Reduce 输出阶段压缩 当 Hive 将 输 出 写 入 到 表 中 时 , 输 出 内 容 同 样 可 以 进 行 压 缩 。 属 性hive.exec.compress.output 控制着这个功能。用户可能需要保持默认设置文件中的默认值 false, 这样默认的输出就是非压缩的纯 ...
分类:
其他好文 时间:
2020-07-24 21:30:31
阅读次数:
69