摘要: import asyncio import datetime import time import aiohttp from aiohttp.client_exceptions import ClientConnectorError # 替换链接地址list urls = [ ] async def 阅读全文
posted @ 2023-04-17 16:44 _迷途 阅读(132) 评论(0) 推荐(0) 编辑
摘要: ^(0|[1-9]\d*)(\.\d*[1-9])?$ 阅读全文
posted @ 2023-04-14 14:01 _迷途 阅读(1) 评论(0) 推荐(0) 编辑
摘要: putenv('HTTPS_PROXY=127.0.0.1:10809'); putenv('HTTP_PROXY=127.0.0.1:10809'); 阅读全文
posted @ 2023-04-11 16:46 _迷途 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 1.添加支持库依赖项:在 build.gradle 文件中添加以下行以添加 SwipeRefreshLayout 支持库: implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0' 2.在布局文件中添加 SwipeRe 阅读全文
posted @ 2023-04-06 12:35 _迷途 阅读(322) 评论(0) 推荐(1) 编辑
摘要: 我的PHP版本是7.4,起他版本没有试过 下载composer.zip 解压,把里面的composer文件复制这个文件到容器里的这个路径:/usr/local/bin/ 赋权限chmod 775 composer 如果composer install速度太慢,换源,我用的是阿里云镜像 compose 阅读全文
posted @ 2023-03-31 01:39 _迷途 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 来源:https://stackoverflow.com/questions/1361925/how-to-enable-socket-in-php 执行: docker-php-ext-install 扩展 docker-php-ext-configure: This command allows 阅读全文
posted @ 2023-03-31 01:16 _迷途 阅读(30) 评论(0) 推荐(0) 编辑
摘要: 我发现修改.env文件里的APP_TRACE=false仍然无法关闭页面右下角的调试图标 1.创建一个类app/common/libs/NullTrace.php <?php namespace app\common\libs; use think\App; use think\Response; 阅读全文
posted @ 2023-03-17 10:50 _迷途 阅读(243) 评论(0) 推荐(0) 编辑
摘要: /.idea/ /.vscode/ /vendor/ /runtime/ /public/uploads/ /public/upload/ /.DS_Store/ /thinkphp/ *.log .env .DS_Store .htaccess /public/.htaccess .user.in 阅读全文
posted @ 2023-03-16 17:01 _迷途 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 解决办法①:设置网卡缓存: 输入代码查看当前缓存大小: ethtool -g eth0 然后编辑这个文件: vim /etc/rc.local 将以下内容填写到配置文件中: ethtool -G eth0 tx 2048 ethtool -G eth0 rx 2048 来源:https://blog 阅读全文
posted @ 2023-03-15 20:42 _迷途 阅读(1014) 评论(0) 推荐(0) 编辑
摘要: php think build --module test 新建一个test应用 阅读全文
posted @ 2023-03-01 13:52 _迷途 阅读(17) 评论(0) 推荐(0) 编辑