bpmn-流程设计器使用指南
hexo自动构建1.需求描述:构建工具一堆,vercel也能构建,但是我服务器有国内的,我希望自己部署在自己服务器上,自动构建比较难,所以用github action生成静态后,由服务器通过git拉取。如果嫌弃github慢。可以试试的方法,不建议用gitee。
2.整体描述:Github action负责生成静态代码,并执行curl 的post请求指定服务器的接口,服务器接受请求后拉取静态文件。
或者直接Github action发送curl 的post请求指定服务器的接口,然后服务器通过源码自己构建(不建议)
3.Github action 自动构建4.服务器post请求文件4.1 php版本服务器post请求文件(php消耗少,暂定。虽然java一个方法就解决了,但是为了这一个方法不合适)
4.2 java版本5.在线文档编写建议使用: hexoplusplus
好好看看文配置有点多: 官方文档
Centos7 安装docker
卸载旧版本
旧版本的 Docker 称为 docker 或者 docker-engine,使用以下命令卸载旧版本:
12345678910[root@VM-16-13-centos ~]# sudo yum remove docker \ docker-client \ docker-client-latest \ docker-common \ docker-latest \ docker-latest-logrotate \ docker-logrotate \ docker-selinux \ docker-engine-selinux \ docker-engine
使用 yum 安装执行以下命令安装依赖包:
1[root@VM-16- ...
docker挂载文件自动创建目录而非文件问题环境:centos7
安装frps
yun update 无法解决
12345678910docker pull snowdreamtech/frps#start frps mkdir -p /volumes/etc/frp/cd /volumes/etc/frp/touch frps.ini # 不要让docker 挂载的时候创建否则默认创建的是目录而非文件docker: Error response from daemon: failed to create shim: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: rootfs_linux.go:75: mounting "/volumes/etc/frp/frps.ini" to rootfs at "/etc/frp/frps.ini&q ...
一、npm : 无法加载文件 (你的nodejs路径)\npm.ps1,因为在此系统上禁止运行脚本。我遇到的是webstorm 的npm 命令行经常无法运行npm install二、因为在此系统上禁止运行脚本
get-ExecutionPolicy 查看权限
输出:Restricted :受限制的
Restricted 表示状态是禁止的,那就给个权限: Set-ExecutionPolicy -Scope CurrentUser
输入:RemoteSigned
验证一下:get-ExecutionPolicy 显示:RemoteSigned 就可以了
get-ExecutionPolicy显示:RemoteSigned 就可以了
运行 npm run install 可以执行
pixiv代理cloudfare 代理地址:https://i.pximg.net替换为 https://pixiv.runrab.workers.dev
例如 https://i.pximg.net/img-original/img/2020/06/05/00/00/07/82092623_p0.jpg
换成
也可以用 https://i.pixiv.cat/img-original/img/2020/06/05/00/00/07/82092623_p0.jpg
来自:https://pixiv.cat/reverseproxy.html
nginx 代理:
12345678910111213141516171819202122232425proxy_cache_path /path/to/cache levels=1:2 keys_zone=pximg:10m max_size=10g inactive=7d use_temp_path=off;server { listen 443 ssl http2; ssl_certificate /path/to/s ...
Python裁剪图片个人适用版本800x400 裁剪后符合大小
1920x400 裁剪后符合比例
配合imgbot 自动压缩无需处理压缩
cdn by jsdeliver
待实现链接自动注入到文章链接url 分别放在 max.txt mid.txt min.txt
文件夹 max(原图) mid(比例为1920x400) min(大小为800x400)
代码:
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133from PIL import Imageimpo ...
Butterfly 主题美化日记https://akilar.top/posts/f99b208/
Butterfly主题版权美化https://akilar.top/posts/8322f8e6/
基于 Butterfly 的外挂标签引入https://akilar.top/posts/615e2dec/
安装插件类添加 Github 徽标https://akilar.top/posts/e87ad7f8/
原生JS实现页脚计时器https://akilar.top/posts/b941af/
留言板动态弹出信封样式https://akilar.top/posts/e2d3c450/
gitcalendarhttps://akilar.top/posts/1f9c68c9/


