会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
tslam
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
4
5
6
7
8
9
10
11
12
···
50
下一页
2024年7月17日
linux 计算百分比
摘要: 图 a=20 b=100 #计算百分比 echo `awk 'BEGIN{printf "%.1f%%\n",('$a'/'$b')*100}'` 20.0%
阅读全文
posted @ 2024-07-17 18:02 tslam
阅读(47)
评论(0)
推荐(0)
2024年7月12日
网段理解
摘要: 参考1: 网段划分?子网掩码和IP,如何区分是否同一个网段? | Server 运维论坛 (learnku.com) 参考2:网络基础概念解析:什么是网段? - IT技术运维笔记 (huamp.com) 百度: linux 查看 网段
阅读全文
posted @ 2024-07-12 18:13 tslam
阅读(31)
评论(0)
推荐(0)
2024年7月11日
linux vi
摘要: 参考: Linux 上的 vi 编辑器指南 (linux-console.net)
阅读全文
posted @ 2024-07-11 18:46 tslam
阅读(5)
评论(0)
推荐(0)
2024年7月10日
PyCharm 等下载
摘要: 参考: JetBrains Toolbox | JetBrains: Developer Tools for Professionals and Teams
阅读全文
posted @ 2024-07-10 15:09 tslam
阅读(7)
评论(0)
推荐(0)
2024年7月7日
fastapi 请求参数 校验
摘要: 若对pydantic定义的请求体中的字段进行校验, 使用Field类 from pydantic import Field 对路径参数校验, 使用 Path类 对查询参数校验, 使用Query类 from fastapi import APIRouter, Path, Query
阅读全文
posted @ 2024-07-07 14:17 tslam
阅读(27)
评论(0)
推荐(0)
2024年7月3日
Linux中“>”和“>>”的区别
摘要: > 覆盖 root@xxxxxxxxx:/home# echo "world1" > 11.txt >> 追加 root@xxxxxxxxx:/home# echo "world" >> 11.txt
阅读全文
posted @ 2024-07-03 20:12 tslam
阅读(24)
评论(0)
推荐(0)
2024年7月2日
ls 文件 文件夹没有颜色
摘要: 参考链接: [linux] 下 ls 文件夹和文件没有颜色的解决办法 - wangju003 - 博客园 (cnblogs.com)
阅读全文
posted @ 2024-07-02 20:25 tslam
阅读(6)
评论(0)
推荐(0)
2024年7月1日
树
摘要: anytree -> 提供相关API, 如创建、添加、删除、遍历、搜索
阅读全文
posted @ 2024-07-01 14:20 tslam
阅读(12)
评论(0)
推荐(0)
2024年6月25日
__slots__
摘要: 限制类的实例只能拥有slots中的属性
阅读全文
posted @ 2024-06-25 21:12 tslam
阅读(6)
评论(0)
推荐(0)
2024年6月24日
win10 安装补丁 cab 漏洞修复
摘要: 查找及下载补丁 cab文件时win压缩格式,无法直接安装. 参考1: Win10/Win7/Win8.1怎么使用注册表给CAB更新包添加右键安装项?_百度知道 (baidu.com) 参考2: Win10更新是CAB格式的要怎么安装?安装CAB格式更新补丁教程 -Win7系统之家 (winwin7.
阅读全文
posted @ 2024-06-24 13:53 tslam
阅读(240)
评论(0)
推荐(0)
上一页
1
···
4
5
6
7
8
9
10
11
12
···
50
下一页
公告