萌牛小站

记录生活,分享所知。

Thoughts, stories and ideas.

test

123123 /* code -------------------------- */ code { font-size: 80%; color: inherit; /* padding: 4px 10px;*/ 此行注释 word-break: break-word; } code { font-size: 80%; color: inherit; /* padding: 4px 10px;*/ 此行注释 word-break: break-word; }

News

Coming soon

This is 萌牛NAS, a brand new site by asumi233 that's just getting started. Things will be up and running here shortly, but you can subscribe in the meantime if you'd like to

Linux

qnap 使用 acme.sh ssl 证书

提前申明/share 目录是共享文件夹的目录 记得提前创建好共享文件夹 /share/共享文件夹名 1.首先安装 acme.sh 配置环境变量 安装的位置 export LE_WORKING_DIR=/share/acme-ssl/.acme.sh 安装 记得把邮件地址替换成你自己的 curl https://get.acme.sh | sh -s email=my@example.com 安装完以后创建一个脚本 后面需要用到

Linux

群辉 synology acme ssl证书配置

配置步骤1: sudo -i -----登录root cd ~ wget https://github.com/acmesh-official/acme.sh/archive/master.tar.gz tar xvf master.tar.gz cd acme.sh-master/ ./acme.sh --install --nocron --home /usr/local/share/acme.sh

Linux

Wordpress nginx 静态web服务器 缓存 cache

Wordpress nginx 静态web服务器 缓存 cache 1.首先wordpress安装nginx helper 插件,帮助你在修改文章添加文章 这些情况下 自动刷新对应页面缓存的作用 2.WEB服务器准备: 首先给nginx添加nginx_cache_purge缓存清除模块 模块项目地址:官方一直没更新的模块版本地址为https://github.com/FRiCKLE/ngx_cache_purge 官方偷偷更新的新版本清除模块,在debian 官方模块里 哈哈,如果使用debian官方自带的nginx,那你可以使用apt来安装 libnginx-mod-http-cache-purge

杂项

解决Pandapro 自带css导致Prismatic中的prism.js代码高亮样式问题

以下的问题均是使用prism.js代码高亮 1.第一个问题是 每个注释# 会有一个大空格,解决方法如下: 主题自带style.css里面最后一行加入以下 code .comment { padding-left: 0!important } 2.第二个问题,每个代码高亮里第一行都会有个空格影响观看,解决方法如下: 注释主题下的css目录中的reset.css第217行的padding: 4px 10px; /* code -------------------------- */ code { font-size: 80%; color: inherit; /* padding: 4px 10px;*/ 此行注释 word-break: