file1=new File(path);//path 为文件地址String parentPath=file1.getParent();parentPath为path的父级目录String[] arr=null;//用来验证文件是否为空文件File parentFile=new File(pare ...
分类:
编程语言 时间:
2021-07-02 16:09:34
阅读次数:
0
var user = { name:"angdh", age:11, }; console.log( JSON.stringify(Object.getOwnPropertyDescriptors(user),null,2) ); { "name": { "value": "angdh", "wri ...
分类:
Web程序 时间:
2021-07-02 16:01:40
阅读次数:
0
主要讨论RR隔离级别,因为RC只是少了间隙锁。 一、innodb七种锁 共享/排他锁(Shared and Exclusive Locks) 共享锁(Shared Locks,S锁) 排他锁(Exclusive Locks,X锁) 可以一起读,读写/写写互斥。 意向锁(Intention Locks ...
分类:
数据库 时间:
2021-07-02 15:56:48
阅读次数:
0
容器数据卷 docker的理念是应用和环境包打包城镜像. 那么如果数据在容器中,容器被删除跑路,就嗝屁了,所以数据可以持久化的存储在容器外部 容器数据卷就可以让容器之间有一个数据共享技术.把docker容器产生的数据同步到本地. 注意这个本地是的是操作系统linux不是docker.这是个目录挂载技 ...
分类:
其他好文 时间:
2021-07-02 15:55:09
阅读次数:
0
1 public static bool IsInPath(string command) 2 { 3 bool isInPath = false; 4 // 判断PATH中是否存在 命令 5 foreach (string test in (Environment.GetEnvironmentVa ...
分类:
其他好文 时间:
2021-07-02 15:52:09
阅读次数:
0
Ajax学习 创建异步对象的四大步骤 创建——绑定——初始化——发送请求 //一般讲数据处理放在第二步 “绑定” ,也可以放在其他地方。 //异步对象中存在回调机制:即当请求的状态发生变化时,异步对象就会自动调用onreadystatechange事件对应的函数。即readyState值只要变化,就 ...
分类:
Web程序 时间:
2021-07-02 15:43:11
阅读次数:
0
from pandas import DataFrame,Series import pandas as pd import numpy as np ages = [20, 22, 25, 27, 21, 23, 37, 31, 61, 45, 41, 32] bins = [18,25,35,60 ...
分类:
其他好文 时间:
2021-07-02 15:25:42
阅读次数:
0
File—Setting—Appearance&Beha—System Setting—Updates 取消勾选Automatically check updates 复选框 ...
分类:
Web程序 时间:
2021-07-02 15:25:29
阅读次数:
0
before commit, do: git rm --cached <filename> ATTENTION: do not use 'git rm <filename>', this will delete the file from disk if commited, first use: " ...
分类:
其他好文 时间:
2021-07-01 17:07:16
阅读次数:
0
XCTF练习题 MISC intoU flag:RCTF{bmp_file_in_wav} 解题步骤: 1、观察题目,下载附件 2、解压以后是一个音频文件,听一听,挺嗨的,一边听一边想到音频分析,上Audacity解决问题 3、按照习惯和规律,查看该音频文件的频谱图,操作步骤如下 4、从头到尾没有发 ...
分类:
其他好文 时间:
2021-07-01 17:05:55
阅读次数:
0