获取migu token的方法

2026-5-15 20:41 morefun 疑难杂症

1、在电脑浏览器打开 https://www.miguvideo.com/ 。
2、按F12打开开发者工具,选网络标签,然后登录你的账号即可,在网络里面找到最上面www.miguvideo.com栏,在里面cookie找到类似UserInfo=1111234|nlpsC0716A1437D41FA2UY9D;  
其中|左右就是id跟token填到php里面:比如
$userId = "1111234";
    $userToken = "nlpsC0716A1437D41FA2UY9D";

标签: 咪咕

评论(0) 浏览(15)

在 Debian13 上配置 RDP(远程桌面协议)远程访问

2026-3-16 22:20 morefun 疑难杂症

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*


标签: debian 远程

评论(0) 浏览(64)

clash命令

2026-2-13 14:18 morefun 疑难杂症


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

评论(0) 浏览(83)

php判断语句

2026-1-15 20:17 morefun 疑难杂症

$isApp = $_GET['is_app'];
if (empty($isApp)) {
    http_response_code(404);
    exit();
}

标签: php

评论(0) 浏览(77)

宝塔面板添加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


评论(0) 浏览(168)

插件

2025-12-29 0:02 morefun 疑难杂症

[该文章已设置加密,请点击标题输入密码访问]

评论(0) 浏览(3)

【逻辑买卖】实战课程视频资料

2025-12-28 23:46 morefun 股票心得

[该文章已设置加密,请点击标题输入密码访问]

标签: 逻辑买卖

评论(0) 浏览(157)

2380IP查找方法

2025-11-11 12:52 morefun 疑难杂症

1、访问https://fofa.info//注册账号
2、搜索关键词

server=="openresty" && country="CN" && port="2380" && title=="403 Forbidden"

评论(0) 浏览(191)

32位php跟64位php时间获取函数区别

2025-10-4 19:21 morefun 疑难杂症

有时候32位php运行会空白,可能是以下写法问题

64位的$t = intval(microtime(true) * 1000);

32位的$t = round(microtime(true) * 1000);

标签: php

评论(0) 浏览(230)

phpstudy php程序安装失败

2025-9-11 23:52 morefun 疑难杂症

没有找到解决办法,所以就自己手动安装

到网上到php的源码下载,解压到phpstudy_pro\Extension\php目录中,然后重启小皮

windows.php.net - /downloads/releases/archives/此处有所有历史版本

评论(0) 浏览(316)

Powered by MoreFun.CN 粤ICP备2025398508号