ansible 默认提供了很多模块来供我们使用。在 Linux 中,我们可以通过 ansible-doc -l 命令查看到当前 ansible 都支持哪些模块,通过 ansible-doc -s 模块名 又可以查看该模块有哪些参数可以使用。
下面介绍比较常用的几个模块:
1
2
3
4
5
6
7
8...
分类:
其他好文 时间:
2015-07-21 12:58:53
阅读次数:
690
最近杂七杂八的忙碌着,前几天看了下这部分主要是stagefright模块的,所以更改下名字
做了挺长时间的android平台的媒体开发,对之前的分析进行一个阶段性的总结。
一、android结构图(上下文关系)
二、android目录结构
自从android4.2版本之后,媒体的相关代码都放到framework/a...
分类:
其他好文 时间:
2015-07-21 13:00:24
阅读次数:
284
Description
某部队进行新兵队列训练,将新兵从一开始按顺序依次编号,并排成一行横队,训练的规则如下:从头开始一至二报数,凡报到二的出列,剩下的向小序号方向靠拢,再从头开始进行一至三报数,凡报到三的出列,剩下的向小序号方向靠拢,继续从头开始进行一至二报数。。。,以后从头开始轮流进行一至二报数、一至三报数直到剩下的人数不超过三人为止。
...
分类:
其他好文 时间:
2015-07-21 13:00:06
阅读次数:
132
Highcharts使用CSV格式数据绘制图表...
分类:
其他好文 时间:
2015-07-21 12:56:27
阅读次数:
237
使用 isodata 聚类算法来确定多维属性空间中像元自然分组的特征并将结果存储在输出 ASCII 特征文件中。...
分类:
其他好文 时间:
2015-07-21 12:55:38
阅读次数:
131
CentOs虚拟机可以互相ping通,但无法访问虚拟机服务...
分类:
其他好文 时间:
2015-07-21 12:55:45
阅读次数:
311
Coin Change
Time Limit:3000MS Memory Limit:0KB 64bit IO Format:%lld & %llu
Submit Status Practice UVA 674
Appoint description:Description
Download as PDFSuppose there are 5 types of coins:...
分类:
其他好文 时间:
2015-07-21 12:55:39
阅读次数:
85
1Given an arrayof integers, find two numbers such that they add up to a specific targetnumber.The functiontwoSum should return indices of the two numbers such that they add up to thetarget, where inde...
分类:
其他好文 时间:
2015-07-21 12:56:09
阅读次数:
93
ITOO项目3.1截止昨天已经结束,做3.1的这一个星期从刚开始对我负责的模块的一无所知,到后几天的算是“游
刃有余”吧,感触颇多。
3.1规定的是一个星期完成的,我是在3.1开始的前一天加入成绩管理系统的。刚上手的前两天可以说是那个纠结
啊,只有未解决的问题,没有关于关于模块的文档,而且之前负责该模块的又不在,一时间我是“丈二的和尚,摸不
着头脑”啊,于是下载下来学生端模块,开始顺着代码来一步一步往下顺。总共就7天,需要解决旧问题,完成新问
题,而且软考有些天没有敲代码了。可能自己给自己设定了压力...
分类:
其他好文 时间:
2015-07-21 12:55:32
阅读次数:
101
Given a string,find the length of the longest substring without repeating characters. Forexample, the longest substring without repeating letters for"abcabcbb" is "abc", which the length is 3. For"bbb...
分类:
其他好文 时间:
2015-07-21 12:54:53
阅读次数:
84
给定n个从小到大排好序的数,要从中选出c个数,使得任意两个相邻数的间隔最小的值尽量的大。求最大的最小间隔。#include
#include
#include
using namespace std;
int a[111111];
int vis[111111];
int cha[11111];int n,k;int cheak(int...
分类:
其他好文 时间:
2015-07-21 12:54:16
阅读次数:
77
You are giventwo linked lists representing two non-negative numbers. The digits are storedin reverse order and each of their nodes contain a single digit. Add the twonumbers and return it as a linked ...
分类:
其他好文 时间:
2015-07-21 12:53:28
阅读次数:
121
//一条队列对于第一个人的情况
//概率p1:队列保持不变
//p2:第一个人到队尾
//p3:第一个人出队
//p4:系统崩溃
//队列中有N个人,Tomato 在第M位置,求系统崩溃,Tomato 前面的人数为小于k个人的情况的概率
//dp[i][j] 表示队列中有i个人,Tomato 在第j个位置时出现目标状态的概率
//可以很容易得到递推公式
//dp[i][1] = p...
分类:
其他好文 时间:
2015-07-21 12:55:36
阅读次数:
122
java的list集合中,使用remove删除元素:
方法一:
static List list3 = new ArrayList();
static {
list3.add(1);
list3.add(2);
list3.add(2);
list3.add(2);
list3.add(2);
}
private static void remove(List list3) {
f...
分类:
其他好文 时间:
2015-07-21 12:51:58
阅读次数:
104
A. To Buy or Not to Buy (20)
时间限制
100 ms
内存限制
65536 kB
代码长度限制
8000 B
判题程序
Standard
作者
CHEN, Yue
Eva would like to make a string of beads ...
分类:
其他好文 时间:
2015-07-21 12:52:47
阅读次数:
105
CODE:
#include
#include
#include
using namespace std;
multiset mst;
char s1[1005],s2[1005];
int main()
{
while(scanf("%s%s",s1,s2)==2)
{
mst.clear();
bool flag=true;
...
分类:
其他好文 时间:
2015-07-21 12:53:06
阅读次数:
95
1.CAN通讯有2套国际标准,2套协议版本,3种故障状态,4种数据帧类型,5种总线错误类型。
2.CAN的国际标准有两种ISO11898和ISO11519。
3.CAN2.0协议分为A版和B版两种,A版协议仅支持11位标识符(称为标准帧),B版协议兼容11位,向上扩展到19位标识符(称为扩展帧)。
4.CAN总线中,任何一个节点发生了错误,那么这个节点可能处于3种故障状态:错误主动状态,错误...
分类:
其他好文 时间:
2015-07-21 12:51:10
阅读次数:
2465