使用了YOURLS的Hook:redirect_keyword_not_found,当没有匹配的短网址时,通过特殊构造的URL Schema来识别是否调用占位符功能,通过Plugin调用第三方API接口实现显示占位符。
Anker Powerhouse II 400 使用体验
Anker PowerHouse II 400 使用体验
如何在Docker中运行v2ray
如何在Docker中运行v2ray
安装Docker
安装依赖
apt-get install apt-transport-https ca-certificates curl gnupg2 software-properties-common
解决Apache占用443端口
查询哪个程序占用了443端口
netstat -pntl | grep 443
显示为apache2占用
tcp6 0 0 :::443 :::* LISTEN 6836/apache2
使用aiohttp为SenseHat创建api
使用aiohttp可以创建本地API接口用于远程调用SenseHat,再配合frp,可以实现在线调用SenseHat。
将系统python版本切换为3(aiohttp依赖python3)
ls /usr/bin/python* update-alternatives --install /usr/bin/python python /usr/bin/python2.7 1 update-alternatives --install /usr/bin/python python /usr/bin/python3.7 2 update-alternatives --config python