摘要: 对更类术语表进行记录 比如: 1. ansible-playbook 术语表 2. markdown术语表 阅读全文
posted @ 2017-03-27 17:02 jackchen007 阅读(127) 评论(0) 推荐(0)
摘要: #!/bin/bash ### script name weixin.sh ### send messages from weixin for zabbix monitor ### jack ### 2016-7-18 ### usage: curl -s -G url 获取acessToken ### curl --data url 传送凭证调用企业号接口 ### zabbix 会传送三个... 阅读全文
posted @ 2017-03-27 11:26 jackchen007 阅读(272) 评论(0) 推荐(0)
摘要: #!/bin/bash USER="root" DATABASE="students" TABLE="students" if [ $# -ne 1 ]; then echo $0 DATAFILE echo exit 2 fi data=$1 while read line; do oldIFS=$IFS IFS=, values=($line)... 阅读全文
posted @ 2017-03-27 11:20 jackchen007 阅读(2717) 评论(0) 推荐(0)
摘要: # -*- coding:utf-8 -*- from pylab import * figure(1,figsize=(6,6)) ax = axes([0.1,0.1,0.8,0.8]) fracs = [45,30,25] explode = {0,0,0.08} pie(fracs,explode=explode,labels=labels,autopct='%1.1f%%',sha... 阅读全文
posted @ 2017-03-27 11:16 jackchen007 阅读(9858) 评论(0) 推荐(0)
摘要: #!/usr/bin/env python # -*- coding: utf-8 -*- import os,sys,time,subprocess import warnings,logging warnings.filterwarnings("ignore",category=DeprecationWarning) logging.getLogger("scapy.runtine")... 阅读全文
posted @ 2017-03-27 11:15 jackchen007 阅读(2225) 评论(0) 推荐(0)
摘要: hostname -I ,可以快速主机ip 阅读全文
posted @ 2017-03-27 10:56 jackchen007 阅读(449) 评论(0) 推荐(0)