demo内容 将元素属性用于选择器中,从而获取指定元素属性或者值得元素语法: [属性] : 具备 指定属性 的所有元素全部匹配出来 元素[属性] : 匹配具备 属性的 指定元素 p[id] : 匹配具备id属性的p元素 div[class] : 元素[属性1][属性2] : p[id][class] ...
分类:
Web开发 时间:
2017-08-16 19:43:35
收藏:
0 评论:
0 赞:
0 阅读:
227
本地用jdk1.8编译的服务提供端war包,部署到环境报错了: 发现失败原因是环境用的jdk版本是1.7的,而1.7的jdk根本就没有下面这个对象和方法 ...
分类:
编程语言 时间:
2017-08-16 19:43:13
收藏:
0 评论:
0 赞:
0 阅读:
1901
命令: ansible -i hosts_20 st -m shell -a 'service zabbix_agentd star' -K --become ansible -i hosts_20 st -m shell -a 'lsof -i:10050' -K --become 在shell模 ...
分类:
系统服务 时间:
2017-08-16 19:42:37
收藏:
0 评论:
0 赞:
0 阅读:
1213
import java.awt.Cursor; import java.awt.Dimension; import java.awt.Font; import java.awt.GridLayout; import java.awt.Image; import java.awt.Point; imp ...
分类:
其他 时间:
2017-08-16 19:42:27
收藏:
0 评论:
0 赞:
0 阅读:
302
A hat’s word is a word in the dictionary that is the concatenation of exactly two other words in the dictionary. You are to find all the hat’s words i ...
分类:
其他 时间:
2017-08-16 19:42:11
收藏:
0 评论:
0 赞:
0 阅读:
287
github https://github.com/sea-boat/net-reactor net-reactor it’s a simple and easy net framework with nio mode written by java reactor model how-to jus ...
分类:
其他 时间:
2017-08-16 19:42:00
收藏:
0 评论:
0 赞:
0 阅读:
261
每个Java源文件是一个java编译器的一个编写单元。编译器每编写一个.java文件(编译单元),会输出很多与java文件类的名称对应的从class文件,不仅仅限制于public修饰的。但是public类是用来编译单元存在的公开接口。如果没有的话,运行会报错,提示找不到加载的类。 public 就相 ...
分类:
编程语言 时间:
2017-08-16 19:41:51
收藏:
0 评论:
0 赞:
0 阅读:
433
public class asd { private static void customBufferStreamCopy(String source, String target) { InputStream fis = null; OutputStream fos = null; try { f ...
分类:
其他 时间:
2017-08-16 19:41:37
收藏:
0 评论:
0 赞:
0 阅读:
175
链接:https://www.luogu.org/problem/show?pid=2044#sub 题目描述 栋栋最近迷上了随机算法,而随机数是生成随机算法的基础。栋栋准备使用线性同余法(Linear Congruential Method)来生成一个随机数列,这种方法需要设置四个非负整数参数m, ...
分类:
其他 时间:
2017-08-16 19:41:11
收藏:
0 评论:
0 赞:
0 阅读:
214
Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number. An example is the root-to-leaf path 1->2->3 whic ...
分类:
其他 时间:
2017-08-16 19:40:57
收藏:
0 评论:
0 赞:
0 阅读:
204
安装: 启动: 查询服务启动状态: 配置开机启动: 把四项都选上。 修改默认端口: 找到Port 22,然后改成相应的端口。建议先保留22端口的。后面连接成功了之后再删除22端口,保险起见。 重启服务 查看状态 用端口进行连接 连接成功之后记得把22端口去除。 ...
分类:
系统服务 时间:
2017-08-16 19:40:45
收藏:
0 评论:
0 赞:
0 阅读:
262
事由:mongodb已经进行数据分片,这样就不能使用一些方法就不能使用,例如eval,$group如果尝试使用mongodb会提示 错误原因:分片服务端不支持单服务器实例方法 经过查找,分片服务器的查询和操作只能使用MapReduce或者Aggregate(聚合管道)操作,这两个mongodb的高级 ...
分类:
Windows开发 时间:
2017-08-16 19:40:31
收藏:
0 评论:
0 赞:
0 阅读:
341
学了面向对象三大特性继承,多态,封装。今天我们看看面向对象的一些进阶内容,反射和一些类的内置函数。 ...
分类:
编程语言 时间:
2017-08-16 19:40:10
收藏:
0 评论:
0 赞:
0 阅读:
233
我使用过的Linux命令之hostname - 显示或设置主机名 本文链接:http://codingstandards.iteye.com/blog/804648 (转载请注明出处) 用途说明 hostname命令可以用来显示或者设置主机名(show or set the system’s hos ...
分类:
系统服务 时间:
2017-08-16 19:40:00
收藏:
0 评论:
0 赞:
0 阅读:
225
1.Hibernate映射文件中: <generator class="increment"/> 1)class的值等于native或increment:表格中的主键是自动生成的; 2)Class的值等于assigned:主键是自己手动添加的; 2.调用save的时候,即便没有事务提交,也会从数据库 ...
分类:
Web开发 时间:
2017-08-16 19:39:37
收藏:
0 评论:
0 赞:
0 阅读:
299
Description Description Input Output Input Input Output Output Sample Input 5 2 1 5 3 4 Sample Output 5 4 3 1 2 Sample Input 5 2 1 5 3 4 Sample Input ...
分类:
编程语言 时间:
2017-08-16 19:39:26
收藏:
0 评论:
0 赞:
0 阅读:
243
一、函数 1、无参函数 语法: 2、有参函数 语法: BOM :Browers Object Model 浏览器对象模型 ...
分类:
其他 时间:
2017-08-16 19:38:59
收藏:
0 评论:
0 赞:
0 阅读:
175
整理记录使用cordova创建app应用程序并将其部署至Android系统移动设备上详细过程,具体如下: 一、前期安装环境 1. 安装JDK(java开发工具包) 2. 安装gradle 3. 安装Android SDK 4. 添加SDK包 5. 设置环境变量 二、Cordova的安装及使用 1. ...
分类:
移动平台 时间:
2017-08-16 19:06:19
收藏:
0 评论:
0 赞:
0 阅读:
479
今天遇到一个问题,就是我在定义接口时 首先父类 #import "ApiNetWork.h" #define TimeOutSecs 30.0 @implementation ApiNetWork +(id)instance { static dispatch_once_t onceToken = ...
分类:
其他 时间:
2017-08-16 19:06:06
收藏:
0 评论:
0 赞:
0 阅读:
233
1. 原因:spark的版本为 ...
分类:
其他 时间:
2017-08-16 19:05:52
收藏:
0 评论:
0 赞:
0 阅读:
1595