会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
小吉猫
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
9
10
11
12
13
14
15
16
17
···
64
下一页
2024年4月14日
ansible 修改密码
摘要: hosts [centos] 192.168.174.129 ansible_ssh_port=2022 ansible_ssh_user=user1 192.168.174.130 ansible_ssh_port=22022 ansible_ssh_user=user2 192.168.174.
阅读全文
posted @ 2024-04-14 11:00 小吉猫
阅读(206)
评论(0)
推荐(0)
2024年4月12日
ansible 统计 ssh 登录信息
摘要: hosts [centos-root] 192.168.174.129 ansible_ssh_port=22 192.168.174.130 ansible_ssh_port=22 192.168.174.131 ansible_ssh_port=22 Ansible Vault 文件 创建 An
阅读全文
posted @ 2024-04-12 18:24 小吉猫
阅读(55)
评论(0)
推荐(0)
ansible 添加用户
摘要: hosts [centos-root] 192.168.174.129 ansible_ssh_port=22 192.168.174.130 ansible_ssh_port=22 192.168.174.131 ansible_ssh_port=22 Ansible Vault 文件 创建 An
阅读全文
posted @ 2024-04-12 14:44 小吉猫
阅读(53)
评论(0)
推荐(0)
2024年4月11日
ansible 通过密码登录主机
摘要: hosts [centos-root] 192.168.174.129 ansible_ssh_port=22 ansible_ssh_user=root ansible_ssh_pass=host1 192.168.174.130 ansible_ssh_port=22 ansible_ssh_u
阅读全文
posted @ 2024-04-11 23:17 小吉猫
阅读(293)
评论(0)
推荐(0)
2024年4月10日
python random 模块
摘要: random 说明 生成伪随机数。不应将此模块的伪随机生成器用于安全目的。 有关安全性或加密用途,应使用 secrets 模块。 设置随机数种子 seed(a=None, version=2) 初始化随机数生成器。如果使用相同的种子,将会生成相同的随机数序列。 import random rando
阅读全文
posted @ 2024-04-10 13:47 小吉猫
阅读(79)
评论(0)
推荐(0)
2024年4月8日
冒泡法
摘要: 冒泡法说明 冒泡排序是一种简单的比较排序算法。它重复地遍历要排序的列表,依次比较每对相邻的元素,并且如果它们的顺序错误就交换它们。遍历的过程会持续多次,每次都会让未排序的最大元素"冒泡"到列表的末尾。由于它只需要在相邻的元素之间进行比较和交换操作,因此它被称为冒泡排序。排序结果分为升序和降序排列。
阅读全文
posted @ 2024-04-08 09:00 小吉猫
阅读(98)
评论(0)
推荐(0)
2024年4月7日
python 浅拷贝与深拷贝
摘要: copy Python 的赋值语句不复制对象,而是创建目标和对象的绑定关系。对于自身可变,或包含可变项的集合,有时要生成副本用于改变操作,而不必改变原始对象。 浅拷贝(Shallow Copy)和深拷贝(Deep Copy)是在Python中用于复制数据结构(如列表)时经常用到的概念。 浅拷贝(Sh
阅读全文
posted @ 2024-04-07 08:43 小吉猫
阅读(320)
评论(0)
推荐(0)
2024年4月4日
python 推导式
摘要: 推导式说明 推导式(Comprehensions)是Python中一种非常有用和灵活的工具,允许以简洁的方式从一个或多个迭代器快速创建数据结构。Python支持的推导式主要有四种:列表(List)推导式、字典(Dictionary)推导式、集合(Set)推导式和生成器(Generator)推导式。
阅读全文
posted @ 2024-04-04 15:32 小吉猫
阅读(133)
评论(0)
推荐(0)
2024年4月3日
stable diffusion webui 安装中文插件
摘要: 安装中文插件 应用中文插件 验证中文插件 插件安装路径 extensions
阅读全文
posted @ 2024-04-03 08:48 小吉猫
阅读(133)
评论(0)
推荐(0)
2024年4月2日
Windows 部署 Stable Diffusion web UI
摘要: 系统要求 环境要求 1. 安装 Python 3.10.6. 2. 安装 git. # 自行百度安装 版本信息 Stable Diffusion: 1.8.0-RC python: 3.10.6 torch: 2.1.2+cu121 配置 python 环境 打开 Anaconda Powershe
阅读全文
posted @ 2024-04-02 08:54 小吉猫
阅读(1307)
评论(0)
推荐(0)
上一页
1
···
9
10
11
12
13
14
15
16
17
···
64
下一页
公告