连接模式设置

1. 模式切换

  • 系统切换: 拨动侧键选择 Mac/Win 系统(Win系统下 Win键与 Alt键位置互换)。
  • 连接模式切换: 拨动侧键选择 USB有线/OFF/无线模式。

2. 蓝牙连接(支持3台设备)

  1. 切换至对应系统(Mac/Win)。
  2. 拨动开关至无线模式。
  3. 长按 FN+Q/W/E 5秒进入配对(对应蓝牙1/2/3),按键闪烁。
  4. 设备搜索并连接 “ERAZER GK 501”,成功后停止闪烁。
  • 切换设备: 按 FN+Q/W/E 切换已配对的设备。
阅读全文 »

如何理解 Spring 当中的 Bean?

  1. Spring容器就是个HashMap
    Spring容器本质上就是一个大的HashMap,用来存放和管理所有的Bean。这个Map的key是Bean的名字(默认是类名首字母小写,或者你指定的名字),value就是Bean的实例。你可以把这个Map理解为一个“对象池”,Spring负责把这些对象实例化、管理、并提供给你使用。
阅读全文 »

下载 Office Tool Plus

官方地址

安装 Office

安装 批量 (Volume) 许可证 版本 Office

KMS 激活

Microsoft-Activation-Scripts

脚本地址

“”限定关键字
intile限定标题
allintitle限定标题包含多个关键词
intext限定内容关键字
inurl限定网址关键字
imagesize限定图片尺寸
filetype限定文件格式

翻译

Only reply the result and nothing else. Translate the following text to [target language]:

[text]

润色

Only reply the result and nothing else. Please edit the following sentences in [source language] to improve clarity, conciseness, and coherence, making them match the expression of native speakers.:

[text]

总结

Only reply the result and nothing else. Please summarize this text in the most concise language and must use [target language]!:

[text]

代码分析

Only reply the result and nothing else. explain the provided code, regex or script in the most concise language and must use [target language]! You may use Markdown. If the content is not code, return an error message. If the code has obvious errors, point them out.:

[text]

  • 古人言:出淤泥而不染;可古人又言:近朱者赤,近墨者黑!

  • 古人言:兔子不吃窝边草;可古人又言:近水楼台先得月!

  • 古人言:宰相肚里能撑船;可古人又言:有仇不报非君子!

阅读全文 »

JVM 内存模型

  1. 程序计数器

    • 是一块较小的内存空间,可以看作是当前线程所执行的字节码的行号指示器。

    • 每个线程都有一个独立的程序计数器,用于线程切换后能恢复到正确的执行位置。

  2. 虚拟机栈

    • 每个线程都有自己的虚拟机栈,用于存储方法的局部变量表、操作数栈、动态链接、方法出口等信息。
    • 当线程调用一个方法时,会为该方法创建一个栈帧并压入虚拟机栈;方法执行完毕后,栈帧出栈。
  3. 本地方法栈

    • 与虚拟机栈的作用类似,只不过本地方法栈是为执行 Native 方法服务的。
    • 用于存储本地方法(使用 JNI 编写的方法)的调用信息。
    • 被所有线程共享的一块内存区域,用于存放对象实例和数组。
    • 是垃圾收集器管理的主要区域。
  4. 方法区

    • 存储已被虚拟机加载的类信息、常量、静态变量、即时编译器编译后的代码等数据。
    • 在 Java 8 之后,方法区被元空间(Metaspace)替代。
  5. 运行时常量池

    • 是方法区的一部分,用于存放编译期生成的各种字面量和符号引用。
阅读全文 »
0%