摘要: ^(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:47 _迷途 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 1.添加支持库依赖项:在 build.gradle 文件中添加以下行以添加 SwipeRefreshLayout 支持库: implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0' 2.在布局文件中添加 SwipeRe 阅读全文
posted @ 2023-04-06 12:36 _迷途 阅读(292) 评论(0) 推荐(1) 编辑
摘要: 我的PHP版本是7.4,起他版本没有试过 下载composer.zip 解压,把里面的composer文件复制这个文件到容器里的这个路径:/usr/local/bin/ 赋权限chmod 775 composer 如果composer install速度太慢,换源,我用的是阿里云镜像 compose 阅读全文
posted @ 2023-03-31 01:39 _迷途 阅读(108) 评论(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:17 _迷途 阅读(28) 评论(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:51 _迷途 阅读(208) 评论(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 _迷途 阅读(146) 评论(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 _迷途 阅读(850) 评论(0) 推荐(0) 编辑
摘要: php think build --module test 新建一个test应用 阅读全文
posted @ 2023-03-01 13:53 _迷途 阅读(14) 评论(0) 推荐(0) 编辑
摘要: Win10设置共享访问时总是提示输入用户名和密码!如何解决? 以下设置适用于Win7、Win8、Win8.1、Win10在设置共享后,其它电脑访问共享时提示需要密码的解决方法。(达到目的有很多途径,此方法仅供参考) 1、计算机(右键)>管理>本地用户和组>Guest(右键-设置密码-确定)即空密码。 阅读全文
posted @ 2023-03-01 09:52 _迷途 阅读(2394) 评论(0) 推荐(0) 编辑