上一页 1 2 3 4 5 6 7 ··· 12 下一页
摘要: 源码分析 代码结构 cloud-init的代码结构如下: cloud-init ├── bash_completion # bash自动补全文件 │ └── cloud-init ├── ChangeLog # 更新日志 ├── cloudinit │ ├── cloud.py # Cloud类 │ 阅读全文
posted @ 2022-05-17 17:13 frankming 阅读(912) 评论(0) 推荐(0) 编辑
摘要: 项目简介 cloud-init是一款用于初始化云服务器的工具,它拥有丰富的模块,能够为云服务器提供的能力有:初始化密码、扩容根分区、设置主机名、注入公钥、执行自定义脚本等等,功能十分强大。 目前为止cloud-init是云服务器初始化工具中的事实标准,它几乎适用于所有主流的Linux发行版,也是各大 阅读全文
posted @ 2022-05-17 16:51 frankming 阅读(5912) 评论(0) 推荐(1) 编辑
摘要: 题目 Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and return its sum. A subarray 阅读全文
posted @ 2022-05-16 00:09 frankming 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 题目 Given an integer array nums, return true if any value appears at least twice in the array, and return false if every element is distinct. Example 1 阅读全文
posted @ 2022-05-15 23:52 frankming 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 前言 在使用云服务器产品时,由于问题修复、功能添加、软件更新等原因,往往需要对已有系统镜像进行二次修改。 这种情况下,最为简单的做法是:使用原镜像创建实例,在实例中进行修改,修改完毕后再转镜像。这种做法比较粗暴,系统启动的过程可能会为原本干净的系统镜像带来一些不必要的残留数据,而且也无法执行硬盘分区 阅读全文
posted @ 2022-05-06 19:57 frankming 阅读(1770) 评论(0) 推荐(0) 编辑
摘要: 题目 Write an algorithm to determine if a number n is happy. A happy number is a number defined by the following process: Starting with any positive int 阅读全文
posted @ 2022-04-18 11:40 frankming 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 题目 Given an integer array nums, design an algorithm to randomly shuffle the array. All permutations of the array should be equally likely as a result 阅读全文
posted @ 2022-04-14 20:38 frankming 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 题目 Given two integers left and right that represent the range [left, right], return the bitwise AND of all numbers in this range, inclusive. Example 1 阅读全文
posted @ 2022-04-13 20:25 frankming 阅读(19) 评论(0) 推荐(0) 编辑
摘要: 题目 Given an integer n, break it into the sum of k positive integers, where k >= 2, and maximize the product of those integers. Return the maximum prod 阅读全文
posted @ 2022-04-13 19:28 frankming 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 题目 You are given an integer array coins representing coins of different denominations and an integer amount representing a total amount of money. Retu 阅读全文
posted @ 2022-04-12 17:33 frankming 阅读(20) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 12 下一页