vip
文章 0
文章搜索
阿蛮君
有了AI以后,笔记似乎变得不那么重要......
阅读量
536842
评论数
1738
随机文章

Docker 搭建 webhook – 调用接口即可运行本地脚本
为什么突然想到用这个,因为有时候需要快速批量修改域名的 cname 解析,但是登录云平台去一个个修改非常麻烦。但如果将常见的操作写成脚本,并使用网络请求进行调用,这个就变得非常容易了。 简而言之,就是将复杂的操作做成脚本,然后通过接口调用运行脚本。(为什么不直接登录机器,因为有时候不方面,而浏览器是哪里都有的)当然,能做的还有很多,全看自己的需求。 简介 这里直接引用开源项目 Webhook 自己...

Spring Security 详解以及认证过程
简介 Spring Security 是基于 Spring 实现的一个安全框架,其中包括非常多的过滤器,主要进行攻击防护、认证授权等功能。 过滤器链 Spring Security 常用的过滤器有15个,如下图所示: 在 FilterChainProxy 类中的 doFilterInternal 方法打断点可以看见。 1.org.springframework.security.web.conte...

Springboot 打包出来的 jar 很小不能启动
这种情况大概率是因为资源没有打包进去,在 pom 文件引入 maven 插件: <build> <finalName>${project.artifactId}</finalName> <plugins> <plugin> <groupId>org.springframework.boot</groupId> &l...

Ubuntu 升级安装 Python 版本
1. 更新软件包列表 首先更新软件包列表,确保包列表是最新的。 sudo apt update 2. 安装软件属性共用库 software-properties-common 是一个在 Ubuntu 和其他基于 Debian 的 Linux 发行版中用于管理第三方软件源(PPA,即个人软件包存档)的软件包。它提供了一些工具和库,使得用户可以更轻松地添加、删除和更新 PPA。 sudo apt in...

Docker 通过镜像查看 dockerfile
偶尔可能想要查看某个镜像的 dockerfile,但是 github 没可能没有对应的仓库,所以只能通过能拿到的镜像反推 dockerfile。 使用 whaler 可以做到这一点,使用方式如下: docker run -t --rm -v /var/run/docker.sock:/var/run/docker.sock:ro pegleg/whaler <<具体镜像>>...
标签云
最新评论

