1.检查用户家目录中的 test.sh 文件是否存在,并且检查是否有执行权限 #!/bin/bash if [ -e ~/test.sh ];then echo "test.sh文件存在" if [ -x ~/test.sh ];then echo "test.sh文件有执行权限" else ech ...
分类:
系统相关 时间:
2021-07-19 16:31:26
阅读次数:
0
import os dirlist = os.listdir() #打开文件 fo = open("dirs.txt","w") #遍历 for dir in dirlist: #判断如果是文件夹 if os.path.isdir(dir): #写 file.write(str(os.path.ab ...
分类:
编程语言 时间:
2021-07-16 17:33:40
阅读次数:
0
1.打开CMD win键+R 2.windows常用Dos命令 #切换盘符 d/D: #查看当前目录 dir #切换目录 cd /d 盘符:/目录名 cd .. #清理屏幕 cls #退出终端 exit #查看ip ipconfig(/all) #ping ping 网址 #创建目录 md #创建文 ...
1 // 2 // Created by Administrator on 2021/7/15. 3 // 4 5 #ifndef C__TEST01_PERSON_H 6 #define C__TEST01_PERSON_H 7 8 //类模板 9 template<class T1, class ...
分类:
其他好文 时间:
2021-07-16 17:31:48
阅读次数:
0
php-code-generator 介绍 基于php的代码生成器 测试环境 php ^8.0 支持范围 目前仅支持laravel,后续会支持webman,thinkphp等,也欢迎提交模板 composer composer require zx/php-code-generator 使用方法 1 ...
分类:
Web程序 时间:
2021-07-15 19:01:47
阅读次数:
0
环境搭建 准备一台mac电脑 1.安装所需的依赖 # 安装node brew install node # 查看npm版本 npm -v # 安装Carthage brew install Carthage # 如果只是更新请输入 brew upgrade carthage # 长期替换(建议使用此 ...
分类:
移动开发 时间:
2021-07-14 18:46:05
阅读次数:
0
//单元格B2到B16 以逗号分隔 =TEXTJOIN(",",TRUE,B2:B16) //给B2 单元格添加 "B2" , =""""&B2&""""&"," ...
分类:
其他好文 时间:
2021-07-14 18:41:46
阅读次数:
0
设置请求代理:.umirc中设置。可以将当前访问域名的请求转发到指定域名下。用于跨域代理开发,开发完后放入指定服务器中。 //请求代理 proxy: { '/api': { target: 'http://localhost:3000', changeOrigin: true, pathRewrit ...
分类:
Web程序 时间:
2021-07-14 18:40:58
阅读次数:
0
1.抽取进程延时 2.过程时间分析脚本 [oracle@node2 dirdat]$ cat test01.sh #!/bin/bash echo "sql before time is "`date`>> test.log sqlplus / as sysdba <<EOF @1.sql EOF ...
分类:
其他好文 时间:
2021-07-13 17:42:29
阅读次数:
0
idea 暂存 Stash Changes Git/Repository/Stash Changes 恢复暂存 UnStash Changes ...
分类:
其他好文 时间:
2021-07-13 17:41:22
阅读次数:
0