获取migu token的方法
1、在电脑浏览器打开 https://www.miguvideo.com/ 。2、按F12打开开发者工具,选网络标签,然后登录你的账号即可,在网络里面找到最上面www.miguvideo.com栏,在里面cookie找到类似UserInfo=1111234|nlpsC0716A1437D41FA2UY9D;
其中|左右就是id跟token填到php里面:比如
$userId = "1111234";
$userToken = "nlpsC0716A1437D41FA2UY9D";
标签: 咪咕
在 Debian13 上配置 RDP(远程桌面协议)远程访问
sudo apt install xrdp -y
apt install xfce4 xfce4-goodies -y
echo "xfce4-session" > /home/morefun/.xsession
chown morefun:morefun /home/morefun/.xsession
systemctl restart xrdp rm -rf /tmp/.X11-unix/X*
clash命令
https://club.fnnas.com/forum.php?mod=viewthread&tid=11682
/vol2/1000/docker/clash/config.yaml
0 3 * * * ./vol2/1000/docker/clash/clash_refresh.sh
chmod +x /vol2/1000/docker/clash/clash_refresh.sh
cd /vol2/1000/docker/clash/
bash clash_refresh.sh
http://www.gstatic.com/generate_204
标签: clash
php判断语句
$isApp = $_GET['is_app'];if (empty($isApp)) {
http_response_code(404);
exit();
}
标签: php
宝塔面板添加Python项目安装python环境失败
2025-12-29 20:33 morefun
https://github.com/aaPanel/BaoTa/blob/main/class/projectModel/btpyvm.py
/www/server/panel/class/projectModel/btpyvm.py
顶部导入
bs4 from bs4 import BeautifulSoup
替换解析代码
def __parser_xml(self, data_txt: str) -> List[PythonVersion]:
res_list = []
# data_txt = data_txt.replace("<hr>", "")
last_2 = {
"data": (2, 0, 0),
"version": None,
}
# root = cElementTree.fromstring(data_txt)
# for data in root.findall("./body/pre/a"):
# v_str = data.text
# if v_str.startswith("2."):
# ver = v_str.strip("/")
# t_version = parse_version_to_list(ver)
# if t_version > last_2["data"]:
# last_2["data"] = t_version
# last_2["version"] = ver
# continue
# if v_str.startswith("3."):
# p_v = PythonVersion(v_str.strip("/"))
# res_list.append(p_v)
# continue
soup = BeautifulSoup(data_txt, 'html.parser')
links = soup.find_all('a')
for link in links:
v_str = link.text
if v_str.startswith("2."):
ver = v_str.strip("/")
t_version = parse_version_to_list(ver)
if t_version > last_2["data"]:
last_2["data"] = t_version
last_2["version"] = ver
continue
elif v_str.startswith("3."):
p_v = PythonVersion(v_str.strip("/"))
res_list.append(p_v)
continue
if last_2["version"]:
res_list.insert(0, PythonVersion(last_2["version"]))
res_list.sort(key=lambda x: x.ver_t)
need_remove = []
for ver in res_list[::-1]:
if not self.test_last_version_is_stable(ver):
need_remove.append(ver)
else:
break
for ver in need_remove:
res_list.remove(ver)
return res_list
插件
[该文章已设置加密,请点击标题输入密码访问]
【逻辑买卖】实战课程视频资料
[该文章已设置加密,请点击标题输入密码访问]
标签: 逻辑买卖
2380IP查找方法
1、访问https://fofa.info//注册账号
2、搜索关键词
server=="openresty" && country="CN" && port="2380" && title=="403 Forbidden"
32位php跟64位php时间获取函数区别
有时候32位php运行会空白,可能是以下写法问题
64位的$t = intval(microtime(true) * 1000);
32位的$t = round(microtime(true) * 1000);
标签: php