Java网络应用程序中,使用java.net包中的InetAddress类表示IP地址,这个类被大多数的网络类所引用,可同时支持IPV4和IPV6。该类用两个字段表示一个IP地址,hostName和address,hostName包含了主机名,address包含了32位的IP地址。 InetAddr ...
分类:
Web程序 时间:
2020-06-02 09:24:38
阅读次数:
59
a标签的伪类 概念 a标签可以根据用户行为不同,划分为四种状态,通过a标签的伪类可以将四种状态选择设置为不同的样式效果,用户触发对应行为,就可以加载对应的样式 普通的类: 必须给标签设置对应的class属性值,才能选中标签,而且类选择器后面添加的属性,会立即加载到浏览器上 伪类: 不需要给标签添加任 ...
分类:
其他好文 时间:
2020-06-01 12:15:53
阅读次数:
284
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document< ...
分类:
其他好文 时间:
2020-06-01 12:08:37
阅读次数:
48
问题:安装oracle-java8-installer按照如下指南失败: How To Install Java with Apt-Get on Ubuntu 16.04[https://www.digitalocean.com/community/tutorials/how-to-install- ...
分类:
数据库 时间:
2020-06-01 12:04:50
阅读次数:
103
var divs = document.querySelectorAll('div'); // 1、传统方式解除事件 this.onclick = null; divs[0].onclick = function () { alert('hello'); this.onclick = null; } ...
分类:
其他好文 时间:
2020-05-31 22:01:24
阅读次数:
62
数据库总结 数据库基础知识 数据库服务器 提供数据库服务的机器 (数据库安装在这台机器上) 数据库:database(DB) 数据库是长期存放在计算机内、有组织、可共享的数据集合 数据库中的数据按一定的数据模型组织、描述和储存,具有较小的冗余度、较高的数据独立性和易扩展性,并可为各种用户共享 相当于 ...
分类:
数据库 时间:
2020-05-31 19:59:57
阅读次数:
127
在线安装foreman 1.9 删除之前的epel-release yum remove epel-release rpm -ivh http://yum.puppetlabs.com/puppetlabs-release-el-7.noarch.rpm rpm -ivh http://dl.fed ...
分类:
其他好文 时间:
2020-05-30 20:03:48
阅读次数:
86
F.1字符函数——返回字符值 (chr,concat,initcap,lower,lpad/rpad,nls_initcap,nls_lower,nls_upper,regexp_replace,regexp_substr,replace,trim/ltrim/rtrim,soundex,subst ...
分类:
数据库 时间:
2020-05-30 19:49:44
阅读次数:
73
今天在工作中使用mybatis plus的selectBatchIds(List<Integer> ids)方法时,oracle报了ORA-01795的错。 则是因为oracle中使用 in 有限制,后面集合数目不能大于1000个,否则就会报错。 所以可以使用这种形式来规避。 select ... ...
分类:
其他好文 时间:
2020-05-30 14:18:47
阅读次数:
84
先说明下,这是在谷歌浏览器下字体显示等问题做个研究,火狐下有点差异,不过火狐占有率低,而且显示的没有谷歌那么合理,字体排版上不是强迫症,差别也不大。 div{ border: 1px solid black; color: red; font-size: 14px; } <div>文字,咋,排-he ...
分类:
Web程序 时间:
2020-05-30 10:24:29
阅读次数:
68