![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
笔记
民谣与狗
这个作者很懒,什么都没留下…
展开
-
ubuntu搭建git仓库和使用gitweb
gitweb nginx原创 2022-06-19 10:14:47 · 678 阅读 · 1 评论 -
ubuntu安装rabbit mq
放弃在window server上安装,直接再买一个ubuntu服务器,也不用重装服务器的系统挺好的在此之前,你可以不需要安装ftp,因为rabbit mq不需要手动离线安装,下面开始sudo apt-get update (基操)由于rabbitMq需要erlang语言的支持,在安装rabbitMq之前需要安装erlangsudo apt-get install erlang-nox安装sudo apt-get install rabbitmq-server启动、停止、重启、状态rabbi原创 2022-03-25 15:17:11 · 3899 阅读 · 0 评论 -
ubuntu安装配置ftp
之前工作的时候,服务器上的生产环境都是小弟搞的,自己主要负责开发,小公司哈哈哈,最近需要大数据方面来学习学习,不管有用无用先记录一下1我没有备份的习惯对于/etc/vsftpd.conf这个配置文件,搞坏了,ftp跑步起来了,也只是通过apt-get remove vsftpd和apt-get purge vsftpd卸载并清除配置,然后再sudo apt-get install vsftpd改vsftpd.conf每次不会改太多多来几次service vsftpd start/service vsf原创 2022-03-24 20:38:41 · 1640 阅读 · 0 评论 -
vue3封装axios 处理跨域,引用element-plus loading,响应拦截引用Router
vue3 axios原创 2022-03-21 14:50:42 · 2189 阅读 · 0 评论 -
opencv-python和yolo5(torch)实现实时检测
先下载yolo5项目:https://github.com/ultralytics/yolov5用pycharm新建一个项目勾选Inherit global site-packages 使用base interpreter的所有packages不勾选 Make available to all projects 因为这个指当在虚拟环境下安装包的时候,copy一份到全局。就是base interpreter中会添加这个项目中的所有包项目新建后,把yolo5 解压后所有文件和文件夹复制到pycha原创 2022-02-07 21:42:27 · 5952 阅读 · 2 评论 -
ATM项目实训总结
一学期结束,学校安排了项目实训,通过一次完整还原实际开发,对我们各方面都提升不少,今天记下来,说不定N年后还会回来看看项目内容:以ATM机为目标,用java还原实现,主要功能有1登录(模拟读卡输入密码,具有密码出错三次封号)2存款(基本与实际atm一样,不具有验款,文本框输入)3取款(基本一样)4转账(基本一样)5查询(基本一样)6改密码(基本一样)7流水查询(基本一样)效果图其它页面不一一放出框架结构:后端spring mvc容器和netty前端fx和netty客户端使用分原创 2022-01-11 18:34:24 · 792 阅读 · 0 评论 -
JWT tonken的使用和感悟
t原创 2022-01-08 18:36:14 · 301 阅读 · 0 评论 -
BasicAuthenticationFilter和AbstractSecurityInterceptor的区别
BasicAuthenticationFilter和AbstractSecurityInterceptorAbstractSecurityInterceptor是security安全拦截,BasicAuthenticationFilter好像是对jwt实现上的原创 2021-11-04 17:33:00 · 358 阅读 · 0 评论 -
@EnableGlobalMethodSecurity(prePostEnabled = true)对GlobalMethodSecurityConfiguration配置
想着捞一下PrePostAnnotationSecuriityMetadataSoure怎么进去spirng里面的并且想用这个MetadtaSoure得到全部接口权限,实现简单的swagger代理@EnableWebSecurity(debug = true)@EnableGlobalMethodSecurity(prePostEnabled = true)public class WebSecurityConfig extends WebSecurityConfigurerAdapter {}原创 2021-11-02 23:13:06 · 1217 阅读 · 0 评论 -
AccessDecisionManager中的supports
Spring security权限管理主要有两种过滤器实现 FilterSecurityInterceptorAOP MethodSecurityInterceptorAccessDecisionManager是提供给AbstractSecurityInterceptor成为AbstractSecurityInterceptor的成员变量的一个请求达到AbstractSecurityInterceptor时,会用请求中包含的Authentication(通过this.authenticateIfR原创 2021-11-01 21:07:38 · 408 阅读 · 0 评论 -
2021-10-29
Spirng Security关闭默认配置一般在使用Security的时候,都是写WebSecurityConfig然后extends WebSecurityConfigurerAdapter一般在使用Security的时候,都是写WebSecurityConfig然后extends WebSecurityConfigurerAdapter再来protected void configure(HttpSecurity http) throws Exception {//自己的这个那个细节配置}其中原创 2021-10-29 11:57:22 · 2632 阅读 · 0 评论 -
某鱼app获取Cookie(token)
就把某鱼叫X鱼吧,懂的都懂某(X)鱼app整个get/post请求中,基本必须在请求头中携带Cookie,这个Cookie的相关操作并不是在 mtopsdk这个包中,并且anetwork.channel.entity.RequestImplmtopsdk.network.domain.Requestmtopsdk.network.domain.Request.Builder这几个类中的成员变量Map<String, String> headers中也没有cookie,它是在an原创 2021-08-15 20:07:46 · 2812 阅读 · 0 评论 -
wpf 中设置image圆角
给image添加clip(剪切)对象—rectanglegeometry所以实则给rectanglegeometry添加圆角,这个很容易radiusX,和radiusY,可是给这个矩形几何对象添加rect就有意思了,需要这个矩形的大小等于image的大小,所以需要用到绑定了<Image x:Name="image" Stretch="Fill" Margin="10"> <Image.Clip> <RectangleGeometry RadiusX="原创 2020-06-22 16:36:37 · 2658 阅读 · 0 评论