用flayway实现springboot项目启动自动执行sql功能: 1、在pom文件中引入依赖包: <!--自动执行sql--> <dependency> <groupId>org.flywaydb</groupId> <artifactId>flyway-core</artifactId> <v ...
分类:
数据库 时间:
2020-12-23 11:55:29
阅读次数:
0
参数必须要传,不用也要传空 set(getdep1 ${CMAKE_SOURCE_DIR}/clone.sh) execute_process(COMMAND ${getdep1} "") set(MAKE_CMD "${CMAKE_CURRENT_SOURCE_DIR}/makeHeaders.s ...
分类:
其他好文 时间:
2020-12-23 11:53:16
阅读次数:
0
处理数据常用的语言,使用基本的api处理一个wordcount 读取文件,找出单词(转大写)出现次数,并排序,获取TopK数据。 scala语言 def main(args: Array[String]): Unit = { //读取文件 val source: BufferedSource = S ...
分类:
编程语言 时间:
2020-12-21 11:45:54
阅读次数:
0
https://zhuanlan.zhihu.com/p/101284491?utm_source=wechat_session df.groupby(' col_name ').agg('count') ...
分类:
其他好文 时间:
2020-12-21 11:10:12
阅读次数:
0
Django-cas-ng 报Not Found: /accounts/login/ 报错如下,在请求接口地址时,由于未登录,会跳转到登录页面,但是没有往预想的登录页跳转,而是跳转到/accounts/login/ [14/Dec/2020 14:17:55] "GET /api/v1/projec ...
分类:
其他好文 时间:
2020-12-19 12:11:59
阅读次数:
1
使用event-source-polyfill 前提: 严格的来说,HTTP协议无法做到服务端主动推送消息,但是,有一种方法,是服务器向客户端声明,接下来要发送的是流信息(streaming)。也就是说,发送的不是一次性的数据包,而是一个数据流,会连续不断的发送过来,这时,客户端不会关闭链接,会一直 ...
分类:
其他好文 时间:
2020-12-19 11:37:37
阅读次数:
1
连接hdfs 根据hdfs的版本引用相关的hdfs依赖 <!-- https://mvnrepository.com/artifact/org.apache.hadoop/hadoop-client --> <dependency> <groupId>org.apache.hadoop</group ...
没学会 先存一个留着吗慢慢看 from translations import Machineclass Matter(object): passmodel = Matter()states = ['New', 'Ready', 'Waiting', 'Running', 'Terminated'] ...
分类:
系统相关 时间:
2020-12-18 13:01:30
阅读次数:
3
1. 下载与安装 https://zhuanlan.zhihu.com/p/76613134 https://sourceforge.net/projects/mingw-w64/ 2. VS Code配置 ...
分类:
其他好文 时间:
2020-12-18 12:13:22
阅读次数:
3
关注日志路径 C:/Windows/System32/winevt/Logs/ C:/WINDOWS/system32/config Dumpel 本地或远程导出日志 dumpel -f file [-s \\server] [-l log [-m source]] [-e n1 n2 n3..] ...