报错: 原因: 版本问题,webpack是3.6.0版本 ,但是optimize-css-assets-webpack-plugin是5.0.3版本 解决办法: 把optimize-css-assets-webpack-plugin改为3.2.0 npm i optimize-css-assets- ...
分类:
其他好文 时间:
2019-11-13 20:37:35
阅读次数:
92
[TOC] docker 执行 等待很漫长。如果报错:Cannot set property TasksAccounting, or unknown property 安装java cp jdk .tar.gz到容器中,解压 vi /etc/profile source /etc/profile j ...
分类:
数据库 时间:
2019-11-13 16:06:29
阅读次数:
132
何时重构 如何重构 代码坏味道 Duplicated Code(重复代码) 重新组织函数 Extract Method(提炼函数) Long Method(过长函数) Inline Method(内联函数) Large Class(过大的类) Inline Temp(内联临时变量) Long Par ...
分类:
其他好文 时间:
2019-11-13 13:16:21
阅读次数:
95
解决方法: 1 docker login登录自己的hub 2 注意 docker tag的时候 命名有明确的要求,比如用户名为123456,那么镜像为123456/X ...
分类:
数据库 时间:
2019-11-13 11:18:05
阅读次数:
101
我们有时候会碰见在JDK或者其他jar包中提供了某方法或者类,接口,而开发工具仍然报红,无法使用该类或者方法,那是应为我们的编译器没有识别,或者没有支持某些方法或者类 这个时候需要我们手动的开启。具体操作如下: 点击添加access rules 编辑规则 修改如下 ...
分类:
Web程序 时间:
2019-11-11 18:38:05
阅读次数:
157
[root@web server php] /etc/init.d/httpd restart shell init: error retrieving current directory: getcwd: cannot access parent directories: No such file ...
分类:
数据库 时间:
2019-11-11 14:18:28
阅读次数:
117
版本信息: spring cloud 版本Greenwich.SR2 spring boot 版本2.1.8.RELEASE gateway报错 DefaultDataBuffer cannot be cast to org.springframework.core.io.buffer.NettyD ...
分类:
编程语言 时间:
2019-11-11 12:39:36
阅读次数:
337
解密加密源码 1 using System; 2 using System.Security.Cryptography; 3 using System.Text; 4 5 namespace Wechat 6 { 7 public static class Security 8 { 9 public ...
分类:
微信 时间:
2019-11-10 09:56:45
阅读次数:
452
*1:NetCore的上下文,自行封装一个全局静态 HttpContextHelper *2:读取Json的配置文件 { // IConfiguration Configuration 得注入,二级节点的访问,用冒号 .GetSection("AppSettings:" + name) Config ...
分类:
Web程序 时间:
2019-11-09 23:31:19
阅读次数:
131
RUST 0x01 数据类型 1 变量与可变性 先上两段代码和一段错误信息: text error[E0384]: cannot assign twice to immutable variable src/main.rs:4:5 | 2 | let x = 5; | first assignmen ...
分类:
其他好文 时间:
2019-11-09 17:23:49
阅读次数:
104