摘要: 错误信息: FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory 处理方式: 先安装:npm install -g increase-memor 阅读全文
posted @ 2021-12-07 10:08 Leduo 阅读(83) 评论(0) 推荐(0) 编辑
摘要: 前言: 使用Mac(M1芯片)下的docker 时,下载mysql后,配置忽略表名大小写需要修改配置文件,却始终在容器内部找不到 mysql文件夹。 1、数据库查询:show variables like 'lower%' ,lower_case_table_names=0 说明mysql表是不忽略 阅读全文
posted @ 2021-11-20 22:32 Leduo 阅读(517) 评论(0) 推荐(0) 编辑
摘要: mac配置环境变量 1.下载所需要的软件,例如:idea、mave 2.例:下载maven 路径如图1 所示 3. 下载完成,并得知路径为 "/Library/Java/apache-maven-3.8.3" 4. 打开终端 输入 open ~/.bash_profile (若提示没有该文件则先创建 阅读全文
posted @ 2021-11-13 15:49 Leduo 阅读(892) 评论(0) 推荐(0) 编辑
摘要: /** * 消费型接口 Consumer<T> void accept(T t) * 供给型接口 Supplier<T> T get() * 函数型接口 Function<T,R> R apply(T t) * 断定型接口 predicate<T> boolean test(T t) */ clas 阅读全文
posted @ 2021-11-11 17:04 Leduo 阅读(37) 评论(0) 推荐(0) 编辑
摘要: Java类加载过程主要可以分为三个步骤:加载、连接、初始化。 加载:是Java将字节码数据从不同的数据源读取到JVM中,映射为JVM认可的数据结构。 连接:是把原始的类定义信息平滑地转入JVM运行的过程中。这一阶段可以细分为验证、准备、解析三步。 初始化:是执行类初始化的代码逻辑,包括静态字段赋值的 阅读全文
posted @ 2021-08-18 15:16 Leduo 阅读(2959) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-12-28 17:45 Leduo 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-12-28 09:58 Leduo 阅读(125) 评论(0) 推荐(0) 编辑
摘要: alter table 表明 change column 旧字段名 新字段名 int(3) DEFAULT 0 COMMENT '状态'; -- 修改 增删约束 默认值 注解 。可以修改字段名,不修改的话新旧字段名保存一致即可; alter table 表明 add COLUMN 字段名 varch 阅读全文
posted @ 2020-11-26 08:52 Leduo 阅读(641) 评论(0) 推荐(0) 编辑
摘要: 1.对象let myObject = { a: 2, b: 3} 2.定制遍历规则 Object.defineProperty(myObject, Symbol.iterator, { enumerable: false, writable: false, configurable: true, v 阅读全文
posted @ 2020-08-07 15:59 Leduo 阅读(2053) 评论(0) 推荐(0) 编辑
摘要: //td 可填.content{ word-wrap:break-word; word-break:normal; max-width: 240px;} <td class='content' contentEditable='true'></td> textarea 高度自适应 $('textar 阅读全文
posted @ 2020-06-18 15:50 Leduo 阅读(884) 评论(0) 推荐(0) 编辑