因为某种应用场景我需要将特定目录下的txt文件进行清理,核心命令如下: find 目录 -name '*.txt' -type f -print -exec rm -rf {} \; 例如: find /home/tech/data_log -name '*.txt' -type f -print ...
分类:
系统相关 时间:
2021-06-05 17:53:08
阅读次数:
0
create database zuoye; -- 创建数据库 use zuoye; -- 使用数据库 #创建几个库表 create table Student -- 学生表 ( Sno char(3) NOT NULL Primary key , -- 学号 ,设为主键,不允许空值 Sname c ...
分类:
数据库 时间:
2021-06-05 17:46:33
阅读次数:
0
1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4 using System.Data; 5 using System.Data.SqlClient; 6 using System. ...
Vue CLI脚手架 Vue CLI 安装和使用 npm install @vue/cli -g vue create 项目的过程 项目的目录结构 认识Vite Vite的构造 浏览器原生支持模块化 Vite的安装和使用 npm install vite –g # 全局安装 npm install ...
分类:
其他好文 时间:
2021-06-05 17:41:29
阅读次数:
0
1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4 using System.Data; 5 using System.Data.SqlClient; 6 using System. ...
分类:
其他好文 时间:
2021-06-05 17:38:06
阅读次数:
0
比如,同时打开很多终端。 option+command+点击程序的关闭按钮 这样就可以一次全部关闭程序了。 ...
分类:
系统相关 时间:
2021-06-05 17:36:57
阅读次数:
0
物理备份: 冷备份:cp tar 逻辑备份: mysqldump mysqldump:是MySQL的客户端命令,通过mysql协议连接至mysql服务器进行备份 -A, --all-databases #备份所有数据库,含create database -B, --databases db_name ...
分类:
数据库 时间:
2021-06-05 17:33:01
阅读次数:
0
? 1 训练时 model = Word2Vec(x, size=250, window=5, min_count=5, workers=12, iter=10, sg=1) 这句代码一直报错 查了发现 size和iter依然是时代的眼泪了。改成下面 model = Word2Vec(x, vect ...
分类:
其他好文 时间:
2021-06-04 19:54:36
阅读次数:
0
###yum安装依赖包 yum -y install libaio ###下载mysql_8.x版本rpm包 wget http://repo.mysql.com/mysql80-community-release-el7-1.noarch.rpm ###安装mysql_yum源 yum local ...
分类:
数据库 时间:
2021-06-04 19:54:22
阅读次数:
0
还是老规矩,QScopedPointer概念性的东西我就不赘述了,网上百度一抓一大把。 这里主要用实际的例子来说明一下QScopedPointer这个智能指针中data()和take()的用法,这里面是有坑的。 我们先来说一下data()和take()分别表示的是什么意思? 首先你可以把QScope ...
分类:
其他好文 时间:
2021-06-04 19:48:15
阅读次数:
0