<?php //模板类class Templates { //我想通过一个字段来接受变量 //但是又不知道有多少个变量要接受。 //所以我们要动态的接受变量 //可以通过数组来实现这个功能。 private $_vars = array(); //保存系统变量 private $_config = ...
分类:
其他好文 时间:
2018-07-15 16:14:48
阅读次数:
152
[Vue warn]: You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile the templates into render fun ...
分类:
其他好文 时间:
2018-07-14 16:30:02
阅读次数:
188
图解:说明:系统版本:CentOSLinuxrelease7.4.1708(Core)需要先在一台机上先装好nginx,再配置ansible服务1、将替换的文件放入到templates中,ansible可以找到2、自动化安装时得确定系统版本一致3、gather_facts:True获取主机的信息,可以关闭4、roles目录下有两个角色,common为一些准备操作,install为安装nginx的操
分类:
其他好文 时间:
2018-07-13 13:18:36
阅读次数:
129
报这个错误 有人说是代理问题。我也不懂,但这个方法有用 1.去github上下载要初始化的模板 https://github.com/vuejs-templates/webpack 或者直接用git去clone你要的模板。 2.将下载好的模板解压。git clone的不用解压。 3.将文件夹放到c: ...
分类:
Web程序 时间:
2018-07-13 01:18:53
阅读次数:
1045
1 、批量数据导入 主url urls modles 数据库迁移 views:批量生成数据 views,前台显示所有的book_list templates 模板层 2、分页器的使用 3 4 5 6 7 ...
分类:
其他好文 时间:
2018-07-12 23:48:23
阅读次数:
211
1.创建itemConfiguration-->Templates-->Template OS Linux-->items-->create item name:memory used percent type:Calculated #计算类型 key:vm.memory.size[usedperc ...
分类:
其他好文 时间:
2018-07-12 23:47:44
阅读次数:
1655
1.快速排序 1 #include <cstdio> 2 const int MAXN=1e5+1; 3 int a[MAXN]; 4 inline int read() 5 { 6 int f=1,x=0;char c=getchar(); 7 while(c<'0'||c>'9'){if(c== ...
分类:
其他好文 时间:
2018-07-10 20:14:27
阅读次数:
141
一、主动模式和被动模式如果监控的主机只有几十台或者几百台服务器的时候,使用主动模式和被动模式都可以,没有问题二、添加监控主机点击“配置”---主机群组,先添加主机群组,再添加主机模板是预设的,包括监控项目的集合添加主机群组aming-test,再添加主机,主机名称和可见名称都写linux-02,IP地址填写客户端的IP地址:192.168.238.130,DNS不需要写,DNS在什么时候会用到,I
分类:
其他好文 时间:
2018-07-10 11:33:02
阅读次数:
177
本章内容:
运维自动化发展历程及技术应用
ansible 命令使用
ansible 常用模块使用
YAML语法简介
ansible playbook基础
playbook 变量,tags,handlers使用
playbook模板templates
playbook 条件判断 when
playbook 字典 with_items
ansible roles
分类:
其他好文 时间:
2018-07-08 18:05:38
阅读次数:
232
先看效果图 客户提出需求后,首选在百度查找可靠方案 看了几个,效果都不理想, 大多是把isEditNable设置成true,IsTextSearchNable设置成false 再对itemsSource的集合.where或findAll 过滤后重新赋值 但是这样会有很多交互细节变得很坑 爹 翻到墙外 ...
分类:
其他好文 时间:
2018-07-08 13:26:06
阅读次数:
194