昨天又经历了一回把写的代码全删的可怕事件。 今天想到了一个解决方法,在主CMakeLists.txt同级目录创建clean.sh #! /bin/bash pwd rm -rf ../build/* echo "finished" 在build目录下执行 ../clean.sh 虽然也不保险,但是我 ...
分类:
其他好文 时间:
2021-05-24 05:11:29
阅读次数:
0
shell脚本1 1.脚本基础 shell程序是linux/unix操作系统与用户交互的接口 1.1 内建命令 内建命令:shell程序本身可以接收并处理的指令 外部命令:从path路径中搜索,创建一个当前shell的子进程,子进程执行 type -a 指令 [root@iZjrkzhzhrquk8 ...
分类:
系统相关 时间:
2021-05-24 04:51:08
阅读次数:
0
static void Main(string[] args) { //Console.WriteLine("Hello World!"); //ShowInt(10); //ShowString("test"); //ShowDateTime(DateTime.Now); //ShowObject ...
分类:
其他好文 时间:
2021-05-24 04:48:03
阅读次数:
0
1. 必要环境 请确保已安装 node npm webpack 2.创建一个test文件夹 mkdir test && cd test && npm init 3. 创建 webpack.dev.config.js const path = require('path') const {CleanW ...
分类:
Web程序 时间:
2021-05-24 04:44:39
阅读次数:
0
1. download allure from git 2. config path (refer to: https://www.cnblogs.com/ycyzharry/p/10887922.html,https://www.jianshu.com/p/acb1f062a925) 3. val ...
分类:
其他好文 时间:
2021-05-24 04:32:33
阅读次数:
0
<Style TargetType="DataGridCell"> <Setter Property="ToolTip" Value="{Binding RelativeSource={RelativeSource Self} ,Path=Content.Text}"/> </Style> 加入全局 ...
镜像 docker pull *** //拉取镜像 docker images //查看本地镜像 docker run *** //运行镜像(加-d 后台运行) docker rmi *** //删除镜像(加-f可强制删除) docker build -t jpress:latest . //编译镜 ...
分类:
其他好文 时间:
2021-05-24 03:24:25
阅读次数:
0
// 全局路由导航拦截 router.beforeEach((to, from, next) ? { // ... if (to.path '/login') { // 如果是登录页面路径,就直接next() next() } else { // 其他页面路径 let token = session ...
分类:
其他好文 时间:
2021-05-24 02:26:50
阅读次数:
0
###1、path.join() 方法用于连接路径。该方法的主要用途在于,会正确使用当前系统的路径分隔符,Unix系统是”/“,Windows系统是”\“。 var path = require('path'); path.join(mydir, "foo"); 上面代码在Unix系统下,会返回路径 ...
分类:
其他好文 时间:
2021-05-24 02:14:57
阅读次数:
0
Little Q is very sleepy, and he really needs some coffee to make him awake. At this time, Little L brings a pot to Little Q, and he states the pot as ...
分类:
其他好文 时间:
2021-05-24 02:14:37
阅读次数:
0