halo创建博客站点
发表于|更新于
|浏览量:
不要忘记人生是要战斗到死。——芥川龙之介
快速运行:
1 | docker run -d --name halo -p 8090:8090 -v ~/.halo2:/root/.halo2 halohub/halo:2.18 |
在线体验
- 环境地址:https://demo.halo.run
- 后台地址:https://demo.halo.run/console
- 用户名:
demo- 密码:
P@ssw0rd123..
这个主要是需要自己的服务器,功能还可以,能快速满足一个博客、个人知识库的需求
github地址:
https://github.com/halo-dev/halo
官方文档:
其还提供了很多主题和插件:
我们这里如果是博客
相关推荐
2021-11-16
simple-query
吾生也有涯,而知也无涯。——《庄子》 给Mybatis-Plus提交的PR又过了 https://gitee.com/baomidou/mybatis-plus/pulls/194 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148package com.baomidou.mybatisplus.extension.toolkit;import com.baomid...
2021-03-14
fastJson的JSONField注解
真正的快乐是内在的,它只有在人类的心灵里才能发现。——布雷默 相信关于FastJson大伙都不陌生 今天聊聊fastjson的这个注解@JSONField 首先它可以放到方法上 例如我们pojo的getter和setter等 其次用的最多的是放到属性上 例如我这里新建一个POJO 12345678910111213@Data@Builder@NoArgsConstructor@AllArgsConstructorprivate static class Student implements Serializable { private static final long serialVersionUID = -3289647584974663707L; private String name; private Integer age; private String job; private GenderEnum gender; private Date birthday; private String json;}...
2021-03-12
gateway简单配置
生命不等于是呼吸,生命是活动。——卢梭 GAV 123456<!-- gateway 网关 --><dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-gateway</artifactId> <version>2.2.0.RELEASE</version></dependency> 记得要注释掉我们之前引入的web 1234<!-- <dependency>--><!-- <groupId>org.springframework.boot</groupId>--><!-- <artifactId>spring-boot-starter-web</artifactId>...
2023-06-19
写一个基于lambda的copyProperties
和任何人都认朋友,结果和任何人都交不成朋友。——佚名 代码仓库: https://gitee.com/dromara/stream-query 相关提交: https://gitee.com/dromara/stream-query/commit/31114dbc1374f78aad17daa4da615766d93194a2 使用方式: 123456789@Testvoid testCopyProperties() { LambdaExecutable source = LambdaHelper.resolve( (Serializable & Function<LambdaExecutable, String>) LambdaExecutable::getName); LambdaExecutable target = BeanHelper.copyProperties(source, null); Assertions.assertNotNull(target); Assertions.assertEqu...
2022-08-23
stream实现递归封装
上帝等待着人类在智慧中获得新的童年。──泰戈尔 分享一个封装的树处理,源码在这:https://gitee.com/VampireAchao/stream-query 使用方式: 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123@Testvoid testToTree() { Consumer<Object> test = o -> { List<Student> studentTree = Steam .of(...
2020-10-15
springboot启动时执行
人生就象弈棋,一步失误,全盘皆输,这是令人悲哀之事;而且人生还不如弈棋,不可能再来一局,也不能悔棋。——弗洛伊德 springboot在启动时需要执行的代码 可以实现CommandLineRunner接口然后重写run方法,在run方法里执行 1234567891011121314151617package com.ruben.init;import org.springframework.boot.CommandLineRunner;import org.springframework.stereotype.Component;/** * @ClassName: SomeMagic * @Date: 2020/10/15 0015 20:15 * @Description: */@Componentpublic class SomeMagic implements CommandLineRunner { @Override public void run(String... args) throws Exception { Sy...

阿超
我的名字叫阿超 年龄25岁 家在北京市 职业是软件开发 每天最晚也会在八点前回家 不抽烟 酒浅尝辄止 晚上十二点上床 保证睡足八个小时 睡前写一篇博客 再做二十分钟俯卧撑暖身 然后再睡觉 基本能熟睡到天亮 像婴儿一样不留下任何疲劳和压力 就这样迎来第二天的早晨 健康检查结果也显示我很正常 我想说明我是一个不论何时都追求内心平稳的人 不拘泥于胜负 不纠结于烦恼 不树立使我夜不能寐的敌人 这就是我在这社会的生活态度
Follow Me公告
This is my Blog