1.配置file associations File->Preferences->settings->Text Editor->Files,编辑settiings.json: “files.associations”: {“.pc”: “c”,} 之后重启vscode。 这样任何以pc为扩展名的文件 ...
分类:
其他好文 时间:
2020-07-01 20:49:45
阅读次数:
126
这个bat文件要求本地安装有winrar解压软件,位置是:C:\Program Files\WinRAR\WinRAR.exe 如果执行报错,请检查你复制我的代码是否有问题,有些复制粘贴进去后因为一些字符原因更改,粘贴后请检查是否和复制的一致。 rem 定时备份文件并FTP上传至备份服务器 rem ...
分类:
其他好文 时间:
2020-07-01 12:43:08
阅读次数:
47
方式一 以流的形式上传图片直接返回路径,这样写: 好处:方便处理存取数据返回路径 不好的地方:可能冗余,上传的文件后面并未使用 1.用koa-body中间件 注:如果已经使用了koa-bodyParser中间件,请remove此中间件,koa-body可以代替koa-bodyParser 在app. ...
分类:
Web程序 时间:
2020-07-01 12:19:47
阅读次数:
100
[root@host-172-16-103-3 log]# systemctl is-enabled cloud-init-local.service cloud-init.service cloud-config.service cloud-final.service enabled enable ...
分类:
其他好文 时间:
2020-07-01 11:05:00
阅读次数:
50
location / { root /Users/heyang/Desktop/web/static; index index.html index.htm; try_files $uri $uri/ /index.html; } ...
分类:
其他好文 时间:
2020-06-30 17:12:37
阅读次数:
64
AndroidStudio采用Gradle构建项目。项目中又两个build.gradle文件,一个在最外层的目录中,一个在app目录下。最外层目录的build.gradle//Top-levelbuildfilewhereyoucanaddconfigurationoptionscommontoallsub-projects/modules.buildscript{repositories{goo
分类:
移动开发 时间:
2020-06-30 11:03:23
阅读次数:
99
## 一.环境搭建 #### 1.安装node - 去[官网](https://nodejs.org/zh-cn/)下载node安装包 - 傻瓜式安装 - 万一安装后终端没有node环境,要进行node环境变量的配置(C:\Program Files\nodejs\) - 可以通过node提供的np ...
分类:
其他好文 时间:
2020-06-30 00:23:10
阅读次数:
69
一、认识入口文件 React 中,app/main.js 叫做入口文件,这个文件是 webpack.congifg.js 的 entry 标识的文件。任何项目入口文件只能有 1 个。 入口文件写法: import React from "react"; import ReactDom from "r ...
分类:
其他好文 时间:
2020-06-29 18:46:16
阅读次数:
80
因为 wsl 是不支持运行 Docker-Engine的,所以我们得在 window平台安装 Docker 安装网址:https://docs.docker.com/docker-for-windows/install/ 第一种方法(前提:docker安装c盘下,此方法运行 docker 命令较慢, ...
分类:
其他好文 时间:
2020-06-29 18:36:43
阅读次数:
108
//SORT1 EXEC PGM=SORT //SORTIN DD * 02CAR 2370000000000000 SMPL1 2370000000000000 SMPL2 2370000000000000 SMPL3 9201007160000000 02BIKE 237000000000000 ...
分类:
其他好文 时间:
2020-06-29 17:02:54
阅读次数:
58