avatar
Articles
288
Tags
201
Categories
0

karr's blog
Search

karr's blog

网关学习笔记:APISIX
Created2024-01-27
python获取url中的参数
Created2024-01-23
1params = parse.parse_qs(parse.urlparse(link).query)
django restframework
Created2024-01-14
传送门:https://www.bilibili.com/video/BV1xj411C7ws?p=6&spm_id_from=pageDriver&vd_source=502f63a6c3f07b2d0c4afd71ff535497 原始的django restframework
html 空格
Created2024-01-13
表示空格的最常用的HTML 实体是 1&#20
不可能三角?寻找 IKIGAI 区域
Created2024-01-11
去
cv2读取媒体并保存为视频文件
Created2024-01-06
123456789101112131415161718192021222324252627282930import cv2def test01(): uri = "" cap = cv2.VideoCapture(uri) # Define the codec and create VideoWriter object # fourcc = cv2.VideoWriter_fourcc(*'XVID') fourcc = cv2.VideoWriter_fourcc(*'mp4v') out = cv2.VideoWriter('video_save.mp4', fourcc, 30.0, (1920, 1080)) while cap.isOpened(): ret, frame = cap.read() if ret: # frame = cv2.flip(frame, 0) # 翻转 # ...
es6获取object的keys
Created2024-01-04
12data = {a: 1, b: 2}Object.keys(data) 1[a, b]
es6使用map方法改变数组中某一对象的值
Created2024-01-03
@https://blog.csdn.net/m0_47531829/article/details/124753490 123456789101112131415161718192021222324const data = [ { name: "张三", age: 12, _check: true, }, { name: "李四", age: 15, _check: true, }, { name: "王五", age: 18, _check: false, },];data.map(item => { if(item._check) { item._check = false } return item})console.log(data,'data');
Linux统计文件夹下的文件数目
Created2023-12-28
@https://noahsnail.com/2017/02/07/2017-02-07-Linux%E7%BB%9F%E8%AE%A1%E6%96%87%E4%BB%B6%E5%A4%B9%E4%B8%8B%E7%9A%84%E6%96%87%E4%BB%B6%E6%95%B0%E7%9B%AE/ 统计当前目录下文件的个数(不包括目录)1ls -l | grep "^-" | wc -l 统计当前目录下文件的个数(包括子目录)1ls -lR| grep "^-" | wc -l 查看某目录下文件夹(目录)的个数(包括子目录)1ls -lR | grep "^d" | wc -l
python dict() 将一个list中的dict的内容转成 k-v 的格式
Created2023-12-14
使用dict()函数12345678910111213141516171819list_ = [ { "id": "11", "name": "12", "other": "13" }, { "id": "21", "name": "22", "other": "23" }, { "id": "31", "name": "32", "other": "33" },]test = dict([(i["id& ...
1…121314…29
avatar
karr
世界那么大,我想去看看。
Articles
288
Tags
201
Categories
0
gitee
Announcement
This is my Blog
Recent Post
Git报错: Failed to connect to github.com port 443 解决方案2025-03-30
AI Agent 系统架构图2025-03-28
固定整个页面只有100%的高度,不能进行下拉,当组件的内容超过100%时候在个自组件内部加上滚动条2025-03-12
html保证背景色铺满整个页面2025-03-12
importlib.import_module强制从文件加载2025-03-07
Tags
vue3 滚动 错误码 GROUP BY hexo java jwt 抖音 filter 架构 gap lock 前端 opencv Windows unicode Android Studio javascript 优化 vue 救猫咪 react-props-warning json_extract uvicorn 线程 图片去重 JSON mysqlclient npm Mutable go aiohttp rewrite 疫情防控 操作系统 滚动条 OTP 无人机 ORM text css
Archives
  • March 20256
  • February 20252
  • January 20253
  • November 20242
  • October 20243
  • September 20247
  • August 202410
  • July 202423
Info
Article :
288
UV :
PV :
Last Update :
©2024 - 2025 By karr
Framework Hexo|Theme Butterfly
Search
Loading the Database