1、检索文件夹大小的程序,要求执行方式如下 python3.8 run.py 文件夹 import osimport sys def get_file_size(files_list, size=0): for file in files_list: if not os.path.isfile(fi ...
分类:
其他好文 时间:
2020-03-30 23:47:07
阅读次数:
125
@Slf4j@Controllerpublic class ExportPPTController { private static final String REQ_FILES = "files"; private static final String REQ_DATA = "data"; pr ...
分类:
其他好文 时间:
2020-03-30 19:34:59
阅读次数:
75
shell基础 帮助文档 man help 目录及文件的基本操作 查看文件内容 命令别名 环境变量 排序命令 IO和重定向 多重指令 vim 三种状态 安装包安装 网络 SUID权限 S权限 file查看文件的类型 压缩及解压 命令使用技巧 善用Tab键 使用命令历史 !500 适时清屏 查找常用命 ...
分类:
系统相关 时间:
2020-03-30 12:42:04
阅读次数:
100
You have an array of . Each log is a space delimited string of words. For each log, the first word in each log is an alphanumeric identifier . Then, e ...
分类:
编程语言 时间:
2020-03-30 09:46:15
阅读次数:
93
· "C:\Program Files\Java\jdk-14\bin\java.exe" "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA 2019.3.4\lib\idea_rt.jar=63252:C:\Program Files\Jet ...
分类:
编程语言 时间:
2020-03-30 00:28:26
阅读次数:
226
FHS(FilesystemHierarchyStandard)文件结构:/bin:所有用户可用的基本命令程序文件/sbin:供系统管理适用的工具程序/boot:引导加载器必须用到的各静态文件:kernel,initramfs(initrd),grup等/dev:存储特殊文件或设备文件:设备有两种类型:字符设备(线性设备)、块设备(随机设备):/etc:主机特有的配置文件,只能为静态。/home:
分类:
系统相关 时间:
2020-03-29 19:40:07
阅读次数:
124
我们知道oarcle数据库真正存放数据的是数据文件(data files),Oarcle表空间(tablespaces)实际上是一个逻辑的概念,他在物理上是并不存在的,那么把一组data files 捻在一起就成为一个表空间。 表空间属性: 一个数据库可以包含多个表空间,一个表空间只能属于一个数据库 ...
分类:
数据库 时间:
2020-03-29 16:38:11
阅读次数:
90
前言: App Inspector:浏览器端的移动设备 UI 查看器,使用树状态结构查看 UI 布局,自动生成 XPaths。官网:https://macacajs.github.io/app-inspector/cn/ 本次教程仅支持iOS,Mac 一、环境安装: 1、安装Node.js brew ...
分类:
移动开发 时间:
2020-03-29 11:06:31
阅读次数:
110
Files already tracked by Git are not affected; Git - gitignore Documentation https://git-scm.com/docs/gitignore gitignore - Specifies intentionally un ...
分类:
其他好文 时间:
2020-03-28 23:44:18
阅读次数:
102
highstate_doc.read_file output the contents of a file: this is a workaround if the cp.push module does not work. https://github.com/saltstack/salt/iss ...
分类:
其他好文 时间:
2020-03-28 21:52:39
阅读次数:
86