使用git-pylint-commit-hook工具 pre-commit脚本 配置文件放在仓库根目录/hooks下面 git-pylint-commit-hook --limit=9.0 --pylintrc=hooks/.pylintrc 配置 [BASIC] # Regular express ...
分类:
其他好文 时间:
2021-04-10 13:26:17
阅读次数:
0
Npm包管理器相当于我们之前学的java项目中的Maven,他们的作用相同,用法近乎相似。 1.首先要构建nodejs工程,命令为npm init 或是 npm init -y(创建工程时选项默认)。 2.打开终端输入npm init 点击回车, 3.package name(项目名称): npmp ...
分类:
其他好文 时间:
2021-04-08 13:59:07
阅读次数:
0
Windows搭建VUE环境 下载 http://nodejs.cn/download/ 安装-更换路径,傻瓜式安装即可 管理员模式打开命令行窗口,依次输入 node -v npm -v npm install cnpm -g 安装vue npm install vue-cli -g 测试一下 vu ...
## 1. 下载node [node官网](https://nodejs.org/en/) ## 2. 安装镜像 npm install -g mirror-config-china ## 3. 下载项目git clone https://******.git ## 4. 安装项目依赖 npm i ...
分类:
Web程序 时间:
2021-04-05 12:02:01
阅读次数:
0
首先感谢这位大哥帖子:https://www.hangge.com/blog/cache/detail_2461.html 解决如下: 在application.properties加: spring.web.resources.static-locations=classpath:/META-IN ...
分类:
编程语言 时间:
2021-04-01 13:16:56
阅读次数:
0
https://daveceddia.com/deploy-react-express-app-heroku/ You’ve got a React app, and an API server written in Express or something else. Now – how do y ...
分类:
其他好文 时间:
2021-03-31 12:15:10
阅读次数:
0
前提:安装node.js 1、监控工具:# npm install clinic -g 2、压测工具:# npm i autocannon -g 3、使用监控工具启动前端服务:# clinic doctor -- node server.js 4、使用压测工具压测(并发100持续20秒):# aut ...
分类:
Web程序 时间:
2021-03-31 11:53:36
阅读次数:
0
在添加图片 请求到方法接收 open打开当前的图片路径 text 第一个参数时你要添加的水印是 第二个参数是路径 public function imlist(){ // 获取表单上传文件 例如上传了001.jpg $file = request()->file('img'); // 移动到框架应用 ...
分类:
Web程序 时间:
2021-03-30 13:35:21
阅读次数:
0
创建db.js 1.安装mysql依赖 //打开终端,输入 npm install mysql 2.导入mysql依赖 var mysql = require('mysql'); 3.创建一个mysql的Connection对象,配置数据库连接信息。 var conntion = mysql.cre ...
分类:
数据库 时间:
2021-03-26 15:15:43
阅读次数:
0
1.UEditor 是由百度「FEX前端研发团队」开发的所见即所得富文本web编辑器,具有轻量,可定制,注重用户体验等特点,开源基于MIT协议,允许自由使用和修改代码。 2.配置图片保存,由于编辑器 在保存时 要先将图片上传到后台,前台显示的只是一个<img src='路径'>,就需要后台代码的配合 ...
分类:
Web程序 时间:
2021-03-18 14:45:44
阅读次数:
0