上一页 1 2 3 4 5 6 7 ··· 39 下一页
摘要: docker-compose.yml services: headscale: image: headscale/headscale:v0.23.0 container_name: headscale volumes: - /etc/uhttpd.crt:/etc/uhttpd.crt - /etc 阅读全文
posted @ 2024-10-09 20:02 Nihaorz 阅读(803) 评论(0) 推荐(0)
摘要: IDEA 右键菜单 - 注册.reg Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shell\Open with IDEA] "Icon"="D:\\Program Files\\ideaIU 阅读全文
posted @ 2024-09-25 23:46 Nihaorz 阅读(114) 评论(0) 推荐(0)
摘要: 启用root用户ssh远程登录 nano /etc/ssh/sshd_config,PermitRootLogin 修改为 yes: #PermitRootLogin prohibit-password PermitRootLogin yes 配置华为云软件源 nano /etc/apt/sourc 阅读全文
posted @ 2024-09-10 10:34 Nihaorz 阅读(223) 评论(0) 推荐(0)
摘要: 众所周知,在 Spring 的 bean 中使用 this 引用,会导致 AOP 切面失效,那我们就不用 this,使用 self() 代替 SpringUtils.java package com.xxx.util; import org.springframework.beans.BeansEx 阅读全文
posted @ 2024-01-16 15:35 Nihaorz 阅读(416) 评论(0) 推荐(0)
摘要: 工具类:org.springframework.util.DigestUtils 作用:计算字节数组、输入流的 md5 摘要 所在模块:spring-core 方法 描述 String md5DigestAsHex(byte[] bytes) 返回字节数组的 md5 摘要(计算字符串) String 阅读全文
posted @ 2024-01-16 11:32 Nihaorz 阅读(394) 评论(0) 推荐(0)
摘要: 工具类:org.springframework.util.StopWatch 作用:记录方法执行耗时,统计每个方法的耗时占比 所在模块:spring-core 方法 描述 void start(String taskName) 开始一个新的监测任务,可设置任务名称。记录当前时间和任务名称 void 阅读全文
posted @ 2024-01-16 11:18 Nihaorz 阅读(323) 评论(0) 推荐(0)
摘要: docker ps 语法 语法:docker ps [OPTIONS] 参数: 参数名 参数描述 –all, -a 显示所有的容器,包括未运行的 –filter, -f 根据条件过滤显示的内容 –format: 指定返回值的模板文件 –last, -l 显示最近创建的容器 –latest, -n 列 阅读全文
posted @ 2023-12-28 12:22 Nihaorz 阅读(239) 评论(0) 推荐(0)
摘要: ES 安装 elasticsearch.yml cluster.name: "docker-cluster" node.name: "node-1" network.host: 0.0.0.0 discovery.seed_hosts: ["127.0.0.1"] cluster.initial_m 阅读全文
posted @ 2023-12-21 11:39 Nihaorz 阅读(51) 评论(0) 推荐(0)
摘要: -- 查看表空间文件信息 select df.BYTES/1024/1024/1024 as size_GB, df.* from dba_data_files df where df.TABLESPACE_NAME='GEODATA'; -- 扩展表空间 alter tablespace GEOD 阅读全文
posted @ 2023-12-15 10:38 Nihaorz 阅读(17) 评论(0) 推荐(0)
摘要: User.java package org.example.entity; import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonIgnore; import c 阅读全文
posted @ 2023-11-29 17:51 Nihaorz 阅读(37) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 39 下一页