iptables企业应用 ****************************单机防火墙列表#!/bin/bash# <set variable> IPT=/sbin/iptablesSERVER=192.168.0.1PARTNER=192.168.0.200# <Clear Original ...
分类:
其他好文 时间:
2018-10-01 11:55:42
阅读次数:
153
client haproxy mysql1 mysql2 192.168.1.250 192.168.1.1 192.168.1.10 192.168.1.20 一、安装mysql[root@localhost ~]#tar -zxvf bison-2.5.tar.gz[root@localhost ...
分类:
其他好文 时间:
2018-10-01 00:07:23
阅读次数:
243
1.概述 1.1 REST:即Representational State Transfer。(资源)表现层状态转化。是目前最流行的一种互联网软件架构。 资源(Resources):网络上的一个实体,或者说是网络上的一个具体信息。 每种资源对应一个特定的URL。因此,URL也是每一个资源的独一无二的 ...
分类:
编程语言 时间:
2018-09-30 00:54:37
阅读次数:
199
在软件编译过程中,经常会碰到类似这样的编译错误: /usr/bin/ld: cannot find -lhdf5 这表示找不到库文件 libhdf5.so,若是其它库文件,则是 cannot find -lxxx 了,其中 xxx 是库文件的名字。 解决方法有: 1. 安装此库文件和相关软件 一般库 ...
分类:
其他好文 时间:
2018-09-29 19:20:59
阅读次数:
973
dispatch_group_async方法是异步请求,网络请求也一般是异步请求。notify如果是异步情况下默认请求发送完成就是任务完成,会造成收不到回调通知,影响操作。 所以采用dispatch_group_enter和dispatch_group_leave方法来配合,先用enter通知接下来 ...
分类:
其他好文 时间:
2018-09-28 23:00:02
阅读次数:
742
Description Once in a forest, there lived N aggressive monkeys. At the beginning, they each does things in its own way and none of them knows each oth ...
分类:
其他好文 时间:
2018-09-27 20:10:38
阅读次数:
198
一、Monkey 简介 Monkey 就是SDK中附带的一个工具。Monkey是Android中的一个命令行工具,可以运行在模拟器里或实际设备中。它向系统发送伪随机的用户事件流(如按键输入、触摸屏输入、手势输入等),实现对正在开发的应用程序进行压力测试。Monkey测试是一种为了测试软件的稳定性、健 ...
分类:
其他好文 时间:
2018-09-27 18:05:19
阅读次数:
203
1. 前提条件 1.1 认证操作系统 Certification Information for Oracle Database on Linux x86-64 (Doc ID 1304727.2) 1)HP-UX 11i V3 patch Bundle Sep/ 2008 (B.11.31.080 ...
分类:
数据库 时间:
2018-09-27 01:44:21
阅读次数:
282
题目大意:一群猴子打字,给定猴子输入每种字符的概率以及输入次数,求输出的文本中出现指定字符串的概率 强烈建议看这篇文章:http://www.matrix67.com/blog/archives/366 里面对这道题的分析很详细 思路比较清奇,我们先用KMP求出指定串的next,接下来是DP的过程 ...
分类:
其他好文 时间:
2018-09-24 23:28:41
阅读次数:
331
描述 《Journey to the West》(also 《Monkey》) is one of the Four Great Classical Novels of Chinese literature. It was written by Wu Cheng'en during the Ming ...
分类:
其他好文 时间:
2018-09-24 17:46:40
阅读次数:
165