background picture of the home page

哈利の小屋

努力有时候战胜不了天分,但至少能让别人看得起你

欢迎光临我的博客小天地,这里可是我的小宇宙,来一起探索奇妙的知识星球吧!

Java 基础-常见面试题

Java 基础-常见面试题(Java Fundamentals - Common Interview Questions) 面向对象的三大特征 封装 在 Java 中,封装主要是通过使用类的成员变量(属性)和成员方法(行为)来实现。。一般来说,我们会设置属性为私有(private),这样外部就无法直

thumbnail of the cover of the post

应用监控推荐(Prometheus + Grafana)

一、Prometheus Prometheus 是一个开源的系统监控和报警工具包,最初由 SoundCloud 开发,现已成为 CNCF(云原生计算基金会)的项目。它主要用于收集和存储时间序列数据,并允许用户对这些数据进行查询和分析。 1. 主要特性 多维数据模型:数据以度量(metrics)和标签

thumbnail of the cover of the post

Docker 常用命令

简介 Docker 是一种流行的容器化平台,常用于开发、打包和部署应用。 以下是一些我在开发中遇到的常用的 Docker 命令及其用途,希望能够帮助大家快速记起当时学习Docker的时候: 镜像操作 从仓库中拉取镜像 docker pull [image_name] 如: docker pull

thumbnail of the cover of the post

Git 常用命令总结(持续更新...)

在使用Git时,尤其是通过集成开发环境(IDE)的图形界面操作Git后,我们可能会发现自己不太容易记住一些命令。 以下是我整理的一些关于Git命令的总结。 (Summary of commonly used Git commands) 基本操作 初始化仓库 git init 克隆仓库 git cl

thumbnail of the cover of the post

HashMap常见面试题

Java面试必备知识点,HashMap常见知识点(Java interview essential knowledge points, common knowledge points of HashMap)。 HashMap的底层数据结构 在 JDK1.8 中,HashMap 由数组+链表+红黑树组

thumbnail of the cover of the post

交互题入门

前言 有时,我们会在 XCPC 的比赛中遇到交互题,我们需要通过有限次查询来输出最终的答案。在这类问题中,输入的数据可能不是预先定好的,而是针对你的查询来给出相应的输出。 可供参考的入门指南 下面是例题时间 Codeforces 679A <

thumbnail of the cover of the post

复习:数据结构-链表题

移除链表元素 力扣题目 203. 移除链表元素 给你一个链表的头节点 head 和一个整数 val ,请你删除链表中所有满足 Node.val == val 的节点,并返回 新的头节点 。 示例 1: 输入: head = [1,2,6,3,4,5,6], val = 6

thumbnail of the cover of the post

IDEA常用快捷键

IDEA常用快捷键(IDEA Common shortcut keys) Java 开发过程中,适用于 IntelliJ IDEA 等主流 Java 集成开发环境的快捷键: 创建 main 函数: 快捷键:输入 psvm 或 main 按 Tab 或 Enter 功能:快速生成 public sta

thumbnail of the cover of the post