说明:treegrid静态数据加载时数据结构是一棵树包含children节点集合,而采用动态加载数据时数据是List结构的具体项。 静态加载数据 test1.html tree.json 动态加载数据 test2.html test.json ...
分类:
其他好文 时间:
2019-06-17 20:32:37
阅读次数:
165
package IO; /* * 装饰设计模式 模拟咖啡 * 1.抽象组件:需要装饰的抽象对象(接口或抽象父类) * 2.具体组件:需要装饰的对象 * 3.抽像装饰类:包含了对抽象组件的引用以及装饰着共有的方法 * 4,具体装饰类:被装饰的对象 * */ public class Test2 { p ...
分类:
编程语言 时间:
2019-06-16 15:41:35
阅读次数:
119
例子: 例子: 假如我需要同步test1、test2数据库 假如我需要同步test1、test2数据库 系统:centos7 系统:centos7 主库主机:192.168.1.252 主库主机:192.168.1.252 从库主机:192.168.1.251 从库主机:192.168.1.251 ...
分类:
数据库 时间:
2019-06-14 01:06:19
阅读次数:
120
例子: 例子: 假如我需要同步test1、test2数据库 假如我需要同步test1、test2数据库 系统:centos7 系统:centos7 主库主机:192.168.1.252 主库主机:192.168.1.252 从库主机:192.168.1.251 从库主机:192.168.1.251 ...
分类:
数据库 时间:
2019-06-13 23:33:06
阅读次数:
262
例子: 例子: 假如我需要同步test1、test2数据库 假如我需要同步test1、test2数据库 系统:centos7 系统:centos7 主库主机:192.168.1.252 主库主机:192.168.1.252 从库主机:192.168.1.251 从库主机:192.168.1.251 ...
分类:
数据库 时间:
2019-06-13 00:26:32
阅读次数:
147
1获取当前状态(.prop()) 可用来判断状态 <input type="checkbox" name="test" id="test1"/> //未被选中 <input type="checkbox" name="test" id="test2"/ checked> //选中 console.l ...
分类:
其他好文 时间:
2019-06-05 19:24:31
阅读次数:
88
1. 第一种是通过两次for循环找出每种ID出现的次数,然后判断ID次数大于一半以上的ID号。 package test2; import java.util.Scanner; public class test1 { public static void main(String []agrs) { ...
分类:
其他好文 时间:
2019-06-02 14:11:42
阅读次数:
96
1./etc/passwd以冒号分隔,输出第一列和第三列2./etc/passwd文件,输出以bash结尾的行3./tmp目录下test2文件,修改权限为属主可读可写,属组可读,其他用户没有权限4.列出/dev目录下字符设备文件详细信息5.复制/etc目录到/tmp下cp-r/etc/tmp6.查看内存使用情况7./etc/passwd按照uid数字大小排序8.查看虚拟内存信息9.统计/etc/f
分类:
系统相关 时间:
2019-05-20 13:12:16
阅读次数:
151
package com.java.test;import java.util.ArrayList;import java.util.Enumeration;import java.util.Iterator;import java.util.Vector;public class Test2 { / ...
分类:
其他好文 时间:
2019-05-19 23:16:29
阅读次数:
146
send:发文件:nc -l 9001 <test2.sh 传文件夹:tar cf - data | pigz -1 | nc -l 9021 recive: 收文件夹: nc 192.168.50.191 9021| pigz -d | tar xvf - 收文件:nc 172.16.29.171 ...
分类:
其他好文 时间:
2019-05-19 11:47:58
阅读次数:
109