最近整理了一下spring boot关于对多数据源的配置,记录下来: 一, 引入Jar包: <dependency> <!-- MySql驱动 --> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> </d ...
分类:
编程语言 时间:
2021-06-02 11:18:39
阅读次数:
0
来自 W3School 的 HTML 快速参考。可以打印它,以备日常使用。 HTML Basic Document <html> <head> <title>Document name goes here</title> </head> <body> Visible text goes here < ...
分类:
Web程序 时间:
2021-05-25 18:41:32
阅读次数:
0
finchina用户登录财汇数据库: 1.备份财汇数据库(finchina) 登陆Oracle服务器端: (1)在操作系统上建立真实目录(注意当前路径有足够大的存储空间) mkdir -p /oracle/db/20210430 echo $ORACLE_SID sqlplus / as sysdb ...
分类:
其他好文 时间:
2021-05-25 18:12:10
阅读次数:
0
public class Singleton { private volatile static Singleton singleton; private Singleton (){} public static Singleton getSingleton() { if (singleton == ...
分类:
其他好文 时间:
2021-05-25 18:05:10
阅读次数:
0
前提条件是要设置secure_file_priv,该参数是需要重启实例的 mysql> show variables like '%secure%';+ + +| Variable_name | Value |+ + +| require_secure_transport | OFF || secu ...
分类:
数据库 时间:
2021-05-24 17:05:50
阅读次数:
0
模拟算法:打印任务 Queue来实现 队列(queue)是一种有次序的数据集合,其特征是新数据项的添加总发生在一端(通常称为“尾rear”端)而现存数据项的移除总发生在另一端(通常称为“首front”端) 问题:多人共享一台打印机,采取“先到先服务”的队列策略来执行打印任务 在这种设定下,一个首要的 ...
分类:
编程语言 时间:
2021-05-24 16:55:37
阅读次数:
0
Here’s to the crazy ones. The misfits. The rebels. The troublemakers. The round pegs in the square holes. The ones who see things differently. They’re ...
分类:
其他好文 时间:
2021-05-24 16:46:31
阅读次数:
0
An Azure storage account contains all of your Azure Storage data objects: blobs, file shares, queues, tables, and disks. The storage account provides ...
分类:
其他好文 时间:
2021-05-24 14:07:40
阅读次数:
0
简介 使用队列实现队列哈哈. code class MyQueue { public: queue<int> q; public: /** Initialize your data structure here. */ MyQueue() { } /** Push element x to the ...
分类:
其他好文 时间:
2021-05-24 13:17:52
阅读次数:
0
补题链接:Here 算法涉及:DP + 离散化 \(l\) 的范围太大,无法作为数组下标,所以先离散化,再DP。两点间的距离d大于t时,一定可以由 \(d\ \%\ t\) 跳过来,所以最多只需要t+d%t种距离的状态就可以表示这两个石子之间的任意距离关系。这样就把题目中的 \(10^9\) 压缩成 ...
分类:
其他好文 时间:
2021-05-24 12:38:52
阅读次数:
0