编程语言-周排行
增加less-loader里面的配置。如图或者降级less到2.x版本 ...
```python
# -*- coding: utf-8 -*-
# @Time : 2019/1/16 12:55
# @Author : Philly
# @File : sdsd.py
# @Description: 把各个Sheet另存为单独的Excel from openpyxl imp... ...
本文主要考虑单点登录场景,登录由其他系统负责,业务子系统只使用shiro进行菜单和功能权限校验,登录信息通过token从redis取得,这样登录验证和授权就相互解耦了。 用户、角色、权限进行集中式管理。 参考: https://blog.csdn.net/qq_26321411/article/de ...
参考:https://docs.spring.io/spring/docs/4.3.12.RELEASE/spring-framework-reference/htmlsingle/ 7.10.4 Using filters to customize scanning 7.10.4 Using fi ...
/** * @description:封装json对象,所有返回结果都使用它 **/ public class Result { private int code;// 业务自定义状态码 private String msg;// 请求状态描述,调试用 private T data;// 请求数据,... ...
声明:用户到达一定程度,架构就必须要考虑,因为在这个前提下,读写分离,尤为重要。 1、搭建mysql主从复制 https://www.cnblogs.com/ywjfx/p/10264383.html 2、安装并配置mycat实现读写分离 https://www.cnblogs.com/ywjfx/ ...
关于 下面问题是因为(8005, 8080, 8009) 被原tomcat占用了。 Several ports (8005, 8080, 8009) required by Tomcat v9.0 Server at localhost are already in use. The server ...
使用sublineText3编写了java代码,通过DOS 编译 提示 错误:编码GBK的不可映射字符 解决方法: 使用 javac -encoding UTF-8 Demo03.java 即可完成编译、 ...
Status:Executing -train.py 02/09/2019 09:33:38 INFO Log level set to: INFO Using TensorFlow backend. 02/09/2019 09:33:39 INFO Model A Directory: /home ...
本文回答Spring MVC如何处理一个请求的。 请求是由中央调度器DispatcherServlet接收的。 中央调度器将请求交给处理器映射器HandlerMapping,处理器映射器解析请求找到所请求的处理器Handler以及相关的拦截器Interceptor,将这些封装成处理器执行链Handl ...
location /wxapi { proxy_pass http://flower-wx-api; ## 指定HOST proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; ...
异常如下: 通过debug发现,服务端的url地址仍然是默认的http://localhost:8761/eureka/apps/,也就是说yml文件中配置没有生效,检查后发现yml中相关配置多写了一个制表符,真是醉了 修改后运行正常 ...
```
import hmac def get_singa_true(timestamp): sha1 = hmac.new("d1b964811afb40118a12068ff74a12f4".encode('utf8'), digestmod='sha1') sha1.update("passw... ...
import xlrd import jieba import pymysql import matplotlib.pylab as plt from wordcloud import WordCloud from collections import Counter import numpy as... ...
解决方案: setting.xml文件添加如下配置: 参考链接:https://www.cnblogs.com/thinking-better/p/7827368.html ...
项目中需要监控系统指标,这时候可以使用Prometheus来做。如果是需要监控日志系统,可以使用ELKstack。监控=日志(ELK)+指标(Prometheus)。step1编写springboot2程序<dependency><groupId>org.springframework.boot</groupId><artifactId>spring
在 Python 脚本的第一行经常见到这样的注释: 或者 含义 在脚本中, 第一行以 #! 开头的代码, 在计算机行业中叫做 "shebang", 也叫做 sha-bang / hashbang / pound-bang / hash-pling, 其作用是"指定由哪个解释器来执行脚本". 为什么要 ...