记录下使用Supervisor(进程守护)遇到的一些小问题
前言:因为我的qexo一直以来都是通过screen直接运行的,这样虽然省事,但每次vps重启,以及qexo自己更新,都要进screen会话重新运行,所以就迁移到Supervisor进程守护运行 1、环境变量问题 由于Supervisor的环境变量并不是很全,所以需要手动在配置文件里添加一下 查看当前的环境变量 1echo $PATH 创建文件 1touch /etc/supervisor/conf.d/env.conf 1vim /etc/supervisor/conf.d/env.conf 填写以下内容 1environment=PYTHONPATH="刚才运行echo $PATH输出的内容" 2、git在push代码时提示未配置昵称和邮件地址 如果你不确定你有没有配置,可以输出下面命令查看 1git config --list 查看user.email和user.name,如果不存在,则说明当前用户压根没配置,请运行 git config --global user.email "you@example.com"git...
cmhk融合怪留档
刚开业的灵车,一看这么便宜mjj症就犯了😆...
OpenResty(nginx)子目录反向代理
一般来说,子目录反向代理只需要以下配置就足够了: 123456789101112131415location ^~ /test/ { proxy_pass https://example.com; proxy_set_header Host example.com; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header REMOTE-HOST $remote_addr; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $http_connection; proxy_set_header X-Forwarded-Proto $scheme; proxy_http_version 1.1; add_header X-Cache...
纪念碑谷3免登陆版分享
去除了登录限制 链接:https://alist.hqycloud.top/res/Monument_Valley3.0
微信一号多登版分享(Android)
这个版本可以在备用机上使用平板登录 跟lspatch打入mod相比,这个启动速度更快 链接:https://alist.hqycloud.top/res/Wechat/
bash执行长命令报错临时解决办法
终端运行 1bash -c "hexo clean && hexo g && hexo d && rm -rf /opt/1panel/apps/openresty/openresty/www/sites/blog.butlanys.de/index/* && cp -r /opt/blog/hexo/public/* 报错: 1-bash: bash -c hexo clean && hexo g && hexo d && rm -rf /opt/1panel/apps/openresty/openresty/www/sites/blog.butlanys.de/index/* && cp -r /opt/blog/hexo/public/* /opt/1panel/apps/openresty/openresty/www/sites/blog.butlanys.de/index/: No such file or...
微信4.0测试版上线
此次更新不仅支持了更多的系统以及架构,还更新了深色模式(熬夜党狂喜) 下载地址 微信,是一个生活方式 微信 Linux 测试版
使用bing搜索引擎的用户记得兑换积分
地址:Microsoft Rewards 兑换目录 目前中国大陆地区可兑换的礼品:
aplayer播放器对接alist
如果你不是通过官方的方式引入aplayer,那么建议你先看看这篇文章网页接入aplayer音乐播放器 | butlanys的博客 只需要在aplayer的配置js中改为下面的js 12345678910111213141516171819202122232425262728293031323334353637383940const urlParams = new URLSearchParams(window.location.search);const path = urlParams.get('path') || '/music'; // alist中访客可看到音乐的路径fetch(`https://alist.hqycloud.top/api/fs/list`, { method: 'POST', headers: { 'Content-Type': 'application/json' }, body:...
网页接入aplayer音乐播放器
一、前言此教程适用自行开发网页、博客,以及有自定义aplayer需求的群体 比如说aplayer播放器对接alist | butlanys的博客播放等 (此文章正在写,稍安毋操) 二、准备下载css、js到自己的网站目录下 地址:APlayer/dist at master · DIYgod/APlayer 致使用hexo butterfly主题的站长们,如果已在博客中使用aplayer需要在配置文件中把aplayerInject里enable值改为false 引入这里以hexo butterfly为例 在_config.butterfly.yml文件的inject—head中加入 1<link rel="stylesheet" href="/pluginsSrc/aplayer/dist/APlayer.min.css"> 请将路径改为你自己的路径 在bottom中加入 1<script...