码迷,mamicode.com
首页 >  
搜索关键字:python.h:no such file    ( 50992个结果)
关于win与linux文件的格式转换
1. 今天在windows上写了一个脚本,拷贝到linux执行报错 :-bash: xxx: /bin/bash^M: bad interpreter: No such file or directory 主要原因是脚本是我在windows下编辑然后上传到linux系统里执行的。.sh文件的格式为d ...
分类:Windows程序   时间:2020-06-05 13:15:06    阅读次数:93
在java中使用数据库的配置方法(在java中的驱动程序是一个独立的“jar包”)
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
浅尝 Elastic Stack (五) Logstash + Beats + Kafka
在 Elasticsearch、Kibana、Beats 安装 中讲到推荐架构: 本文基于 Logstash + Beats 读取 Spring Boot 日志 将其改为上述架构 如果没有安装 Kafka 需要首先安装:http://kafka.apache.org/quickstart ,如果需要 ...
分类:其他好文   时间:2020-06-05 13:04:50    阅读次数:48
AttributeError: ‘_io.TextIOWrapper‘ object has no attribute ‘xreadlines‘
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
Java中Main函数探讨
上一章看到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
SpringBoot 在IDEA中实现热部署
学习目标 快速学会在项目中使用热部署插件运行项目,提高开发效率。 具体步骤 一、开启IDEA的自动编译(静态) 具体步骤:打开顶部工具栏 File -> Settings -> Default Settings -> Build -> Compiler 然后勾选 Build project auto ...
分类:编程语言   时间:2020-06-05 12:53:21    阅读次数:82
ansible分发日志清理脚本
日志清理目前覆盖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
Shell实现iOS项目build打包后自动+1
把下面的代码放到run Script中,感兴趣的,代码不懂的可以学一下shell! # Type a script or drag a script file from your workspace to insert its path. if [ $CONFIGURATION == Release ...
分类:移动开发   时间:2020-06-05 10:27:07    阅读次数:117
Linux-压缩和解压
压缩 gzip Usage: gzip [OPTION]... [FILE]... gzip passwd 压缩文件 默认会删除文件 gunzip pass.gz 解压文件,默认也会删除文件 gzip -d passwd.gz 解压文件 -c 保留原来的文件 gzip -c passwd > pas ...
分类:系统相关   时间:2020-06-05 01:05:10    阅读次数:80
Linux-wget用法
wget 下载文件 -O filename 指定生成的文件名 -P 保存到指定的目录 -q 静默模式 -r 递归下载 -p 下载所有的html元素 wget http://www.xiaohuar.com/d/file/20190809/small620192446e4599c844fc40a3e7 ...
分类:系统相关   时间:2020-06-05 00:44:12    阅读次数:78
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!