logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

ubuntu下nginx配置不生效,页面一直是默认页面welcome to nginx

ubuntu下nginx的配置文件所在目录:/etc/nginx我们对nginx的配置主要写在nginx.conf文件里,这个目录下还有conf.d和sites-enabled两个文件夹,里面为默认的配置文件。相应的,在配置nginx,编辑nginx.conf文件时,需要把这两行注释掉,否则nginx.conf不会生效。配置完毕后,检查配置文件是否正确:nginx -t重启ng...

VSCode中的git使用篇

基本上使用在一个目录下clone项目;git clone XXXXXX.git使用VScode 打开项目右击通过Code打开。使用vscode提交代码打开下面视图,添加一行文字## 测试提交点击 + ;相当于git add .点击对号;等于git commit -m "备注信息";右边的箭头输入需要备注的信息。然后按 Enter 确定。回车之后,然后我们可以看到。所有的...

#git#visual studio code#javascript
js检测浏览器内核、版本号

js检测浏览器内核、版本号 function isBroswer () {//检测浏览器内核--返回的是两个key,name:浏览器内核的名称---version:浏览器的版本号var _broswer = {};var sUserAgent = navigator.userAgent;var isOpera = sUse

#javascript
如何重启MySQL,正确启动MySQL

RedHat Linux (Fedora Core/Cent OS)1.启动:/etc/init.d/mysqld start2.停止:/etc/init.d/mysqld stop3.重启:/etc/init.d/mysqld restartDebian / Ubuntu Linux1.启动:/etc/init.d/mysql start2.停止:/etc/init.d/mysql ...

Vue遇到的bug-03(VUE之使用高德地图API)

步骤一:申请高德地图密钥;步骤二:在index.html中添加高德地图JavaScript API接口;<script type="text/javascript" src="http://webapi.amap.com/maps?v=1.4.1&key=b15*************f61e08&plugin=AMap.Autocomplete,AMap.PlaceSearch"></scr

vue 报错 Avoid mutating a prop directly since the value will be overwritten whenever the parent compo

Vue报错:Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop’s value. Prop being mutate

nginx部署多个vue项目

上一篇已经介绍了然后配置web项目;今天由于公司需求,需要在同一域名端口下,部署两个项目;今天花了一上午终于弄好了,选择赶紧做一个笔记。如何连接阿里云服务器就不在这里说了,请看我以前的文章。首先需要的效果http://47.97.244.83/loginhttp://47.97.244.83/student/login文件目录两个项目并列在同一文件夹内。准备好两个vue的项目...

cropper.js 裁剪图片并上传(文档翻译+demo)

官网http://fengyuanchen.github.io/cropper/文档https://github.com/fengyuanchen/cropper/blob/master/README.md –v3.x版本引入+使用<linkhref="/path/to/cropper.css" rel="stylesheet"><script src="/path/to/cropper.

#前端
到底了