Ansible是一种基于python编写的自动化批量部署工具。主要应用于批量部署应用和结合Git、Jenkins进行自动化配置管理。 Ansible结构: Ansible(核心程序) 就是ansible的心脏大脑,进行各部分的协调调用。 Host Invertory(主机群组) 定义了被管理的Cli ...
分类:
其他好文 时间:
2018-07-29 14:19:34
阅读次数:
159
Start Books and courses are frustrating. They give you lots of recipes and snippets, but you never get to see how they all fit together. When you are ...
分类:
其他好文 时间:
2018-07-29 13:03:59
阅读次数:
171
1.什么是multipart/form data 首先我们需要明白在html中的enctype属性, enctype:规定了form表单在发送到服务器时候编码方式。他有如下的三个值。 ①application/x www form urlencoded。默认的编码方式。 但是在用文本的传输和MP3等 ...
分类:
Web程序 时间:
2018-07-26 01:05:51
阅读次数:
1200
文章目录: 1、简单的表达式树实现以及声明方式 2、表达式树条件拼接 3、表达式树关系映射 4、表达式树访问者 5、表达式树扩展 简单介绍表达式树 相信大家使用EF框架的时候,对实体集延迟查询对象IQueryable一定不陌生,对实体集操作的时候,参数要求传递一个Expression<TDelega ...
分类:
其他好文 时间:
2018-07-22 20:03:17
阅读次数:
202
1 算法 1.1 有限制条件的排列组合 ? 难点在于分析从[i u 1,i 1]是G的这一段排列组合如何求 "Attack on Titans" 给n个士兵排队,每个士兵三种G、R、P可选,求至少有m个连续G士兵,最多有k个连续R士兵的排列的种数.最终结果对1000000007取模. 因为两种士兵的 ...
分类:
其他好文 时间:
2018-07-18 20:41:33
阅读次数:
178
1. Xpath使用路径表达式还选取文档种的节点或者节点集, 节点是通过沿着路径或者步来选取的。 bookstore - 选取bookstore元素的所有子节点 /booksotre - 选取根元素bookstore /代表绝对路径 bookstore/book - 选取属于bookstore的子元 ...
分类:
其他好文 时间:
2018-07-18 15:18:02
阅读次数:
162
/// /// 导出Excel /// /// 控件 DataGridView /// 中英文对照的标题 public static void ExportTasks(DataGridView mydgv, Dictionary dic) { ... ...
problem A Digital Library contains millions of books, stored according to their titles, authors, key words of their abstracts, publishers, and publish ...
分类:
其他好文 时间:
2018-07-17 23:29:50
阅读次数:
180
2018.07.17 https://en.wikipedia.org/wiki/Bus_(computing) 提到 Early computer buses were bundles of wire that attached computer memory and peripherals. A ...
分类:
其他好文 时间:
2018-07-17 14:22:01
阅读次数:
338
①sed(替换)命令格式sed[options]‘command‘file(s)sed[options]-fscriptfilefile(s)n读取下一个输入行,用下一个命令处理新的行而不是用第一个命令。g表示行内全面替换。p表示打印行。w表示把行写入一个文件替换文本中的字符串:sed‘s/book/books/‘file-n选项和p命令一起使用表示只打印那些发生替
分类:
其他好文 时间:
2018-07-17 12:43:31
阅读次数:
178