前面已分别介绍了zabbix的邮件、微信报警设置,这些都是手机在有网络时才能收到报警信息,那如果手机没有网的情况下怎么办,这就需要考虑使用短信接口报警了。当服务出现故障达到预警级别是通过发送短信的形式告诉运维人员,以便及时处理。公司的短信接口是从短信服务器购买的,并经过公司开发大神调整后使用的。废话 ...
分类:
其他好文 时间:
2017-08-20 18:16:33
阅读次数:
282
题目描述 Bessie is leading the cows in an attempt to escape! To do this, the cows are sending secret binary messages to each other. Ever the clever counte ...
分类:
其他好文 时间:
2017-08-20 16:57:03
阅读次数:
166
utf-8 编码,一个汉字,三个字节, 一个字节8位,01010101 用一个16进制 Str字节类型与编码 创建字节和字符串 字符列表转化 元祖转化列表 字典转化列表 列表分为自身改变,另外一个生成新的 .extend() #扩折自己,用另外一个可迭代对象, 扩充到自己内部 .reverse () ...
分类:
其他好文 时间:
2017-08-20 15:46:39
阅读次数:
171
Problem Description In this problem, you have to analyze a particular sorting algorithm. The algorithm processes a sequence of n distinct integers by ...
分类:
编程语言 时间:
2017-08-20 14:50:11
阅读次数:
209
public static byte[] fileToZip(){ ZipOutputStream append = null; ByteArrayOutputStream bos = new ByteArrayOutputStream(); try { append = new Zip... ...
分类:
编程语言 时间:
2017-08-20 13:35:07
阅读次数:
220
题意:给定两个串,求其中一个串 s 的每个后缀在另一个串 t 中出现的次数。 题解:把两个串都 reverse 一下,给 t 做个 KMP 之后让 s 在 KMP 出来的结果上跑一遍就好了。 kmp模板题。 ...
分类:
其他好文 时间:
2017-08-19 22:15:21
阅读次数:
157
1.函数也是对象,可以作为参数和返回值 2.使用驼峰命名,尽量避免下划线 3.public函数应当有说明文档 4.lambda中花括号内前后都应该有空格 5.空值安全检查 var s: String? = null;当一个变量允许为空值时,必须使用?来声明 6.当?:左边表达式不为空时,返回表达式的 ...
分类:
其他好文 时间:
2017-08-19 18:39:31
阅读次数:
190
Description The Borg is an immensely powerful race of enhanced humanoids from the delta quadrant of the galaxy. The Borg collective is the term used t ...
分类:
其他好文 时间:
2017-08-19 12:59:04
阅读次数:
196
2017-08-19 10:58:52 writer;pprp ...
分类:
其他好文 时间:
2017-08-19 12:40:04
阅读次数:
158
题目链接:HDU 2602 Bone Collector Bone Collector Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2890 ...
分类:
其他好文 时间:
2017-08-19 10:51:15
阅读次数:
120