摘要: HTMLTestRunner 生成报告如下图: 展开后可查看详情信息: 直接复制以下代码,保存为HTMLTestRunner.py 即可 # coding=utf-8 """ A TestRunner for use with the Python unit testing framework. I 阅读全文
posted @ 2020-06-30 10:38 pandaly 阅读(4180) 评论(2) 推荐(1) 编辑
摘要: import os pwd = os.getcwd() print("当前目录: " + pwd) father_path_method1 = os.path.dirname(pwd) print("当前目录的父目录_方式一: " + father_path_method1) separator = 阅读全文
posted @ 2020-06-29 10:44 pandaly 阅读(3700) 评论(0) 推荐(0) 编辑
摘要: UPDATE store SET food_ordering =1,self_pickup_remark = CONCAT('self pick up notes:',store_code,short_name) WHERE merchant_id = "360087641000000807" AN 阅读全文
posted @ 2020-06-17 11:41 pandaly 阅读(1497) 评论(0) 推荐(0) 编辑
摘要: 安装vscode 官网:https://code.visualstudio.com/ 安装 Vetur 插件,识别 vue 文件 插件库中搜索Vetur,点击安装,安装完成之后点击重新加载 新建代码片段 文件 ➡ 首选项 ➡ 用户代码片段 ➡ 点击新建全局代码片段 ➡ 取名 vue ➡ 确定 粘入v 阅读全文
posted @ 2020-06-03 00:16 pandaly 阅读(1481) 评论(0) 推荐(0) 编辑
摘要: 由于vue对语法的限制过于严格,以至于在我第一次编译运行的时候一直编译失败,当然也包括一些警告 ➜ myproject npm run dev > testapp@1.0.0 dev /Users/test/myproject > webpack-dev-server --inline --prog 阅读全文
posted @ 2020-05-28 22:30 pandaly 阅读(6863) 评论(0) 推荐(1) 编辑
摘要: node-sass安装失败,提示如下: gyp verb check python checking for Python executable "python" in the PATH gyp verb `which` succeeded python D:\Program Files\Pytho 阅读全文
posted @ 2020-05-23 16:01 pandaly 阅读(14819) 评论(1) 推荐(4) 编辑
摘要: 1 镜像加速 创建docker 目录 sudo mkdir -p /etc/docker 镜像加速: sudo tee /etc/docker/daemon.json <<-'EOF' { "registry-mirrors": ["https://l9obl5ce.mirror.aliyuncs. 阅读全文
posted @ 2020-05-22 00:35 pandaly 阅读(491) 评论(1) 推荐(0) 编辑
摘要: 1 阿里云主页选择控制台 2 在控制首页左上角 :三道杠 -产品与服务-搜索镜像- 选择最后的容器镜像服务 3 容器镜像服务页面- 镜像中心-镜像加速器 阅读全文
posted @ 2020-05-21 10:49 pandaly 阅读(1852) 评论(0) 推荐(0) 编辑
摘要: IDEA提示:failed to resolve org.junit.platform,如下图 方法一:修改Maven镜像 D:\Program Files\apache-maven-3.6.3-pc\conf 添加配置信息 <mirror> <id>alimaven</id> <name>aliy 阅读全文
posted @ 2020-05-16 18:10 pandaly 阅读(10374) 评论(0) 推荐(0) 编辑
摘要: grep命令红色高亮关键字 1. 左边侧栏 Session Manage 右键Sessions --Properties 2 Terminal--Appearance Current color scheme 点击Edit 3 点击Bold 并将Foreground 设为红色 , 点击OK 4 重启 阅读全文
posted @ 2020-04-16 14:35 pandaly 阅读(7401) 评论(0) 推荐(0) 编辑