解决办法:apt-get update或者apt-get cleanapt-get update 或者 apt-get update --fix-missing问题解析1 source本身的问题 根据提示,我们首先应当 apt-get update 一下source,如果在apt-get updat ...
分类:
其他好文 时间:
2021-04-19 15:46:10
阅读次数:
0
mysql开启命令行日志(可以记录source等的日志) mysql> tee hello.log mysql>select now() ; mysql>exit; //退出mysql 客户端 查看 hello.log 文件内容如下: mysql> select now(); 用法如下: Step ...
分类:
数据库 时间:
2021-04-19 15:24:58
阅读次数:
0
强烈建议 参考:https://jakearchibald.com/2015/tasks-microtasks-queues-and-schedules/?utm_source=html5weekly 每个“线程”都有自己的事件循环,因此每个Web工作者都有自己的事件循环,因此可以独立执行,而同一源 ...
分类:
其他好文 时间:
2021-04-19 15:12:26
阅读次数:
0
ResorceBundle(资源绑定器) 绑定配置文件 jdbc.proprtise 需要在src目录下新建一个文件夹然后将jdbc.proprtise放在文件中然后右键该文件夹选择 Rebuild Config。 在引用该配置文件的时候不需要加后缀名。 代码 import java.sql.Con ...
分类:
数据库 时间:
2021-04-19 14:35:44
阅读次数:
0
有时,在一个项目中会用到多数据源,此时可以使用苞米豆的dynamic-datasource-spring-boot-starter:首先,引入jar包: <dependency> <groupId>com.baomidou</groupId> <artifactId>dynamic-datasour ...
分类:
其他好文 时间:
2021-04-16 12:22:51
阅读次数:
0
import org.junit.Test; public class TestMethods { @Test public void test() { System.out.println("hello world"); } } 1:首先需要导入import org.junit.test这个jar ...
分类:
编程语言 时间:
2021-04-16 12:01:06
阅读次数:
0
一、启动数据库服务 cd /usr/local/pgsql/bin su postgres ./pg_ctl start -D /usr/local/pgsql/data 二、创建一个postgres 用户 adduser postgres cd /usr/local/pgsqlmkdir data ...
分类:
其他好文 时间:
2021-04-16 11:52:27
阅读次数:
0
datagrip 连接elasticsearch 默认该driver加载项 1.去maven仓库下载https://mvnrepository.com/artifact/org.elasticsearch.plugin/x-pack-sql-jdbc 下载jar包 2. 把elasticsearch ...
分类:
其他好文 时间:
2021-04-16 11:41:50
阅读次数:
0
用到:java.time,java.util两个jar包,系统默认的包 @Test public void ddd(){ LocalDateTime inDate = convertDateToLDT(DateUtils.strToDate("2021-04-13 17:45", DateUtils ...
分类:
编程语言 时间:
2021-04-15 12:50:08
阅读次数:
0
只能用指定字符,实现函数功能 /* * CS:APP Data Lab * * <Please put your name and userid here> * * bits.c - Source file with your solutions to the Lab. * This is the ...
分类:
移动开发 时间:
2021-04-15 12:42:58
阅读次数:
0