自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 收藏
  • 关注

原创 多进程多线程的坑

from multiprocessing import Process import threading import time class Job: def __init__(self): self.a = 'a' def run(self): self.b = 'b' while True: pri...

2018-05-16 11:14:59 358

原创 工作学习之---python大法的坑

2018-03-03循环中   in 和 removea = [i for i in range(10)]随便删除一个0-9的数  比如4for index, value in enumerate(a):    if value == 4:        a.remove(value)    print(index, value)输出:0 01 12 23 34 45 66 77 88 9由上可见...

2018-03-03 15:29:48 193

原创 工作学习之。。。MySQL

查看mysql占用空间大小use information_schema;  # 更换到这个数据库select concat(round(sum(DATA_LENGTH/1024/1024),2), 'MB') as data from TABLES;  # 查看占用空间大小请参考:查看MYSQL数据库占用空间大小...

2018-03-02 18:35:15 156

原创 工作学习之。。。git

git commit -a -mgit -mgit add -A   # add changes from all tracked and untracked filesgit config core.fileMode false  # 让git忽略文件权限的改变

2018-03-02 18:31:25 139

原创 工作学习之---linux

2017-12-251.tar 压缩文件时排除文件tar zcvf  monitor.tar.gz monitor --exclude "*log" --exclude "/monitor/logs"压缩后的里面没有 log结尾的文件 也没有monitor/logs文件下的文件2.tar 预览  不解压tar tvf monitor.tar.gz2017-12-293.df 查看磁盘相关信息df ...

2017-12-25 18:35:56 129

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除