部分内容源自网络,侵删,联系请看关于或声明。

批量命名

文章介绍了使用Python批量重命名图片文件的方法,提供了两种实现方式:一种是为文件加前缀,另一种是不加前缀直接按数字升序重命名。Python语法易读,适合自动化处理文件任务。

thumbnail of the cover of the post

Rancher-K8S

一、前言 1.注意 cat >> /etc/security/limits.conf << EOF ...... EOF 是一个整体,复制的时候要格外的注意。 以 cat >>/etc/profile<<EOF 为始,以EOF结尾。 单击左键查看

thumbnail of the cover of the post

Python学习笔记

Python中字面量包括整型、浮点型、字符串、布尔型和空值。变量命名需遵循特定规则,类型自动确定,支持多重赋值与数据类型转换。标识符区分大小写,不能使用数字开头且避免与保留关键字相同。

thumbnail of the cover of the post

RAID实验

RAID实验 一、前期准备 (一)添加两块硬盘 图1-1 添加两块硬盘 (二)验证是否能上网 ping DNS或者网站地址 ping 114.114.114.114 (三)安装mdadm mdadm是一个用于创建、管理、监控RAID设备的工具,它使用linux中的md驱动,能完成所有软件RAID

thumbnail of the cover of the post

ELK日志管理单节点搭建

1.1本地虚拟机 [root@HouYaxiong ~]# systemctl stop firewalld && systemctl disable firewalld 1.2云服务器 如果是云服务器则分别开启9200、5601端口 2.编辑系统配置文件 注意: cat >> /etc/secu

thumbnail of the cover of the post

销户经历

文章讲述了作者在销户中国移动宽带卡时经历的一系列复杂流程。由于套餐误导和合约未明导致多次跨地区咨询与等待,最终通过当地客服协商解决。文章提醒用户在办理套餐时一定要问清楚合约期,同时批评了移动公司服务不到位的问题。

thumbnail of the cover of the post

容器学习笔记

一、docker 1.前期部署 1.1安装docker yum -y install docker // -y 可选参数,跳过确认。 yum list docker* // * 列出所有可安装的包 docker -v // 可选,查看docker版本 1.2启动docker syste

thumbnail of the cover of the post