会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
whitesky_root
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
···
11
下一页
2021年5月24日
合并去重
摘要: # 2个列表中的字典,根据字典的指定字段:tag_info去重 a = [{'version': '13', 'tag_info': 'tag:shifou-3232661', 'commit_id': '720eb278b7efe5b259413190a75c6f2be984bade'}, {'v
阅读全文
posted @ 2021-05-24 11:52 whitesky-root
阅读(101)
评论(0)
推荐(0)
2021年5月7日
Python操作excel、CSV
摘要: https://github.com/pilicurg/GetCsvColumn/blob/master/GetCsvColumn.py https://blog.csdn.net/Allyli0022/article/details/79125672 https://www.cnblogs.com
阅读全文
posted @ 2021-05-07 19:04 whitesky-root
阅读(57)
评论(0)
推荐(0)
2021年1月16日
celery并发方式
摘要: Celery支持不同的并发和序列化的手段 并发:Prefork, Eventlet, gevent, threads/single threaded 序列化:pickle, json, yaml, msgpack. zlib, bzip2 compression, Cryptographic mes
阅读全文
posted @ 2021-01-16 20:18 whitesky-root
阅读(1817)
评论(2)
推荐(0)
2021年1月8日
Python线程超时控制
摘要: # #!/usr/bin/env python # # coding: utf-8 # # https://www.cnblogs.com/scolia/p/6132950.htmlhttps://www.cnblogs.com/madsnotes/articles/5688681.html imp
阅读全文
posted @ 2021-01-08 10:13 whitesky-root
阅读(1871)
评论(0)
推荐(0)
2020年5月30日
django migrations 采坑
摘要: django.db.migrations.exceptions.InconsistentMigrationHistory: Migration admin.0001_initial is applied before its dependency users.0001_initial on data
阅读全文
posted @ 2020-05-30 23:31 whitesky-root
阅读(418)
评论(0)
推荐(0)
2020年5月20日
strace 小结
摘要: strace是什么? Strace是一个用来跟踪系统调用的简易工具。它最简单的用途就是跟踪一个程序整个生命周期里所有的系统调用,并把调用参数和返回值以文本的方式输出。 当然它还可以做更多的事情: strace可以过筛选出特定的系统调用。 strace可以记录系统调用的次数,时间,成功和失败的次数。
阅读全文
posted @ 2020-05-20 11:34 whitesky-root
阅读(197)
评论(0)
推荐(0)
2020年4月21日
vim复制粘贴取消缩进
摘要: :set paste https://www.cnblogs.com/end/archive/2012/06/01/2531147.html
阅读全文
posted @ 2020-04-21 11:11 whitesky-root
阅读(232)
评论(0)
推荐(0)
2020年3月27日
zip、tar 压缩文件时排除某个文件夹
摘要: zip -r XXXX.20190709.zip YYYYY -x "XXXXX/mlsf/*" 注意:“”这个是关键,没有加“”,将不起作用。 zip -r marathon.20190709.zip marathon -x "marathon/mlsf/*" tar -zcvf test.tar
阅读全文
posted @ 2020-03-27 15:50 whitesky-root
阅读(887)
评论(0)
推荐(0)
2020年3月23日
docker 常用命令 docker-compose参数
摘要: 日志: docker logs -t --since="2020-02-27T07:00:00" 4c04ea1238ab |less docker exec -it dbm-service bash rpm -qa | grep -i 'docker' if [ $? == 0 ] ; then
阅读全文
posted @ 2020-03-23 11:36 whitesky-root
阅读(5128)
评论(0)
推荐(0)
2020年3月12日
ssh认证原理
摘要: 一、什么是SSH? 简单说,SSH是一种网络协议,用于计算机之间的加密登录。 如果一个用户从本地计算机,使用SSH协议登录另一台远程计算机,我们就可以认为,这种登录是安全的,即使被中途截获,密码也不会泄露。 最早的时候,互联网通信都是明文通信,一旦被截获,内容就暴露无疑。1995年,芬兰学者Tatu
阅读全文
posted @ 2020-03-12 11:52 whitesky-root
阅读(500)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
11
下一页
公告