错误提示: warning: LF will be replaced by CRLF in xxx The file will have its original line endings in your working directory 注解: ? LF:Line Feed 换行 ? CRLF: ...
分类:
其他好文 时间:
2020-06-05 14:44:47
阅读次数:
82
一、前提该工程名字是“Qt_Test_1”,在该目录下还有文件夹“build-Qt_Test_1-Debug”和“build-Qt_Test_1-Release”。 后两个文件夹用于存放Debug程序和Release程序。 二、问题 #pragma comment(lib , "/Qt_Test_1 ...
分类:
其他好文 时间:
2020-06-05 14:40:43
阅读次数:
122
1. 今天在windows上写了一个脚本,拷贝到linux执行报错 :-bash: xxx: /bin/bash^M: bad interpreter: No such file or directory 主要原因是脚本是我在windows下编辑然后上传到linux系统里执行的。.sh文件的格式为d ...
1.进入maven的网址中:https://mvnrepository.com/ 在maven仓库中可以看到 mysql jdbc driver的版本是非常多的,你下载jar包的版本必须要和你的mysql服务器版本一致 2.查看mysql服务器版本:5.7 3.选择jar包版本并下载 4.使用jar ...
分类:
数据库 时间:
2020-06-05 13:05:11
阅读次数:
96
在 Elasticsearch、Kibana、Beats 安装 中讲到推荐架构: 本文基于 Logstash + Beats 读取 Spring Boot 日志 将其改为上述架构 如果没有安装 Kafka 需要首先安装:http://kafka.apache.org/quickstart ,如果需要 ...
分类:
其他好文 时间:
2020-06-05 13:04:50
阅读次数:
48
Python 错误!AttributeError: '_io.TextIOWrapper' object has no attribute 'xreadlines' Traceback (most recent call last): File "countline.py", line 33, in... ...
分类:
移动开发 时间:
2020-06-05 13:03:49
阅读次数:
100
上一章看到Main线程后,不禁疑问,Main函数不是执行完他的任务就结束他的使命了嘛? 然后发现,事情没有那么简单。 案例1: 1 public class Main { 2 3 public static void main(String[] args) { 4 Thread t1= new Th ...
分类:
编程语言 时间:
2020-06-05 12:58:16
阅读次数:
76
学习目标 快速学会在项目中使用热部署插件运行项目,提高开发效率。 具体步骤 一、开启IDEA的自动编译(静态) 具体步骤:打开顶部工具栏 File -> Settings -> Default Settings -> Build -> Compiler 然后勾选 Build project auto ...
分类:
编程语言 时间:
2020-06-05 12:53:21
阅读次数:
82
startTime = time.clock()AttributeError: module 'time' has no attribute 'clock python 报错! AttributeError module 'time' has no attribute 'clock' python3... ...
分类:
其他好文 时间:
2020-06-05 12:49:10
阅读次数:
184
日志清理目前覆盖58台服务器如下 此处省略 #!/bin/sh . /etc/rc.d/init.d/functions currTime=$(date +"%Y-%m-%d %T") logpath=/home/local/logs TarlogPath=/data/home/deploy/out ...
分类:
其他好文 时间:
2020-06-05 10:31:39
阅读次数:
81