background picture of the home page

Hanu的博客站点

创建自己的密码库vaultwarden

官方github地址:https://github.com/dani-garcia/vaultwarden 在.env.template文件中有配置参数的信息 参数很多,用了一些较为必要的参数,通过docker compose部署 在需要部署的服务器上通过此命令: openssl rand -bas

thumbnail of the cover of the post

创建自己的docker镜像仓库

首先,你得有一台国外的服务器 在国外外的服务器上搭建仓库程序DockerRegistry docker run -d \ -p 5000:5000 \ --name registry \ -v /root/data/docker_run_data/registry:/var/lib/registry

thumbnail of the cover of the post

安装docker和docker compose

安装前先更新一下: sudo apt update sudo apt upgrade 非大陆服务器安装docker: wget -qO- get.docker.com | bash 大陆服务器安装docker: curl -sSL https://get.daocloud.io/docker |

thumbnail of the cover of the post

office LTSC增强版永久激活

1.下载office 软件部署工具: https://www.microsoft.com/en-us/download/details.aspx?id=49117 下载好直接运行,直接再桌面创建名为office的文件夹,完成后会有一系列文件

thumbnail of the cover of the post

docker compose国内服务器无法拉取镜像

通过可以上外网的服务器先拉取镜像,然后手动导入到国内服务器 以halo为例,我之前遇到的情况,docker compose拉取镜像时只能拉取halo,不能拉取mysql的镜像,官方代码是这样的: version: "3" #docker compose过新的话不需要这行 services: h

thumbnail of the cover of the post

windows激活

进入管理员终端 slmgr /ipk W269N-WFGWX-YVC9B-4J6C9-T83GX (这是win10专业版,可以自己换激活码,自己什么版本的换什么码,百度一搜一大把) slmgr /skms kms.03k.org slmgr /ato

thumbnail of the cover of the post

VGG网络

今天讲一讲VGG块,看下图VGGNet系列模型结构 图 首先来看A列,也就是VGG11(8层卷积,3层全连接),每一格后面都接了个maxpool,这里每一格就是一个VGG块,这里为什么只用5个VGG块呢,就是应为自然语言的高宽是224*224,经过5个VGG块后就是7*7了,奇数,加不了了,为什么这

thumbnail of the cover of the post