上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 18 下一页
2023年7月17日
摘要: 下载mysql文件: 下载地址:https://dev.mysql.com/downloads/mysql/ #上传到服务器 scp mysql.tar root@192.168.50.147:/home/mysql/ 卸载系统自带mariadb: #查看已经安装的包名:yum list insta 阅读全文
posted @ 2023-07-17 14:27 laremehpe 阅读(18) 评论(0) 推荐(0) 编辑
2023年7月15日
摘要: 安装linux: 启动网络: 找到这个文件: 编辑文件: 修改最后一项改为yes: 虚拟机设置网络 然后重启 输入ip addr查看IP地址 ssh命令连接主机: 查看是否已经安装tomcat: yum list installed | grep tomcat 如果已经安装则卸载掉: yum rem 阅读全文
posted @ 2023-07-15 13:21 laremehpe 阅读(124) 评论(0) 推荐(0) 编辑
2023年6月30日
摘要: public static int[] slice(int[] arr, int start, int end) { int len = end - start + 1; int[] ts = new int[len]; int offset = 0; while (offset < len) { 阅读全文
posted @ 2023-06-30 15:41 laremehpe 阅读(336) 评论(0) 推荐(0) 编辑
2023年6月29日
摘要: package leetcode; public class Tree { private Integer[] treeArr; private int treeDep; private int wordLen = 1; private int gap = 3; // gap >= 3 public 阅读全文
posted @ 2023-06-29 17:28 laremehpe 阅读(6) 评论(0) 推荐(0) 编辑
摘要: public class ListNode { public int val; public ListNode next; public ListNode() {} public ListNode(int val) { this.val = val; } public ListNode(int va 阅读全文
posted @ 2023-06-29 17:27 laremehpe 阅读(7) 评论(0) 推荐(0) 编辑
2023年6月25日
摘要: public static int[] insertSort(int[] nums) { for (int i = 1, len = nums.length; i < len; i++) { int current = nums[i]; int j = i - 1; for (; j >= 0 && 阅读全文
posted @ 2023-06-25 10:07 laremehpe 阅读(11) 评论(0) 推荐(0) 编辑
2023年6月21日
摘要: class Solution { public static void main(String[] args) { int[] arr = new int[]{4, 5, 8, 1, 7, 2, 6, 3}; int[] newArr = sortArray(arr); for (int i : n 阅读全文
posted @ 2023-06-21 15:42 laremehpe 阅读(6) 评论(0) 推荐(0) 编辑
2023年6月12日
摘要: package org.zhiyi.config; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Component; import javax.mai 阅读全文
posted @ 2023-06-12 15:13 laremehpe 阅读(4) 评论(0) 推荐(0) 编辑
2023年5月31日
摘要: 首先后端配置跨域: web.xml文件: <!-- 配置跨域 --> <filter> <filter-name>header</filter-name> <filter-class>org.zhiyi.config.Cross</filter-class> </filter> <filter-ma 阅读全文
posted @ 2023-05-31 14:21 laremehpe 阅读(118) 评论(0) 推荐(0) 编辑
2023年5月30日
摘要: /* 使用方法: import { useRef } from 'react'; const anchor = useRef<HTMLDivElement>(null); <div ref={anchor} > test </div> <button onClick={()=> { scrollWi 阅读全文
posted @ 2023-05-30 17:29 laremehpe 阅读(14) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 18 下一页