Skip to content

翻了车的老司机

其实我一直在你身边

Search for:

Nginx配置陷阱之万恶的if指令

当在location区块中使用 if 指令的时候会有一些问题, 在某些情况下它并不按照你的预期运行而是做一些完全不同的事情. 而在另一些情况下他甚至会出现段错误. 一般来说避免使用 if 指令是个好主意.

  • Posted on: 2018年10月11日 2018年10月11日
  • Author: zzs10086
  • Categories: nginx

axios 解决跨域问题 nginx 配置

​如果报错No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://xxx.com’ is therefore not allowed access. 说明服务器端不支持跨域

  • Posted on: 2018年9月13日 2020年8月28日
  • Author: zzs10086
  • Categories: nginx

解决:Uncaught ReferenceError: regeneratorRuntime is not defined

解决:Uncaught ReferenceError: regeneratorRuntime is not defined
$ npm i –save-dev babel-plugin-transform-runtime

  • Posted on: 2018年9月12日 2020年9月2日
  • Author: zzs10086
  • Categories: vue

df 查看硬盘空间 du 查看文件夹大小

df -h 查看硬盘空间
du -sh 查看文件夹大小
du -h 查看文件夹下所有文件大小

  • Posted on: 2018年9月7日 2018年9月7日
  • Author: zzs10086
  • Categories: Linux

composer install 报错原因 PHP 7版本太高,不符合composer.json需要的版本

php版本过高 导致composer install报错
composer install –ignore-platform-reqs
composer update –ignore-platform-reqs

  • Posted on: 2018年9月6日 2018年9月6日
  • Author: zzs10086
  • Categories: laravel

composer install 和composer update的用法区别

composer update 会读取 composer.json中指定的依赖
composer install 会优先读取composer.lock,如果没有composer.lock 用法跟composer update一样

  • Posted on: 2018年9月6日 2018年9月6日
  • Author: zzs10086
  • Categories: laravel

vue element 时间选择 rule验证 坑

vue element 时间选择 rule验证 坑
getTime() is not a function
修改rule ,把 type: ‘date’ 去掉

  • Posted on: 2018年9月4日 2018年9月4日
  • Author: zzs10086
  • Categories: vue

el-table html标签转义

el-table html标签转义
scope.row.content

  • Posted on: 2018年9月4日 2020年8月25日
  • Author: zzs10086
  • Categories: vue

webpack 设置 打包模式

The ‘mode’ option has not been set,
webpack will fallback to ‘production’ for this value.
Set ‘mode’ option to ‘development’ or ‘production’

  • Posted on: 2018年8月30日 2018年8月30日
  • Author: zzs10086
  • Categories: webpack

centos node升级最新版本

首先安装n模块:npm install -g n
升级node.js到最新稳定版: n stable

  • Posted on: 2018年8月30日 2018年8月30日
  • Author: zzs10086
  • Categories: node.js

Pagination

Previous page Page: 1 … Page: 18 Page: 19 Page: 20 Page: 21 Page: 22 Page: 23 Page: 24 Page: 25 Page: 26 Page: 27 Page: 28 … Page: 35 Next page

分类目录

  • docker
  • elasticsearch
  • git
  • go
  • java
  • javascript
  • laravel
  • Linux
  • mysql
  • nginx
  • node.js
  • php
  • redis
  • shell
  • vue
  • webpack
  • 小程序
Search for:
2025年五月
一 二 三 四 五 六 日
« 7月    
 1234
567891011
12131415161718
19202122232425
262728293031  

近期文章

  • wordpress如何开启全站https
  • CentOS上安装Redis
  • ECMAScript 数组遍历
  • ECMAScript 数组
  • Ecmascript Push 和 Pop 方法

近期评论

    © 2025 翻了车的老司机. 我在你身边绕了一个圈,回到原点你却已在远方。

    苏ICP备16035736号-3

    友情链接:一览网  江苏景威控股集团有限公司