To be a better coder
发布时间:2019-02-25 16:39:44
[root@localhost /]# cat strduiqi.py #!/bin/pythonmydict={'name':'zhuliguo','age':29,'student':'student'}length=max(map(len,mydict.keys()))for n in mydict: print(n.ljust(length),':',mydict[n])[root@localhost /]# ......【阅读全文】
发布时间:2019-02-19 15:34:09
查看dm设备信息命令。[root@cnsz031722 ~]#dmsetup lsmpath2 (253, 8)VolGroup02-LVcustomer (253, 11)VolGroup00-LVwls (253, 5)VolGroup04-lv_ldap4 (253, 15)VolGro.........【阅读全文】
发布时间:2019-02-15 14:05:32
https://blog.csdn.net/wangpeng22/article/details/73930872NVMe协议调试总结1、NVMe问答NVMe 是什么?百度百科这么说的: NVMe(Non-VolatileMemory express),是一种建立在M.2接口上的类似AHCI的一种协议,是专门为闪存类存储设计的协议。中文名 NVMe协议 外文名 Non-Volatile.........【阅读全文】
发布时间:2019-01-24 13:09:48
[root@localhost /]# [root@localhost /]# cat zlg.py #!/bin/pythonfrom functools import reducea=[1,2,3,4,5,6,7,8,9]b=[2,3,4,5,6,7,8,9,1]r=map(lambda x,y:x+y,a,b)print list(r)x=3y=4print x if x>y else yp=reduce(lambda x,y:x+y,a)print p[root@localhost /]# [root@localhost /]# .........【阅读全文】