上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 30 下一页

2019年11月12日

sbt 配置个屁的国内源

摘要: ~/.sbt/repositories idea 添加 VM 参数:-Dsbt.override.build.repos=true 命令行执行:sbt -Dsbt.override.build.repos=true clean compile sbt 常用命令 参考 https://www.scal 阅读全文

posted @ 2019-11-12 14:18 Lemo_wd 阅读(4092) 评论(0) 推荐(0) 编辑

2019年10月30日

Java 中的异常

摘要: Java 中的异常分为运行时异常与受检异常。 受检异常(比如 IOException) 优点:需要手动检查try catch或者继续向上抛出,可以说异常是类型安全的,可以保证程序的健硕性。 缺点:此类异常要么改变签名(向上抛出)要么手动捕获。如果某个方法添加了这类异常,可能导致一系列方法受影响。或者 阅读全文

posted @ 2019-10-30 23:59 Lemo_wd 阅读(153) 评论(0) 推荐(0) 编辑

2019年10月9日

js 面向对象之构造器与工厂函数

摘要: 一、字面量模式声明一个对象 let m = {name: "lisi", age:15} m.constructor // ƒ Object() { [native code] } Object.constructor // ƒ Function() { [native code] } ①每个对象都 阅读全文

posted @ 2019-10-09 23:48 Lemo_wd 阅读(322) 评论(0) 推荐(0) 编辑

2019年10月1日

postgresql —— 零碎笔记

摘要: 聚合函数 更新语句 事务 单引号与双引号 233 阅读全文

posted @ 2019-10-01 22:56 Lemo_wd 阅读(207) 评论(0) 推荐(0) 编辑

postgresql —— 查看索引

摘要: 查索引 语句: 查表名 查数据库 命令行 233 阅读全文

posted @ 2019-10-01 19:59 Lemo_wd 阅读(8919) 评论(0) 推荐(1) 编辑

2019年9月28日

archlinux 使用 postgresql

摘要: 一、安装与初始化 1、初始化数据目录 默认安装后已创建 postgres 系统用户 切换到 postgres 用户 $ sudo -iu postgres # Or su - postgres for root 数据目录初始化 [postgres]$ initdb --locale=zh_CN.UT 阅读全文

posted @ 2019-09-28 23:59 Lemo_wd 阅读(1133) 评论(0) 推荐(0) 编辑

2019年9月21日

我的 archlinux 内核参数配置

摘要: title Arch Linux linux /vmlinuz-linux initrd /amd-ucode.img initrd /initramfs-linux.img options root=/dev/nvme0n1p5 rootfstype=ext4 acpi_backlight=vendor ivrs_ioapic[32]=00:14.0 ivrs_ioapic[33]=00:00... 阅读全文

posted @ 2019-09-21 15:12 Lemo_wd 阅读(1030) 评论(0) 推荐(0) 编辑

2019年9月12日

archlinux 蓝牙耳机没有声音

摘要: 前提 蓝牙已开,并且连接成功,但是蓝牙耳机没有声音。 安装 切换设备输出为蓝牙耳机 阅读全文

posted @ 2019-09-12 23:56 Lemo_wd 阅读(1479) 评论(0) 推荐(0) 编辑

2019年9月8日

Java 中抽象类与接口的区别

摘要: TypeScript 中的接口,有点类似抽象类的概念。Java 中抽象类属于包含属性与抽象行为,而接口通常只是抽象行为。抽象类可以实现模板模式。 参考 https://www.cnblogs.com/dolphin0520/p/3811437.html 阅读全文

posted @ 2019-09-08 21:47 Lemo_wd 阅读(170) 评论(0) 推荐(0) 编辑

2019年6月25日

redis 与 序列化

摘要: 概念 序列化:把对象转化为可传输的字节序列过程称为序列化。 反序列化:把字节序列还原为对象的过程称为反序列化。 为什么需要序列化 序列化最终的目的是为了对象可以跨平台存储,和进行网络传输。而我们进行跨平台存储和网络传输的方式就是IO,而我们的IO支持的数据格式就是字节数组。 因为我们单方面的只把对象 阅读全文

posted @ 2019-06-25 10:41 Lemo_wd 阅读(7398) 评论(0) 推荐(1) 编辑

上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 30 下一页

导航