上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 120 下一页
摘要: 1、样式 1.1 行内样式 <h1 style="color:red;">行内样式</h1> 1.2 内部样式 CSS代码写在 <head> 的 <style> 标签中 <style> h1{color: green; } </style> 1.3 外部样式 <link rel="styleshee 阅读全文
posted @ 2022-12-01 15:36 hanease 阅读(47) 评论(0) 推荐(0)
摘要: 1、网页基本信息 <!DOCTYPE html>浏览器使用的规范 <head> 网页头 <body> 主体部分 <meta> 元数据 meta的name属性(了解) Keyword(关键字)为搜索引擎提供的关键字列表 Description(简介) description用来告诉搜索引擎你的网站主要 阅读全文
posted @ 2022-12-01 15:36 hanease 阅读(56) 评论(0) 推荐(0)
摘要: 1、ElasticSearch简介 1.1 Lucene Doug Cutting开发 是apache软件基金会4 jakarta项目组的一个子项目 是一个开放源代码的全文检索引擎工具包 不是一个完整的全文检索引擎,而是一个全文检索引擎的架构,提供了完整的查询引擎和索引引擎,部分文本分析引擎(英文与 阅读全文
posted @ 2022-12-01 15:33 hanease 阅读(319) 评论(0) 推荐(0)
摘要: 1、行转列 源数据: 目标数据: 数据准备 -- 建表插入数据 drop table if exists time_temp; create table if not exists time_temp( `year_col` int not null comment '年份', `month_col 阅读全文
posted @ 2022-12-01 15:32 hanease 阅读(60) 评论(0) 推荐(0)
摘要: 1、初识数据库 安装数据库这里省略; 1.1my.ini 基本配置 [mysqld] basedir=F:\java\MySQL #基本目录 datadir=F:\java\MySQL\data\ #数据目录 port=3306 #端口 skip-grant-tables # 跳过密码验证 1.2常 阅读全文
posted @ 2022-12-01 15:31 hanease 阅读(87) 评论(0) 推荐(0)
摘要: 1、Windos上安装 1.1安装教程 Windos上安装Redis 1.2 redis.windows-service.conf 修改密码添加 # requirepass foobared requirepass 123456 #设置登录密码 auth 123456密码验证 # Command r 阅读全文
posted @ 2022-12-01 15:30 hanease 阅读(121) 评论(0) 推荐(0)
摘要: 1、File类 File类是IO包中唯一代表磁盘文件本身的对象,File类定义了一些与平台无关的方法来操作文件。通过调用File类提供的各种方法,能够完成创建、删除文件、重命名文件、判断文件的读写权限权限是否存在、设置和查询文件的最近修改时间等操作。 ​ File类没有无参构造方法,最常用的是使用下 阅读全文
posted @ 2022-12-01 15:27 hanease 阅读(397) 评论(0) 推荐(0)
摘要: 1、关机命令 命令说明 sync 将数据由内存同步到硬盘中 shutdown 关机 shutdown -h 10 10分钟后关机 shutdown -h now 立马关机 shutdown -h 20:25 指定时间关机 shutdown -h +10 10分钟后关机 shutdown -r now 阅读全文
posted @ 2022-12-01 15:15 hanease 阅读(210) 评论(0) 推荐(0)
摘要: java对list集合进行分页 1、计算页数: List<User> list = new ArrayList<>();//add...//pageNo表示当前页[1-n],pageSize表示每页大小//方法一int total = list.size();int pageSum = (total 阅读全文
posted @ 2022-12-01 15:11 hanease 阅读(124) 评论(0) 推荐(0)
摘要: Java集合框架(一)-ArrayList 大佬理解->Java集合之LinkedList 1、ArrayList的特点 存放的元素有序 元素不唯一(可以重复) 随机访问快 插入删除元素慢 非线程安全 2、底层实现 底层初始化,使用一个Object类型的空对象数组,初始长度为0; 源码 //Obje 阅读全文
posted @ 2022-12-01 15:08 hanease 阅读(72) 评论(0) 推荐(0)
上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 120 下一页