var oFrm = document.getElementById('Iframe4'); oFrm.onload = oFrm.onreadystatechange = function () { if (this.readyState && this.readyState != 'comple... ...
分类:
其他好文 时间:
2018-08-23 19:24:41
阅读次数:
155
## 1. 作用域区别 1.x 随意的定义作用域 2.x 不允许body 或者html 元素 ## 2. 生命周期 1.x: created 实例已经创建 beforeCompile 在编译之前 compiled 编译之后 ready 实例已经插入到文档之中 beforeDetroy 在销毁之前 d ...
分类:
其他好文 时间:
2018-08-22 21:47:34
阅读次数:
156
1.JQuery语法 $(sector).action() 美元符号定义 jQuery 选择符(selector)"查询"和"查找" HTML 元素 jQuery 的 action() 执行对元素的操作 实例 $(document).ready(function(){ $("p").onclick( ...
分类:
Web程序 时间:
2018-08-21 22:37:03
阅读次数:
226
方案1:$(document).ready 点评: 1、需要引用jquery 2、兼容所有浏览器。 方案2:<script>标签的async="async"属性 async的定义和用法(是HTML5的属性) async 属性规定一旦脚本可用,则会异步执行。 点评: 1、HTML5中新增的属性,Chr ...
分类:
Web程序 时间:
2018-08-21 15:22:01
阅读次数:
239
实验环境介绍: 本次实验环境是5个节点 3台master 2台node节点: 系统优化(在所有节点上操作) 关闭防火墙 关闭SELINUX和swap,优化内核参数 配置yum源 配置hosts解析 安装docker v1.11.1版本推荐使用docker v17.03,v1.11,v1.12,v1. ...
分类:
Web程序 时间:
2018-08-20 00:36:12
阅读次数:
716
先创建测试目录与文件mkdir-p/php/aaa/bbbvim/php/aaa/index.html<h1>smalltry</h1>配置nginxserverserver{listen80;server_namewww.ready.org;location/{root/php;try_files$uri$uri//index.php;indexindex.htmlind
分类:
其他好文 时间:
2018-08-19 13:04:27
阅读次数:
159
一、进程的基本状态 操作系统引入进程的目的:使多个程序能并发执行,以提高资源利用率和系统吞吐量 1、就绪状态(Ready):这是指进程已经处于准备好运行的状态。即进程已经获得除CPU意外所有必需的资源,只要获得CPU马上就开始运行 2、执行状态(Running):这是指进程已经获得CPU,正在执行。 ...
分类:
系统相关 时间:
2018-08-18 15:29:40
阅读次数:
220
环境 现有集群节点: 192.168.99.210:3101 新加入节点: 192.168.99.211:3101 通过xtrabackup备份还原实例,并通过同步方式追数据: 已有节点情况: 注释掉配置文件中pxc相关内容: 查看xtrabackup 备份信息: 启动211节点(非PXC),启用主 ...
分类:
其他好文 时间:
2018-08-17 22:23:14
阅读次数:
209
1、stark组件开发 stark组件开发,仿django自带得admin组件。 1、django的admin配置 from django.contrib import admin # Register your models here. from .models import * class Us ...
分类:
Web程序 时间:
2018-08-17 01:18:31
阅读次数:
201
426. Convert Binary Search Tree to Sorted Doubly Linked List(AC) Convert a BST to a sorted circular doubly-linked list in-place Iterative(AC) O(n) tim... ...
分类:
其他好文 时间:
2018-08-17 00:41:04
阅读次数:
252