11 2017 档案

摘要:docker run -itd --name promethus -p 10000:9090 -p 11000:9100 -h test1 -v `pwd`/prometheus-1.8.2.linux-amd64:/opt centos 启动 一个主机名为test1的docker 将实体机下的 prometheus-1.8.2.linux-amd64 挂载到docker镜像的/opt下 ... 阅读全文
posted @ 2017-11-07 18:22 明天OoO你好 阅读(299) 评论(0) 推荐(0) 编辑
摘要:总结21几个经常使用的参数 阅读全文
posted @ 2017-11-06 10:17 明天OoO你好 阅读(1780) 评论(0) 推荐(0) 编辑
摘要:# -*- coding:UTF-8 -*- import json from collections import OrderedDict with open('dns_status.json','r') as f: data = json.load(f) import pandas as pd from datetime import datetime def datelist(... 阅读全文
posted @ 2017-11-01 15:28 明天OoO你好 阅读(11504) 评论(0) 推荐(0) 编辑
摘要:import pandas as pd from datetime import datetime def datelist(beginDate, endDate): # beginDate, endDate是形如‘20160601’的字符串或datetime格式 date_l=[datetime.strftime(x,'%Y-%m') for x in list(pd.date... 阅读全文
posted @ 2017-11-01 13:58 明天OoO你好 阅读(338) 评论(0) 推荐(0) 编辑
摘要:mailto = ['cc', 'bbbb', 'afa', 'sss', 'bbbb', 'cc', 'shafa'] addr_to = list(set(mailto)) addr_to.sort(key = mailto.index) 阅读全文
posted @ 2017-11-01 13:36 明天OoO你好 阅读(3489) 评论(2) 推荐(0) 编辑
摘要:1 # -*- coding:UTF-8 -*- 2 import requests, time 3 import json 4 from bs4 import BeautifulSoup as bp 5 6 t3 = time.time() 7 ths = [] # 存放线程 8 9 10 def 阅读全文
posted @ 2017-11-01 10:35 明天OoO你好 阅读(383) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示