-
IDEA 根据 URL 快速定位 Controller 类快捷键
Ctrl+Shift+\ 跳转到Search Everywhere弹框,添加了/url开头,输入需要查找的URL地址即可搜索。 说明 效果等同于Endpoint
2022-08-30, Views: 4326 , Topics: IDEA
-
IDEA 版 Postman HTTP Client 测试 API 接口
说明 IDEA专业版中的工具HTTP Client,用于测试API接口。部分可替代PostMan。 .HTTP和.rest结尾的文件,会被IDEA识别为可被HT
2022-08-28, Views: 4111 , Topics: IDEA HTTP Client
-
IDEA Endpoints 微服务工程中根据 URL 快速定位 Controller 类
需求 微服务在同一个IDEA工程中打开,需要根据URL搜索,会搜索出很多杂项,无法快速定位到Controller类。 Endpoints Ctrl+Shift+
2022-08-27, Views: 6767 , Topics: IDEA Spring Boot
-
IDEA Debug 异常断点
异常断点 打开Breakpoints断点界面,快捷键:Ctrl+Shift+F8。 勾选Java Exception Breakpoints和Any exce
-
IDEA Debug Method Breakpoint 方法断点影响启动速度
方法断点 IDEA中实现的方法断点功能,并非是JPDA自带的功能(Java Platform Debugger Architecture)。 开启时,IDEA会
-
IDEA Debug 时对象莫名其妙被修改了
现象 IDEA在开启Debug运行时,点击查看对象,对象中的字段的值每次都会变化。 原因 对象复写了toString()方法,IDEA在我们点击查看对象信息时,
-
curl 报错 (60) SSL certificate problem
错误信息 curl: (60) SSL certificate problem: self signed certificate in certificate
-
文件无改动但 IDEA 仍然显示有改动
现象 git diff无差异但IDEA仍然显示有改动。 git rollback后能让IDEA显示无改动。 备注 尤其是前端项目。 原因 文件换行符的差别。 W
-
Git rollback 无法回滚已修改文件
场景 一些文件不需要修改,在IDEA中点击Rollback无效,仍然显示有改动,使用Show Diff也看不出具体差异。 git diff 使用git diff
2022-08-22, Views: 2222 , Topics: Git
-
skaffold init 提示 one or more valid Kubernetes manifests are required to run skaffold
错误信息 PS C:\> skaffold init ? Which builders would you like to create kubernet
2022-08-21, Views: 1944 , Topics: Kubernetes skaffold
-
Angular 相关知识点
示例 <div *ngFor="let product of products"> <h3> <a [title]=
2022-08-20, Views: 1246 , Topics: Angular
-
Angular @ViewChild 操作 DOM
@ViewChild 基本语法: @ViewChild([reference from template], {read: [reference type]})
2022-08-19, Views: 1841 , Topics: Angular
-
Angular error TS2564: Property 'xx' has no initializer and is not definitely assigned in the constructor.
解决办法 编辑tsconfig.json compilerOptions下添加:"strictPropertyInitialization":false {
2022-08-18, Views: 1994 , Topics: Angular
-
Telepresence 设置配置文件更改默认配置
默认路径 默认是没有这个文件的,需手动创建。 Windows:%APPDATA%\telepresence\config.yml Linux:$HOME/.c
2022-08-16, Views: 2423 , Topics: Telepresence Kubernetes
-
使用 Telepresence 在本地环境直接访问 Kubernetes 内部服务地址
查看服务 kubectl get pod,svc -o wide 输出:可以看到有Service:mydeploy、nginx和默认的kubernetes,已经
2022-08-16, Views: 1871 , Topics: Telepresence Kubernetes
-
Windows PowerShell 设置命令别名永久生效
当前会话生效 Set-Alias -Name k -Value kubectl 设置永久生效 PowerShell 配置文件位置 文件不一定存在 $profil
2022-08-15, Views: 2480 , Topics: PowerShell Windows
-
trivy 跳过更新数据库执行漏洞扫描
数据库位置 /root/.cache/trivy/db 查看帮助中也可以获取 trivy -h | grep 'TRIVY_CACHE_DIR' 输出 root
2022-08-14, Views: 4662 , Topics: trivy
-
使用 trivy 扫描 Docker 镜像、K8S 集群的安全漏洞
描述 Scanner for vulnerabilities in container images, file systems, and Git repos
2022-08-13, Views: 2784 , Topics: trivy Docker Kubernetes
-
Windows Terminal 添加 Git Bash
设置步骤 打开Windows Terminal的设置。 点击添加新配置文件。 点击复制(Windows PowerShell配置文件)。 修改命令行一栏的配置
-
IDEA 启动项目报 java: 程序包 xxx 不存在
现象 依赖的jar包能在依赖库中找到,java文件中没有报错,也能正常跳转到类,但启动项目报程序包不存在。 原因 依赖包原本是0.0.1-SNAPSHOT改成了