1 2 3 4 5 ··· 9 下一页
摘要: ## 基本设置 ## 代码高亮 ## 定制 CSS 代码 ```css #home { width: 1102px; } h1.postTitle { margin: 0; } /* 文章标题大小 */ #cb_post_title_url > span { font-size: 24px; } # 阅读全文
posted @ 2023-08-02 10:44 王舰 阅读(9) 评论(0) 推荐(0) 编辑
摘要: https://www.lanqiao.cn/problems/3824/learning eg: n = 1234, k = 2 可以简单的列出这些选项: ● 1 + 2 + 34 ● 1 + 23 + 4 ● 12 + 3 + 4 利用 DFS 和回溯的思想,程序推导如下: 将 n 分成左右两部 阅读全文
posted @ 2024-04-04 17:54 王舰 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 在 Java 中判断数组为空通常会同时判断 null 和长度 if (array == null || array.length == 0) { return; } 但是如果在判断段长度是否为 0 后,再进行遍历的操作,就会提示 Redundant array length check,例如下面的代 阅读全文
posted @ 2023-09-24 16:17 王舰 阅读(226) 评论(0) 推荐(0) 编辑
摘要: ## 准备壁纸 打开`文件`APP,进入`iCloud云盘/Shortcuts`目录,创建名为`壁纸`的目录,然后加入两张图片,Dark.jpg 和 Light.jpg ## 创建快捷指令 打开 `快捷指令` APP,新建文件夹名为`壁纸` 进入`壁纸`目录,新建快捷指令 名为 Light 搜索`如 阅读全文
posted @ 2023-08-12 09:38 王舰 阅读(471) 评论(0) 推荐(0) 编辑
摘要: ## 方法一:brew ```bash brew install cmake ``` 用 brew 安装是一个万能方法,但是 cmake 版本迭代太快。目前 CLion 最高支持 cmake25.x 版本,而 cmake 目前是 27.x。如果不用新特性的话还是可以用的。打开设置指定 cmake 路 阅读全文
posted @ 2023-04-10 09:38 王舰 阅读(6330) 评论(0) 推荐(1) 编辑
摘要: ## HashSet 基础说明 1. HashSet 实现了 Set 接口 2. HashSet 实际上是 HashMap 3. 可以存放 null 值,但是只能有一个 null 4. HashSet 不保证元素是有序的,取决于 hash 后,再确定索引的结果 5. 不能有重复元素/对象 ## Ha 阅读全文
posted @ 2022-12-02 17:06 王舰 阅读(84) 评论(0) 推荐(0) 编辑
摘要: ## 一、RDB 配置 这是 Redis 默认的持久化配置,当 redis server 挂掉时,会将数据保存到 dump.rdb 文件中,下次启动 redis server 前先加载 dump.rdb 中的数据。 默认情况下持久化文件名为 dump.rdb 且保存在启动 redis server 阅读全文
posted @ 2022-08-20 18:51 王舰 阅读(3576) 评论(0) 推荐(2) 编辑
摘要: ## 一、安装 Redis ### 1.1、Windows 安装 Redis Redis 最新版不支持 Windows 系统,建议在 Linux 上安装。如果硬要在 Windows 上使用 Redis,可以在 WSL 中安装,或者安装 Redis 的早期版本:https://github.com/M 阅读全文
posted @ 2022-08-20 10:41 王舰 阅读(706) 评论(0) 推荐(0) 编辑
摘要: 不要使用 Android SDK 中的 adb,删除原先的 Android SDK 环境变量。添加夜神模拟器的环境变量 阅读全文
posted @ 2022-08-17 19:42 王舰 阅读(107) 评论(0) 推荐(0) 编辑
摘要: Switch(config-if)#switchport trunk ? allowed Set allowed VLAN characteristics when interface is in trunking mode native Set trunking native characteri 阅读全文
posted @ 2022-06-04 15:46 王舰 阅读(527) 评论(0) 推荐(0) 编辑
1 2 3 4 5 ··· 9 下一页