参考信息 MySQL8.X版本开放root远程连接(Ubuntu20) 本人PC配置信息 OS:Ubuntu20.04 MySQL:8 安装命令 sudo apt update sudo apt install mysql-server 开启远程连接 sudo vim /etc/mysql/mysq ...
分类:
数据库 时间:
2021-03-30 12:56:35
阅读次数:
0
###### base64_编码 如果在linux上直接运行base64命令,则是对字符串进行编码在python和go语言中,需要将字符串转换成字节才能进行base64编码,两者的结果不一样 echo "Hello World" | base64 ###### read_同时为多个变量赋值 命令结果 ...
分类:
系统相关 时间:
2021-03-29 12:32:57
阅读次数:
0
# coding=gbk import os import csv import pandas as pd import shutil # 获取指定文件夹中后缀.svs的文件 def get_svsfile(path_svs): f_list = os.listdir(path_svs) for i ...
分类:
编程语言 时间:
2021-03-29 12:14:06
阅读次数:
0
先看看多少代码量 import os file_types = ['py', 'html', 'css', 'js', ] def count_code_nums(file): """获取单个文件的行数 """ with open(file, mode='rb') as f: return len( ...
分类:
其他好文 时间:
2021-03-29 12:13:33
阅读次数:
0
用spyder运行正常,程序上传到服务器,添加计划任务,运行报错:ModuleNotFoundError: No module named 'selenium',实际上已经安装了。 搜索一番,有人说程序前面加上: import sys import os curPath = os.path.absp ...
分类:
其他好文 时间:
2021-03-29 11:49:17
阅读次数:
0
前提: 原统计文档中条目以空格分隔或只有一列(为了方便awk筛选出某一个列) 1 #!/usr/bin/env python 2 # -*- coding:utf-8 -*- 3 import sys 4 import os 5 6 PRINTRED = "\033[1;31m" 7 PRINTGR ...
分类:
编程语言 时间:
2021-03-18 14:42:22
阅读次数:
0
参考:https://www.imooc.com/article/303110?block_id=tuijian_wz 环境: 操作系统: mac os 11.2.3 idea版本: 社区版 2020.3.2 步骤: 1. 2.打开 Settings -> Plugins,(按照步骤选择,因为我已经 ...
分类:
编程语言 时间:
2021-03-18 14:25:01
阅读次数:
0
在新的springboot项目中,如果在mybatis中使用了ehcache后,再第二次使用ehcache,会提示错误 Another CacheManager with same name 'default' already exists in the same VM. Please provid ...
分类:
编程语言 时间:
2021-03-18 13:59:58
阅读次数:
0
df -T 只可以查看已经挂载的分区和文件系统类型。 Filesystem Type 1K-blocks Used Available Use% Mounted on/dev/sda1 ext4 20642428 3698868 15894984 19% /tmpfs tmpfs 32947160 ...
分类:
系统相关 时间:
2021-03-17 14:14:35
阅读次数:
0
Sql Server提供的计算列是一个虚拟的列,通常情况下该列的值是由表中的其它列计算得出的。默认情况下,它不占用磁盘容量,因为这些计算列的值都是根据我们指定的表达式动态计算出来的,只有查询的时候才会被计算出来。然而,使用了PERSISTED关键字的计算列,会将表达式的计算结果值写入到磁盘中,进一步 ...
分类:
数据库 时间:
2021-03-17 14:01:24
阅读次数:
0