swagger3整合oauth2 认证token
swagger3整合oauth2 认证token引入swagger3依赖<!--Swagger3 --><dependency> <groupId>io.springfox</groupId> <artifactId>springfox-boot-starter</artifactId> <version>3.0.0</version></dependency>
swagger配置文件编写@Bean public Docket createRestApi(){ return new Docket(DocumentationType.OAS_30) .enable(enable) .apiInfo(apiInfo()) .groupName("xx项目接口") .select() ...
springboot启动报错(webSecurity匿名问题)
springboot启动报错(webSecurity匿名问题)org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘springSecurityFilterChain’ defined in class path resource [org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.servlet.Filter]: Factory method ‘springSecurityFilterChain’ threw exception ...
Springboot SpringSecurity 整合knife4j, Swagger3问题
Springboot SpringSecurity 整合knife4j, Swagger3问题版本说明: swagger3版本3.0.0,knife4j版本3.0.2
<!--swagger3--><dependency> <groupId>io.springfox</groupId> <artifactId>springfox-boot-starter</artifactId></dependency><dependency> <groupId>com.github.xiaoymin</groupId> <artifactId>knife4j-spring-boot-starter</artifactId></dependency>
SpringSecurity放行静态资源
http.authorizeRequests() //放行swagger ...
构建React-app应用时create-react-app卡住超慢的解决办法
构建React-app应用时create-react-app卡住超慢的解决办法解决办法:npm换源(淘宝镜像)npm config set registry https://registry.npm.taobao.org-- 配置后可通过下面方式来验证是否成功npm config get registry-- 显示出上述地址的话就是更换成功
再次尝试构建creat-react-app first-react-app(app名称)
佛山探店 | 有趣好玩switch小店
有趣好玩switch小店🎮🏠地点:建新路103号三座首层B号二楼(祖庙铂顿城隔壁-三合凉拌楼上)
⭐环境很好,干净整洁
👾游戏也有十几个
✨店内装饰很游戏风
✨有很多的小摆设
💵¥50/2小时
一次值得的体验,游戏爱好者推荐来玩哈👍
git踩坑
git踩坑git仓库大文件push失败报413 Request Entity Too Large 问题解决办法使用https方式拉取的git仓库,在push文件时报错Gitlab error push files 413 Request Entity Too Large
尝试了如下
增大https方式的post缓存 (不成功)
git config http.postBuffer 524288000
2.修改本地仓库的https方式为ssh (成功)
git remote set-url origin ssh地址
git pull遇到错误:error: Your local changes to the following files would be overwritten by merge原因:本地项目有修改,不能更新
方法1: 如果你想保留刚才本地修改的代码,并把git服务器上的代码pull到本地(本地刚才修改的代码将会被暂时封存起来)
git stash git pull origin master git stash pop
服务器上的代码更新到了本地,而 ...
Aplayer报错解决方案
hexo - g 报错如下
INFO Start processingError: [hexo-tag-aplayer] Meting support is disabled, cannot resolve the meting tags properly. at throwError (E:\Node_JS_Hexo\node_modules\hexo-tag-aplayer\common\util.js:18:9) at Object.<anonymous> (E:\Node_JS_Hexo\node_modules\hexo-tag-aplayer\index.js:160:28) at NunjucksTag._run (E:\Node_JS_Hexo\node_modules\hexo\lib\extend\tag.js:120:18) at NunjucksTag.run (E:\Node_JS_Hexo\node_modules\hexo\lib\extend\tag.js:116:15) at Template.root [a ...
快速搭建Hexo博客
快速搭建Hexo博客Hexo简介Hexo 是一个快速、简洁且高效的博客框架。Hexo 使用 Markdown(或其他渲染引擎)解析文章,在几秒内,即可利用靓丽的主题生成静态网页。
Hexo搭建安装前提需要先安装下列应用程序
Node.js
Git
notepad++(作为编辑器 可选)
安装hexo脚手架打开cmd,输入下面命令全局安装
npm install hexo-cli -g
用hexo -v查看一下版本,验证是否安装成功
创建一个文件夹blog,然后cd到这个文件夹下
输入命令初始化hexo项目
hexo init或 hexo init blog(博客名)
新建完成后,指定文件夹目录下有:
node_modules: 依赖包
public:存放生成的静态页面
scaffolds:生成文章的一些模板
source:用来存放你的文章
themes:主题
_config.yml: 博客的配置文件
编译hexo g
测试运行hexo s
打开hexo的服务,在浏览器输入localhost:4000就可以看到你默认生成的博客了。
使用ctrl+c可以把 ...
博客建设及踩坑
Hexo建设配置主题设置导航栏(主题里的_config.yml)menu: 首页: / || fas fa-home 归档: /archives/ || fas fa-archive 标签: /tags/ || fas fa-tags 分类: /categories/ || fas fa-folder-open 娱乐||fas fa-list: 音乐: /music/ || fas fa-music 电影: /movies/ || fas fa-video 友链: /link/ || fas fa-link 关于: /about/ || fas fa-heart
配置网站样式# Image (圖片設置)# --------------------------------------# Favicon(網站圖標)favicon: /img/favicon.png# Avatar (頭像)avatar: img: /img/avatar.png effect: false# the banner image of home page……
...